NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name WindowsPhoneHub.in Countdown Skip // @namespace https://www.benbristow.co.uk/ // @version 1.0 // @description Skip the Advert Countdown on WindowsPhoneHub.in // @author Ben Bristow // @oujs:author benbristow // @match http://windowsphonehub.in/wp-content/plugins/url-cloak-encrypt/url.php?id=* // ==/UserScript== window.onload = function(){ //Get Current URL var currentURL = document.URL; //Get redirect part of URL var urlPos = currentURL.indexOf('=') + 1; var redirectURL = currentURL.substr(urlPos, currentURL.length - urlPos); //Remove encoding redirectURL = decodeURIComponent(redirectURL); //Redirect! window.location.replace(redirectURL); }