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

$9736.22 of $21422.68
left sidedonated so farneed $11686.46 donated to reach our goalright side, our goal
Help CastleCops serve the community on new servers, Donate Here to reach our goal.

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
Survey
spacer
Was 2007 a good year?

Yes it was a wonderful year
Yes, but there is always room for improvement
Status quo
It was a challenge
Other (leave comment)



Results
Polls

Votes: 934
Comments: 25
block bottom
spacer spacer

TVGuide Ads and Expert's Exchange

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

Cadet
Cadet


Joined: Mar 17, 2004
Posts: 3
Location: USA

PostPosted: Thu Sep 02, 2004 4:46 pm    Post subject: TVGuide Ads and Expert's Exchange
Reply with quote

Last Edited: Sunday, September 12, 2004 @ 9:10 PM EST
Here are two useful filters that I use.

The first modifies tvguide.com's listing page so that the ads are removed and the listing area is larger than before:

Code:
[Patterns]
Name = "tvguide.com Ads Removal 1"
Active = TRUE
URL = "(www.|)tvguide.com/Listings/"
Limit = 4096
Match = "(<tr> (\n|) <td [^>]++ bgcolor=$AV(#DDDDDD) * $INEST(<table*>,</table) *</tr>*<tr*</tr>"
        "|<tr> (\n|) <td[^>]+><object [^>]++ id=$AV(navbar) * </tr>"
        "|<div class=$AV(ad)*</div>"
        "|<tr><td class=$AV(gnp|np)*</noscript></td></tr>)"
Replace = "<!-- Ad or Element Removed -->"

Name = "tvguide.com Ads Removal 2"
Active = TRUE
URL = "(www.|)tvguide.com/Listings/"
Bounds = "<td*</td>"
Limit = 512
Match = "*<iframe [^>]++ src=$AV(*/ads/*)*"
Replace = "<!-- Ad or Element Removed -->"

Name = "tvguide.com Ads Removal 3"
Active = TRUE
URL = "(www.|)tvguide.com/Listings/"
Limit = 256
Match = "width="570""
Replace = "width="750""



The second automatically goes to the expert's exchange print-preview page. This page is mostly text, and it loads like a billion times faster than the normal, huge, clunky page.
Code:
[HTTP headers]
In = FALSE
Out = TRUE
Key = "URL: experts-exchange.com auto print preview (out)"
URL = "(www.|)experts-exchange.com"
Match = "http://(www.|)experts-exchange.com/\2/Q_([0-9]+)\1.html"
Replace = "$JUMP(http://www.experts-exchange.com/\2/viewQuestionPrinterFriendly.jsp?qid=\1)"


Hope you enjoy them.



Last edited by itsr0y on Mon Sep 13, 2004 1:11 am, edited 1 time in total
Back to top
View users profile Send private message
Kye-U

Captain
Captain


Joined: Oct 18, 2003
Posts: 451


PostPosted: Thu Sep 02, 2004 5:17 pm    Post subject: Re: TVGuide Ads and Expert's Exchange
Reply with quote

I love your Experts-Exchange filter.

It's hell trying to clean it up, since they don't use comments, and the tables share classes.

Good thinking Wink

Back to top
View users profile Send private message Visit posters website
itsr0y

Cadet
Cadet


Joined: Mar 17, 2004
Posts: 3
Location: USA

PostPosted: Mon Sep 13, 2004 1:12 am    Post subject:
Reply with quote

I updated the scripts. I think tvguide.com changed their format or something. This new one should be a bit cleaner. If anyone has any improvements or optimizations, just any comment in general, let me know!

Back to top
View users profile Send private message
TiCpu

Trooper
Trooper


Joined: Sep 03, 2004
Posts: 10
Location: Canada

PostPosted: Fri Oct 15, 2004 1:19 am    Post subject: Another kind of EE filter
Reply with quote

That one will redirect to the much easier to filter page, and then filter it.

Headers:

Code:
[HTTP headers]
In = FALSE
Out = TRUE
Key = "URL: EE Redirector (Out)"
Match = "http://(www.|)experts-exchange.com/\1"
Replace = "$JUMP(http://oldlook.experts-exchange.com:8080/\1)"


and Web Page:
Code:
[Patterns]
Name = "Experts-Exchange"
Active = TRUE
URL = "oldlook.experts-exchange.com(|:8080)/"
Bounds = "$NEST(<table*>,</table>)"
Limit = 12000
Match = "*Get Instant Answers*|*We Need Expert Input*|*ASK AN EXPERT NOW*"


it is realy simple but it looks much nicer hehe!

Back to top
View users profile Send private message AIM Address Yahoo Messenger MSN Messenger
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