NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Reload on Back using PageShow // @author Jefferson "jscher2000" Scher // @namespace JeffersonScher // @description Bypass Firefox's tenacious caching and reload on Back // @include http://thepsas.org/forum/viewforum.php* // @version 1 // @updateURL https://openuserjs.org/meta/jscher2000/Reload_on_Back_using_PageShow.meta.js // ==/UserScript== // See Mozilla Support thread: https://support.mozilla.org/questions/967757 function doReload(){ window.location.reload(); // reload this page } function addPageShow(){ window.addEventListener('pageshow', doReload, false); // set up reload trigger } // Add the event listener after a 3 second delay (adding too soon leads to endless reloads) window.setTimeout(addPageShow, 3000);