NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Stepstone.de: Block popup and slider // @namespace localhost // @description Overwrites window.open method used for the popup so no popup will be opened. You can disable the window.open overwrite function and the popup will be closed during load thanks to the @run-at document-start property. // @include *.stepstone.de/* // @run-at document-end // @author lukie80 // @copyright Creative Commons Attribution-ShareAlike 3.0 (CC-BY-SA 3.0) // @license http://creativecommons.org/licenses/by-sa/3.0/ // @version 1.0 // @lastupdated 2016.06.15 // // ==/UserScript== //------------------------------------------------------------------------------------------------------------------- // Overwrite window.open function on base page window.open = function(){ return; }; // Close this window if it is a popup - not necessary, keep here for educational purposes or backup var titles = new Array( "Aktuelle Jobs zu Ihrer Suche", //you can put other titles of the popup window in this array "Jobs per E−Mail", "Jobs per E−Mail" //this "minus" is not the minus character ); for (var i = 0; i < titles.length; i++){ if (document.title == titles[i]){ window.close(); } } //delete slider document.getElementById("jaSlider").remove(); //-------------------------------------------------------------------------------------------------------------------