diff --git a/4chan_x.user.js b/4chan_x.user.js index 3dcf8f3dd..dcd2b80ee 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1685,7 +1685,7 @@ if ((_ref = updater.request) != null) { _ref.abort(); } - url = location.href + '?' + Date.now(); + url = location.origin + location.pathname + '?' + Date.now(); cb = updater.cb.update; return updater.request = $.get(url, cb); } diff --git a/script.coffee b/script.coffee index 1667905b1..fe28a2c55 100644 --- a/script.coffee +++ b/script.coffee @@ -1366,7 +1366,7 @@ updater = update: -> updater.request?.abort() - url = location.href + '?' + Date.now() # fool the cache + url = location.origin + location.pathname + '?' + Date.now() # fool the cache cb = updater.cb.update updater.request = $.get url, cb