|
Donation/Premium |
|
 |
|
|
|
|
|
|
|
Survey |
|
 |
|
|
|
|
|
|
|
 |
 |
| View previous topic :: View next topic |
| Author |
Message |
itsr0y
Cadet

 Joined: Mar 17, 2004 Posts: 3 Location: USA
|
Posted: Thu Sep 02, 2004 4:46 pm Post subject: TVGuide Ads and Expert's Exchange |
|
|
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 |
|
 |
Kye-U
Captain

Joined: Oct 18, 2003 Posts: 451
|
Posted: Thu Sep 02, 2004 5:17 pm Post subject: Re: TVGuide Ads and Expert's Exchange |
|
|
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 
|
|
| Back to top |
|
 |
itsr0y
Cadet

 Joined: Mar 17, 2004 Posts: 3 Location: USA
|
Posted: Mon Sep 13, 2004 1:12 am Post subject: |
|
|
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 |
|
 |
TiCpu
Trooper

 Joined: Sep 03, 2004 Posts: 10 Location: Canada
|
Posted: Fri Oct 15, 2004 1:19 am Post subject: Another kind of EE filter |
|
|
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 |
|
 |
|
|
|
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
|