您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
remove license popup on LJ
// ==UserScript== // @name RemoveLJLicensePopup // @description remove license popup on LJ // @version 0.3 // @author germes // @license MIT // @match http://*.livejournal.com/* // @match https://*.livejournal.com/* // @run-at document-end // @grant none // @namespace https://greasyfork.org/users/115181 // ==/UserScript== function gebi(id) { return document.getElementById(id); } function gebcn(className) { return [].slice.call(document.getElementsByClassName(className)); } function removeNode(nodeElement) { if (nodeElement) { nodeElement.parentNode.removeChild(nodeElement); } } var popup = gebcn('flatblue rutos'), overlay = gebcn('b-fader'); if (popup.length) { removeNode(popup[0]); } if (overlay.length) { removeNode(overlay[0]); }