您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
casella di controllo anti spioni
当前为
// ==UserScript== // @name checkbox sfoca chat figuccio // @namespace https://gf.qytechs.cn/users/237458 // @version 0.2 // @description casella di controllo anti spioni // @author figuccio // @match https://*.facebook.com/* // @grant GM_addStyle // @grant GM_registerMenuCommand // @icon https://facebook.com/favicon.ico // @noframes // @license MIT // ==/UserScript== function FunctionCheckbox() { document.getElementById("blurCheckbox").click(); } GM_registerMenuCommand("sfoca/on-off",FunctionCheckbox); //////////////////////////////////////////////////////////////// var checkbox = document.createElement("input"); checkbox.type = 'checkbox'; checkbox.setAttribute('style',"position:fixed;top:80px;right:200px;"); checkbox.id = "blurCheckbox"; checkbox.title="Sfoca chat"; checkbox.style.cursor = 'pointer'; document.body.appendChild(checkbox); ///////////////////////////////////////////////////////////////////////////////// var span = document.createElement('span'); // Setup the label var label = document.createElement('label'); label.setAttribute('style',"position:fixed;top:80px;right:130px;color:red;background:aquamarine;"); label.innerHTML = "Sfoca Chat"; label.htmlFor = "blurCheckbox"; label.style.cursor = 'pointer'; label.title="Sfoca chat"; span.appendChild(label); document.body.appendChild(span); /////////////////////////////////////////////////////////////// const contactList = document.querySelector(".xwib8y2 ul"); function toggleBlur() { if (checkbox.checked) { contactList.style.filter = "blur(7px)"; } else { contactList.style.filter = ""; } } //Aggiungi il listener di eventi alla casella di controllo checkbox.addEventListener("change", toggleBlur);
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址