You need to be logged in to post in the forums. If you do not have an account, please sign up first.
31. May 2010, 02:16:25 (edited)
There are a lot of ways.
Edit: fixed a couple mistakes on my part... and you can find more <a href="http://userjs.org/help/tutorials/uri-detection">here</a>
or// @exclude http://www.site.com/*
orif(window.location.href.match('my.opera.com')){
do stuff...
}
orif(document.domain != 'opera.com'){
do stuff...
}
orif(document.title != 'My Opera'){
do stuff...
}
Among many many other ways... if you want to block a bunch, then put them in an array:if(!window.variable){
do stuff...
}
where "variable" would be a specific variable/tag/etc to that website
Then you can do a for() do() while(), etc loop through them to check if the current page/domain/etc is in your ExcludeSites array.var ExcludeSites=['www.123.com','www.456.com','www.789.com'];
Edit: fixed a couple mistakes on my part... and you can find more <a href="http://userjs.org/help/tutorials/uri-detection">here</a>
MY PC ●MY BUTTONS [TR] ●[EXT] ●QUICK EDIT ●ICON LIST ●[EXT] ●RSS FEED ● FORUM:POSTING RULES ●RULES OF CONDUCT