Remove the script in boards.4chan.org too.
This commit is contained in:
parent
0f10c06004
commit
2550b0acf9
@ -1777,12 +1777,12 @@
|
|||||||
});
|
});
|
||||||
ready = function() {
|
ready = function() {
|
||||||
if (location.hostname === 'sys.4chan.org') {
|
if (location.hostname === 'sys.4chan.org') {
|
||||||
$.rm(script);
|
qr.message.send({
|
||||||
return qr.message.send({
|
|
||||||
req: 'status',
|
req: 'status',
|
||||||
ready: true
|
ready: true
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
return $.rm(script);
|
||||||
};
|
};
|
||||||
if (d.documentElement) {
|
if (d.documentElement) {
|
||||||
$.add(d.documentElement, script);
|
$.add(d.documentElement, script);
|
||||||
|
|||||||
@ -1357,8 +1357,8 @@ qr =
|
|||||||
script = $.el 'script', textContent: "window.addEventListener('message',#{code},false)"
|
script = $.el 'script', textContent: "window.addEventListener('message',#{code},false)"
|
||||||
ready = ->
|
ready = ->
|
||||||
if location.hostname is 'sys.4chan.org'
|
if location.hostname is 'sys.4chan.org'
|
||||||
$.rm script
|
|
||||||
qr.message.send req: 'status', ready: true
|
qr.message.send req: 'status', ready: true
|
||||||
|
$.rm script
|
||||||
# Chrome can access the documentElement on document-start
|
# Chrome can access the documentElement on document-start
|
||||||
if d.documentElement
|
if d.documentElement
|
||||||
$.add d.documentElement, script
|
$.add d.documentElement, script
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user