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

Watch YouTube videos without js enabled

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

Captain
Captain


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

PostPosted: Fri Jul 04, 2008 8:03 pm    Post subject: Watch YouTube videos without js enabled
Reply with quote

This filter creates a link to watch the video.
The link works if js is enabled/disabled.
Of course, you still need flash.

Code:

[Patterns]
Name = "YouTube add Video Link 2.1"
Active = TRUE
URL = "www.youtube.com/watch\?v\="
Limit = 256
Match = "(^(^(<div [^>]+>&&*id=$AV(watch-this-vid)*)))"
        "$SET(vid=\q)$TST(vid=\?v\=\1)"
Replace = "<a href="http://www.youtube.com/v/\1">Play Video</a>"
          "$SET(vid=)$STOP()"


Tested with firefox 2.0.0.15
z12

Back to top
View users profile Send private message
ProxFox

Proxomitron Host
Proxomitron Host


Joined: Nov 11, 2003
Posts: 901
Location: USA

PostPosted: Sat Jul 05, 2008 3:17 am    Post subject:
Reply with quote

Cool! Many thanks...

Back to top
View users profile Send private message
z12

Captain
Captain


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

PostPosted: Fri Jul 11, 2008 11:38 pm    Post subject:
Reply with quote

ProxFox wrote:

Cool! Many thanks...


Your welcome. Smile

By default, I now block js (except for mine of course).
The web seems much faster now, and js web bugs are a thing of the past.
Also, a lot of ads are js driven, so that's a bonus.
All and all, I like the web better with js disabled.

Thanks to proxo, when I do have js enabled, I'm able to keep it under control for the most part.

z12

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