CastleCops, Internet Crime Fighters
Need help? Click here to register for free! Absolutely zero advertisements on this site!

Donation/Premium
spacer
block bottom
Security Central
spacer
· Home
· PIRT/Fried Phish
· MIRT
· SIRT
· Deutsch
· Wiki
· Newsletter
· O16/ActiveX
· CLSID List
· Contest2007
· Downloads
· Feedback (send)
· Forums
· HijackThis
· Hijacktrend
· LSPs
· My Downloads
· O18
· O20
· O21
· O22
· O23
· O9
· Premium
· Private Messages
· Proxomitron
· Reviews
· Search
· StartupList
· Stories Archive
· Submit News
· WsIRT
· Your Account
· Acceptable Use Policy
block bottom
spacer spacer

Prevent auto-refresh on Drudge Report

 
Post new topic   Reply to topic       All -> FavForums -> Proxomitron [del.icio.us!] [digg it!] [reddit!]
View previous topic :: View next topic  
Author Message
stonedaze

Cadet
Cadet


Joined: Jun 23, 2008
Posts: 3
Location: USA

PostPosted: Mon Jun 23, 2008 11:57 pm    Post subject: Prevent auto-refresh on Drudge Report
Reply with quote

Does anyone know a new filter or how to modify the anti-refresh filter to prevent the drudge report from refreshing? The original anti-refresh filter used to work fine, but for the past year, it hasn't been working anymore and Drudge refreshes itself about every 180 seconds.

I've tried the JD filter and another one posted by Grypen that lets you choose over 10 seconds or under an hour (or modify it), but that's not working either.

Thanks

Back to top
View users profile Send private message
k027

Special Response Team
Guest Forums Host
Guest Forums Host

Joined: Aug 25, 2003
Posts: 8517

1st Responders SRT

PostPosted: Thu Jun 26, 2008 7:26 am    Post subject:
Reply with quote

The "Stop JavaScript Redirects" web page filter appears to prevent the Drudge Report web page from auto-refreshing.

Back to top
View users profile Send private message
stonedaze

Cadet
Cadet


Joined: Jun 23, 2008
Posts: 3
Location: USA

PostPosted: Fri Jun 27, 2008 9:13 pm    Post subject:
Reply with quote

Thanks...that did seem to work, but unfortunately I don't use that filter because I like redirects to work on most of the pages I visit.

I know the code that's used on Drudge is this one but I don't have a clue what I'm doing when it comes to html.

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

I'll keep trying to figure it out.

Back to top
View users profile Send private message
z12

Captain
Captain


Joined: Jul 17, 2002
Posts: 385
Location: USA

PostPosted: Fri Jun 27, 2008 10:22 pm    Post subject:
Reply with quote

You could add a url match to the "Stop JavaScript Redirects" filter.

Or you could use site specific filter such as:

Code:

[Patterns]
Name = "No Drudge Auto Refresh"
Active = TRUE
URL = "www.drudgereport.com"
Bounds = "$NEST(<script,</script >)"
Limit = 256
Match = "*autoRefresh\(*"
Replace = "<?nako removed refresh script ?>$STOP()"


HTH
z12

Back to top
View users profile Send private message
stonedaze

Cadet
Cadet


Joined: Jun 23, 2008
Posts: 3
Location: USA

PostPosted: Fri Jun 27, 2008 11:01 pm    Post subject:
Reply with quote

I'll give that one a try, too. I was just about to post a slight change I made to the Java Redirect filter when I read your post. This one also seems to work.

Name = "Anti-Java-Refresh"
Active = TRUE
Limit = 30
Match = "self.location(=|.)\1"
Replace = ".NoLocation\1"

Back to top
View users profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       All -> FavForums -> Proxomitron All times are GMT
Page 1 of 1

 
Quick Reply:
Username: 

Quote the last message
Attach signature (signatures can be changed in profile)
 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001 phpBB Group
spacer spacer