This is just how I will redirect:
//==UserScript== // @name Redirect Google // @namespace whatever.whatever... // @description Redirect Google to Yahoo! // @include http://www.google.com // @include http://www.google.com/* // @include http://*.google.com/* //==/UserScript== window.location = "http://www.yahoo.com"
... of course, replacing Google and Yahoo! URLs with something else. You don't need external libraries (jQuery) or anything like that.
I would not recommend this, as this is more of a nuisance than helping the end user, however it depends on what the script function is.
esqew
source share