NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Kauppalehti Paywall Remover // @namespace www.kauppalehti.fi // @description Kauppalehti Paywall Remover // @include *.kauppalehti.fi/* // @grant none // @version 1 // ==/UserScript== var random_ip; var random_shit = ""; var i = 0; while (i<4) { if (i==0) { random_ip = Math.floor((Math.random()*255)+1); } else { random_ip = random_ip + "." + Math.floor((Math.random()*255)+1); } i++; } i=0; while (i<13) { random_shit = random_shit + "" + Math.floor((Math.random()*9)+1); i++; } function setCookie(c_name,value,exdays,domain) { var exdate=new Date(); exdate.setDate(exdate.getDate() + exdays); var c_value=escape(value) + ((exdays==null) ? "" : "; expires="+exdate.toUTCString()); document.cookie=c_name + "=" + c_value+";domain=."+domain+";path=/"; } setCookie("KauppalehtiStat", random_ip + '.' + random_shit, "1", "kauppalehti.fi"); setCookie("KLPRODIDNEW", random_shit, "1", ".kauppalehti.fi"); setCookie("KLKEY", random_shit, "1", ".www.kauppalehti.fi");