[prev in list] [next in list] [prev in thread] [next in thread] 

List:       privoxy-developers
Subject:    [privoxy-devel] [ ijbswa-Feature Requests-896791 ] disable java script action
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2004-06-30 10:48:50
Message-ID: E1Bfce2-0000lz-00 () sc8-sf-web2 ! sourceforge ! net
[Download RAW message or body]

Feature Requests item #896791, was opened at 2004-02-13 14:16
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=361118&aid=896791&group_id=11118

Category: funct: content modification
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: disable java script action

Initial Comment:
same as the Opera browser does for both java and java script

the purpose would be that this could then be enacted on specifc sites from within the \
user action file

my reason - washingpost.com uses a java script to auto-refresh instead of a tag

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2004-06-30 03:48

Message:
Logged In: NO 

I would also like to have a "remove all javascript" filter. E.g. for sites that use \
extensive background animation effects. Another purpose is usability testing of \
websites: do they work without Java Script? I'd rather change these settings in \
Privoxy than in the browser.

----------------------------------------------------------------------

Comment By: Stabilized (mdc34hdn)
Date: 2004-04-24 13:47

Message:
Logged In: YES 
user_id=1028431

heh I didn't realise, how do you enter in code here so that it 
remains code?
The s/[<|<] is supposed to be s/[ ampersand lt;|<]
can I escape it I wonder s/[\<|<]
anyway the ampersand lt; is something new I added because 
the cunning little rats have been using that as a way of 
dodging content filtering.  So if your popups start coming 
back it's probably because they're playing dirty...

----------------------------------------------------------------------

Comment By: Stabilized (mdc34hdn)
Date: 2004-04-24 13:38

Message:
Logged In: YES 
user_id=1028431

Hi There,
If you dissable javascript entirely on washingpost.com the 
site breaks, so you would be best off blocking the offending 
media.washingtonpost.com/wp-
srv/homepagessi/autorefresh.js file on its own.

If you would still like to add javascript filtering, I've been 
working on something.  This is part of a filter series 
called "tags-tagname".  This is work in progress mind you, but 
it seems to do the trick where needed.

FILTER: tags-javascript Removes JS HTML tags and dissabling 
all JS functionality
# http://www.w3.org/TR/REC-html40/interact/scripts.html
s/[<|<]script.*javascript.*<\/script>/<!-- Javascript 
Removed by Privoxy -->/sigU
s/[<|<]noscript.*<\/noscript>/<!-- Javascript Removed by 
Privoxy -->/sigU

If you would like to be ruthless use the following instead 
which will remove all script tags.
s/[<|<]script.*<\/script>/<!-- Script Removed by Privoxy --
> /sigU

To install, copy the lines of code into default.filter and the 
new filter type tags-javascript will appear in the actions 
settings.
Hope this helps.  Comments welcome.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=361118&aid=896791&group_id=11118


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Ijbswa-developers mailing list
Ijbswa-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ijbswa-developers


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic