diff --git a/4chan_x.user.js b/4chan_x.user.js index 8e0141599..36ce515e7 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1698,7 +1698,7 @@ if ((_ref = updater.request) != null) { _ref.abort(); } - url = location.origin + location.pathname + '?' + Date.now(); + url = location.href + '?' + Date.now(); cb = updater.cb.update; return updater.request = $.get(url, cb); } diff --git a/script.coffee b/script.coffee index cfeb48f3e..2495acf0b 100644 --- a/script.coffee +++ b/script.coffee @@ -1380,7 +1380,7 @@ updater = update: -> updater.request?.abort() - url = location.origin + location.pathname + '?' + Date.now() # fool the cache + url = location.href + '?' + Date.now() # fool the cache cb = updater.cb.update updater.request = $.get url, cb