Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

I would like to stop the annoying reload Drudgereport.com does. How?

  • 11 trả lời
  • 1 gặp vấn đề này
  • 825 lượt xem
  • Trả lời mới nhất được viết bởi Eastcreek

more options

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

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

Giải pháp được chọn

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);
Đọc câu trả lời này trong ngữ cảnh 👍 1

Tất cả các câu trả lời (11)

more options

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.

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}

more options

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?

more options

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:

more options
more options

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);
more options

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?

more options

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.

Được chỉnh sửa bởi cor-el vào

more options

You may only have to change http:// to https:// is this line or add this line to support both protocols.

// @include     https://*drudgereport.com*/*
more options

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."

Được chỉnh sửa bởi Eastcreek vào

more options

Giải pháp được chọn

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);
more options

That one worked! Thank You!