// ==UserScript== // @name Adfly-skipper // @namespace http://tampermonkey.net/ // @version 0.2 // @description Automatically skip ad-fly // @author giuseppe-dandrea // @match http*://q.gs/* // @match http*://j.gs/* // @match http*://adf.ly/* // @grant none // @downloadURL none // ==/UserScript== get_href(); function get_href() { var href = ""; new Promise((resolve) => setTimeout(resolve, 1000)).then(() => { href = $('#skip_bu2tton')[0].href; if (href === "") { href = get_href(); } else { window.open(href, '_self'); } }); }