I created a usercript to redirect to one of these several sites:
// ==UserScript== // @id fvhfy464 // @name [udit]redirector to yahoo or google // @version 1.0 // @namespace // @author // @description // @include http://yahoo.com // @include http://google.com // @include http://bing.com // @run-at document-end // ==/UserScript== setTimeout(function() { window.location.href("http://yahoo.com","http://google.com","http://bing.com") }, 4000);
But that will not work.
(From the comments :)
I want to open several sites on one tab, one after another, randomly with a time interval of 4 seconds. This is similar to screensaver sites.
It can go on forever. To stop, I just need to close the tab. And I will install only those sites in @include that I want this script to work. It's like a screensaver of photos, etc.
javascript redirect userscripts
adi
source share