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