fix qr image posting...
This commit is contained in:
parent
7c77ba3337
commit
997211a1e1
@ -2,7 +2,7 @@
|
|||||||
// @name 4chan x
|
// @name 4chan x
|
||||||
// @namespace aeosynth
|
// @namespace aeosynth
|
||||||
// @description Adds various features.
|
// @description Adds various features.
|
||||||
// @version 1.27.8
|
// @version 1.27.8-1
|
||||||
// @copyright 2009-2011 James Campos <james.r.campos@gmail.com>
|
// @copyright 2009-2011 James Campos <james.r.campos@gmail.com>
|
||||||
// @license MIT; http://en.wikipedia.org/wiki/Mit_license
|
// @license MIT; http://en.wikipedia.org/wiki/Mit_license
|
||||||
// @include http://boards.4chan.org/*
|
// @include http://boards.4chan.org/*
|
||||||
@ -973,7 +973,7 @@
|
|||||||
},
|
},
|
||||||
messageIframe: function(e) {
|
messageIframe: function(e) {
|
||||||
var message, _ref;
|
var message, _ref;
|
||||||
message = (_ref = $('table font b')) != null ? _ref.firstChild.textContent : void 0;
|
message = ((_ref = $('table font b')) != null ? _ref.firstChild.textContent : void 0) || '';
|
||||||
e.source.postMessage(message, '*');
|
e.source.postMessage(message, '*');
|
||||||
return window.location = 'about:blank';
|
return window.location = 'about:blank';
|
||||||
},
|
},
|
||||||
|
|||||||
2
header
2
header
@ -2,7 +2,7 @@
|
|||||||
// @name 4chan x
|
// @name 4chan x
|
||||||
// @namespace aeosynth
|
// @namespace aeosynth
|
||||||
// @description Adds various features.
|
// @description Adds various features.
|
||||||
// @version 1.27.8
|
// @version 1.27.8-1
|
||||||
// @copyright 2009-2011 James Campos <james.r.campos@gmail.com>
|
// @copyright 2009-2011 James Campos <james.r.campos@gmail.com>
|
||||||
// @license MIT; http://en.wikipedia.org/wiki/Mit_license
|
// @license MIT; http://en.wikipedia.org/wiki/Mit_license
|
||||||
// @include http://boards.4chan.org/*
|
// @include http://boards.4chan.org/*
|
||||||
|
|||||||
@ -716,7 +716,7 @@ qr =
|
|||||||
$.remove dialog
|
$.remove dialog
|
||||||
|
|
||||||
messageIframe: (e) ->
|
messageIframe: (e) ->
|
||||||
message = $('table font b')?.firstChild.textContent
|
message = $('table font b')?.firstChild.textContent or ''
|
||||||
e.source.postMessage message, '*'
|
e.source.postMessage message, '*'
|
||||||
window.location = 'about:blank'
|
window.location = 'about:blank'
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user