Merge branch 'bstable'
This commit is contained in:
commit
53784a49ec
@ -63,6 +63,9 @@
|
||||
|
||||
### v1.13.15
|
||||
|
||||
**v1.13.15.12** *(2018-05-05)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.15.12/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.15.12/builds/4chan-X-noupdate.crx)]
|
||||
- Update workaround for ad breaking 4chan, take two.
|
||||
|
||||
**v1.13.15.11** *(2018-05-05)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.15.11/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.13.15.11/builds/4chan-X-noupdate.crx)]
|
||||
- Fix issue with HTTPS Redirect. #1876
|
||||
- Update workaround for ad breaking 4chan.
|
||||
|
||||
@ -46,8 +46,16 @@ Main =
|
||||
|
||||
# XXX Remove document-breaking ad
|
||||
if location.hostname is 'boards.4chan.org'
|
||||
$.onExists doc, '#delform > .adg-rects', $.rm
|
||||
$.onExists doc, '#adg-ol', $.rm
|
||||
$.global ->
|
||||
fromCharCode0 = String.fromCharCode
|
||||
String.fromCharCode = ->
|
||||
if document.body
|
||||
String.fromCharCode = fromCharCode0
|
||||
else if document.currentScript and not document.currentScript.src
|
||||
throw Error()
|
||||
fromCharCode0.apply @, arguments
|
||||
$.asap docSet, ->
|
||||
$.onExists doc, 'iframe[srcdoc]', $.rm
|
||||
|
||||
flatten null, Config
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user