Fool the cache for loloprah, fix thread updater, close #30
This commit is contained in:
parent
0be30318c0
commit
94ad6a590e
@ -2080,7 +2080,7 @@
|
|||||||
var cb, url, _ref;
|
var cb, url, _ref;
|
||||||
updater.timer.textContent = 0;
|
updater.timer.textContent = 0;
|
||||||
if ((_ref = updater.request) != null) _ref.abort();
|
if ((_ref = updater.request) != null) _ref.abort();
|
||||||
url = location.pathname;
|
url = engine !== 'presto' ? location.pathname : location.pathname + '?' + Date.now();
|
||||||
cb = updater.cb.update;
|
cb = updater.cb.update;
|
||||||
return updater.request = $.ajax(url, cb);
|
return updater.request = $.ajax(url, cb);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,6 +4,7 @@ master
|
|||||||
quotes are now inserted at the caret position in the QR
|
quotes are now inserted at the caret position in the QR
|
||||||
quotes also replace the text selection in the QR
|
quotes also replace the text selection in the QR
|
||||||
open QR focused when using the `Open QR without post number inserted` keybind
|
open QR focused when using the `Open QR without post number inserted` keybind
|
||||||
|
fix thread updater for Opera
|
||||||
- aeosynth
|
- aeosynth
|
||||||
update the captcha caching expiration date to 30mins
|
update the captcha caching expiration date to 30mins
|
||||||
|
|
||||||
|
|||||||
@ -1664,7 +1664,8 @@ updater =
|
|||||||
update: ->
|
update: ->
|
||||||
updater.timer.textContent = 0
|
updater.timer.textContent = 0
|
||||||
updater.request?.abort()
|
updater.request?.abort()
|
||||||
url = location.pathname
|
#Opera needs to fool its cache
|
||||||
|
url = if engine isnt 'presto' then location.pathname else location.pathname + '?' + Date.now()
|
||||||
cb = updater.cb.update
|
cb = updater.cb.update
|
||||||
updater.request = $.ajax url, cb
|
updater.request = $.ajax url, cb
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user