Work around EasyList /adv/ bug. #217
This commit is contained in:
parent
dfcbc05929
commit
3c296c4c12
@ -55,6 +55,8 @@ $.ajax = do ->
|
|||||||
new Notice 'error', message, 30, -> delete blockedURLs[url]
|
new Notice 'error', message, 30, -> delete blockedURLs[url]
|
||||||
(url, options={}, extra={}) ->
|
(url, options={}, extra={}) ->
|
||||||
{type, whenModified, upCallbacks, form} = extra
|
{type, whenModified, upCallbacks, form} = extra
|
||||||
|
# XXX https://forums.lanik.us/viewtopic.php?f=64&t=24173&p=78310
|
||||||
|
url = url.replace /^\/\/a\.4cdn\.org\/adv\//, '//a.4cdn.org//adv/'
|
||||||
r = new XMLHttpRequest()
|
r = new XMLHttpRequest()
|
||||||
type or= form and 'post' or 'get'
|
type or= form and 'post' or 'get'
|
||||||
try
|
try
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user