![]() |
User Scripts NOT WORKING on GOOGLE domains?
Hello,
As many of you might know, in modern browsers there is support for "User Scripts". In Opera for example Opera --> Settings --> Preferences --> Advanced --> Content --> JavaScript Options In other words, you can write your own javascripts, save it locally and add it to sites you open from the web. What I want is to bypass those click-tracking redirects in the Google search results and found literally tons of scripts on userscripts.org that claim to serve that purpose. However, none of these actually work in Opera browser. After experimenting for about an hour I found that even the most simple scripts don't work on google.com domains! For example, this simple script brings up the alert box on yahoo.com, facebook.com, digg.com... etc but does not work on google.com PHP Code:
Anybody has an idea about what's going on here or can anybody reproduce and confirm this? |
What do you have in the include/exclude commands at the top of the userscript?
|
Nothing, the file contains only the code shown above.Once again, it brings up the alert box EVERYWHERE except on google.com!
|
Ok got it!
In Opera --> Settings --> Preferences --> Advanced --> Content --> Manage Site Preferences I had google.com and few other domains listed though I DID NOT add them there. Anyway, I removed them all and now I't working! Thanks! |
Quote:
One in particular should always be there: If you want the script to run on all sites you should have: Code:
// @include *The full block of statements that should appear at the top of all userscripts is: Code:
// ==UserScript== |
| All times are GMT +1. The time now is 08:49 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.