Search Support

How do I prevent a website like Drudgereport from automatically reloading?

  • 5 réponses
  • 31 ont ce problème
  • 17318 vues
  • Dernière réponse par reefer

more options

Sometimes my wifi connection is choppy (darn that microwave popcorn!) and I hate it when I'm in the middle of reading the links in Drudge and it reloads....sometimes shifting the layout a bit or just hanging while it waits for some adserver to respond.

Is there any way to stop this from happening? Tried Freezing the tab. And for some reason, firefox is not preventing this page from automatically reloading like it does others.

Any ideas?

Solution choisie

That site relies upon JavaScript to reload the page. There are a couple of add-ons that can be used to block JavaScipt.

The first is NoScript, this extension will by default block JavaScript on all sites, you then specify what sites that you want to run JavaScript. https://addons.mozilla.org/firefox/addon/noscript

The second is YesScript, this one takes the opposite approach, it allows JavaScript to run on any site, you then specify what sites you want to block JavaScript on. https://addons.mozilla.org/firefox/addon/yesscript

Lire cette réponse dans son contexte 👍 1

All Replies (5)

more options

Solution choisie

That site relies upon JavaScript to reload the page. There are a couple of add-ons that can be used to block JavaScipt.

The first is NoScript, this extension will by default block JavaScript on all sites, you then specify what sites that you want to run JavaScript. https://addons.mozilla.org/firefox/addon/noscript

The second is YesScript, this one takes the opposite approach, it allows JavaScript to run on any site, you then specify what sites you want to block JavaScript on. https://addons.mozilla.org/firefox/addon/yesscript

more options

Thanks TonyE. Installed Yescript and added drudgereport to the list...crossing my fingers, though I really think it'll work. I'll check in a few hours to see if it worked.

    • edit**

Yep...it worked. Loaded Drudge in IE and it was different. Thanks! I used NoScript years ago, and never updated during the many Firefox upgrades. Glad you pointed out YesScript...that seems to suit my needs better.

Thanks again.

Modifié le par dydx

more options

You can also use a simple JavaScript bookmarklet to stop the refresh timer. You need to repeat that with every reload unless you change the code to a Greasemonkey script that runs on that site.

javascript:clearInterval(timer);void(autoRefresh=null);

<!-- 
var timer = setInterval("autoRefresh()", 1000 * 60 * 3);
function autoRefresh(){self.location.reload(true);}
//-->

http://userscripts.org/scripts/show/13594 - Prevent automatic reload for drudgereport.com (doesn't seem to work properly)

more options

This seems like it has some good uses too. Thanks for this tip.

more options

It seems like too often people have these great answers...but DON'T follow through. I found the way to completely stop DRUDGEREPORT from refreshing at all is to install the YesScript...then go to OPTIONS and add: "www.drudgereport.com" (without the quotation marks of course) and then X out. NOW...go back to your desktop. Completely out of Drudge now. NOW..start drudgereport up. That should do it. Wait a couple minutes and see.