Conversaciones » Peticiones de scripts
multi tab
dump .... nobody help!!?
hello hello?
You have to provide the URL you want the script to work on.
You would probably want something like this:document.getElementById("btn").addEventListener("click", function(event) {
var link = document.createElement("a");
link.href = window.location.href;
link.target = "_blank";
link.click();
link.click();
link.click();
});
Here Is html code
http://pastebin.com/QHp1UAy2
its not working
// ==UserScript==
// @name MULTI TAB
// @namespace Cradit By Tom Burris2
// @description Multi Tab Open
// @include *
// @version 1
// @grant none
// ==/UserScript==
document.getElementById("btn").addEventListener("click", function(event) {
var link = document.createElement("a");
link.href = window.location.href;
link.target = "_blank";
link.click();
link.click();
link.click();
});
multi tab
this is html code
http://pastebin.com/QHp1UAy2
i want script when click Submit (button it will open 2 or 3 tab submit