您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
try to take the world
当前为
// ==UserScript== // @name Telegraaf.nl see all articles // @namespace ladroop is lazy // @version 0.2 // @description try to take the world // @author someguy // @match https://www.telegraaf.nl/* // @grant none // ==/UserScript== (function() { 'use strict'; var observer = new MutationObserver(paytest); var observerConfig = {childList: true}; var observenode=document.querySelector('title'); observer.observe(observenode, observerConfig); setTimeout(paytest, 3000); function paytest(){ if (document.getElementById("TEMPRORARY_METERING_ID")){ eraseCookie("VMP"); var push = window.localStorage.getItem('WebpushOptin.Shown'); localStorage.clear(); window.localStorage.setItem('WebpushOptin.Shown', push); location.reload(true); } } // cookie functions function createCookie(name,value,days,domain){ var expires=""; if (domain){ domain=";domain=."+domain; }else{ domain = ""; } if (days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); expires = "; expires="+date.toGMTString(); } document.cookie = name+"="+value+expires+"; path=/"+domain; } function readCookie(name) { var i=0; var nameEQ = name + "="; var ca = document.cookie.split(';'); for(i=0;i < ca.length;i++) { var c = ca[i]; while (c.charAt(0)==' '){ c = c.substring(1,c.length); } if (c.indexOf(nameEQ) === 0){ return c.substring(nameEQ.length,c.length); } } return null; } function eraseCookie(name,domain){ createCookie(name,"",-1,domain); } })();