The Adblock Project Forum Index The Adblock Project
Pull up a seat ...stay a while.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Per site <script> blocking

 
Post new topic   Reply to topic    The Adblock Project Forum Index -> Main
View previous topic :: View next topic  
Author Message
mmmbeer
Guest





PostPosted: Mon Feb 28, 2005    Post subject: Per site <script> blocking Reply with quote

I know I can block .js files that sites load. But I don't know how to stop sites from loading scripts which are written mostly inline.

For example:
<script type="text/javascript">

</script>

It'd be nice if I could turn off javascript using adblock on a PER SITE basis. The web developer toolbar enables the javascript on/off globally, but most of the time I don't mind javascript on.

Any ideas?
Back to top
Drahken



Joined: 30 Oct 2004
Posts: 107

PostPosted: Mon Feb 28, 2005    Post subject: Reply with quote

You should be able to do that with the userprefs.js file in moz/FF through the use of the capability.policy function. This acts much the same way as the "zones" in IE. You can define groups, add specific sites to those groups, then define what those groups can/can't do. I believe this would work for a site-specific javascript disabling. See this page for more info: http://www.mozilla.org/projects/security/components/ConfigPolicy.html
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    The Adblock Project Forum Index -> Main All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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


Powered by phpBB © 2001, 2005 phpBB Group