NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Skip redirection time // @namespace http://tampermonkey.net/ // @version 0.1.2 // @description Automatically clicks on the link to redirect to the merchant page. // @author Marinusi // @match https://click.allkeyshop.com/offer/* // @icon https://www.google.com/s2/favicons?sz=64&domain=allkeyshop.com // @grant none // @license MIT // @run-at document-start // ==/UserScript== var mainSetInterval = window.setInterval; var timers = []; window.setInterval = function(fun, time) { var timer = mainSetInterval(fun, time); timers.push(timer); return timer; } var check = mainSetInterval(function() { var text = document.getElementById("timer"); var url = document.getElementsByTagName("a")[0]; if (url !== undefined) { window.stop(); clearInterval(check); clearInterval(timers[0]); text.textContent = "WAITING FOR MERCHANT"; text.setAttribute("style", "color:red"); window.location.replace(url.href); } }, 200);