Update ad server blacklist.

This commit is contained in:
ccd0 2016-05-19 15:33:57 -07:00
parent b6b083e33c
commit 8cdb690402

View File

@ -21,12 +21,12 @@ Main =
configurable: false configurable: false
get: -> throw new Error() get: -> throw new Error()
set: -> throw new Error() set: -> throw new Error()
for prop in ['atOptions', 'adsterra_key', 'EpmadsConfig', 'epmads_key', 'EpomConfig', 'epom_key', 'exoDocumentProtocol'] for prop in ['atOptions', 'adsterra_key', 'EpmadsConfig', 'epmads_key', 'EpomConfig', 'epom_key', 'exoDocumentProtocol', 'supp_key']
nuke window, prop nuke window, prop
return return
$.on window, 'beforescriptexecute', (e) -> $.on window, 'beforescriptexecute', (e) ->
host = e.target.src.split('/')[2]?.match(/[^.]+\.[^.]+$/)?[0] host = e.target.src.split('/')[2]?.match(/[^.]+\.[^.]+$/)?[0]
e.preventDefault() if host in ['bnhtml.com', 'ecpmrocks.com', 'advertisation.com', 'exoclick.com'] e.preventDefault() if host in ['bnhtml.com', 'ecpmrocks.com', 'advertisation.com', 'exoclick.com', 'n298adserv.com']
# Detect multiple copies of 4chan X # Detect multiple copies of 4chan X
$.on d, '4chanXInitFinished', -> $.on d, '4chanXInitFinished', ->