
I would like to stop the annoying reload Drudgereport.com does. How?
Everyone going to the above mentioned website experiences the same annoying reloads. Please add a method to Firefox like IE has that can restrict sites reloading, assuming this doesn't exist already. Thanks
Chosen solution
I tried this script with Greasemonkey and I haven't seen a refresh. I don't know if it also works with Tampermonkey and Violentmonkey.
// ==UserScript== // @name Drudge Report - No Reload // @namespace Drudge Report // @description Disable automatic reloads on Drudge Report. // @include http://drudgereport.com/* // @include https://drudgereport.com/* // @version 1 // @grant none // ==/UserScript== clearInterval(unsafeWindow.timer);Read this answer in context 👍 1
All Replies (11)
I had no problem with Drudgereport.com
Many site issues can be caused by corrupt cookies or cache.
Warning ! ! This will log you out of sites you're logged in to. You may also lose any settings for that website.
- How to clear the Firefox cache {web link}
If there is still a problem, Start Firefox in Safe Mode {web link} by holding down the <Shift> (Mac=Options) key, and then starting Firefox.
A small dialog should appear. Click Start In Safe Mode (not Refresh). Did this help?
While you are in safe mode;
Try disabling graphics hardware acceleration in Firefox. Since this feature was added to Firefox it has gradually improved but there are still a few glitches.
How to disable Hardware Acceleration {web link}
Thanks Fred,
I have tried both suggestions above but the same (.....for years now!) "problem" or annoying website trait still exists. I don't think it is a matter with my use of Firefox. Like I said above, I am fairly certain everyone reading the news headlines there get an automatic reload after about 4 minutes. Any other suggestions or could the developers there add a "restricted site" way to handle the annoyance like I have seen IE has?
You can use a bookmarklet to disable the reload on drudgereport.com or possibly convert the script to an extension like Greasemonkey or Tampermonkey.
javascript:clearInterval(timer);void(autoRefresh=null);
See:
- /questions/1058404 Option to 'Warn me when websites...try to reload' doesn't work?
Running this greasemonkey script at drudgereport.com now but the page still reloads. What is wrong?
// ==UserScript==
// @name Drudge Report - No Reload // @namespace Drudge Report // @description Disable automatic reloads on Drudge Report. // @include http://*drudgereport.com*/* // @version 1 // @grant none // ==/UserScript== var script = document.createElement("script"); script.innerHTML = '(function(){clearInterval(timer); autoRefresh = function(){};})();'; var body = document.getElementsByTagName("body")[0]; body.appendChild(script);
Every time I type "about config" in the search bar Startpage does an internet search. I don't get the warning message. What am I doing wrong?
The accessibility pref accessibility.blockautorefresh won't work for Drudge report as this only works for a location change via a meta tag and is meant for users with certain disabilities. This pref only works in this case and not in other cases like a reload via JavaScript that Drudge uses. This is one of the reason that this setting was removed from Options/Preferences.
Drudge report still uses the same code for auto refresh as you can see if you inspect the page source.
var timer = setInterval("autoRefresh()", 1000 * 40 * 3); function autoRefresh(){self.location.reload(true);}
Did you try the bookmarklet ?
- javascript:clearInterval(timer);void(autoRefresh=null);
You can create a new bookmark and paste the JavaScript code in its Location field where you normally place the URL.
You need to invoke the bookmarklet each time you load or refresh a Drudge report page unlike the Greasemonkey script that would run automatically.
Modified
You may only have to change http:// to https:// is this line or add this line to support both protocols.
// @include https://*drudgereport.com*/*
Changed about:config to true and added the second line to my copied script (..and saved it) and it still reloads. Frustrating. I'm starting to wonder if Matt Drudge has done something extra and hidden to make sure no reload blocks can occur to ensure profits stay in place? :)
I don't understand this: "Did you try the bookmarklet ?
You can create a new bookmark and paste the JavaScript code in its Location field where you normally place the URL.
You need to invoke the bookmarklet each time you load or refresh a Drudge report page unlike the Greasemonkey script that would run automatically."
Modified
Chosen Solution
I tried this script with Greasemonkey and I haven't seen a refresh. I don't know if it also works with Tampermonkey and Violentmonkey.
// ==UserScript== // @name Drudge Report - No Reload // @namespace Drudge Report // @description Disable automatic reloads on Drudge Report. // @include http://drudgereport.com/* // @include https://drudgereport.com/* // @version 1 // @grant none // ==/UserScript== clearInterval(unsafeWindow.timer);
That one worked! Thank You!