您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Get free premium on onlinetools.com and removes the google login popup
// ==UserScript== // @name Onlinetools Free Premium // @namespace http://tampermonkey.net/ // @version 1.1 // @description Get free premium on onlinetools.com and removes the google login popup // @author Your Name // @match *://online*tools.com/* // @grant none // @license MIT // ==/UserScript== (function($) { document.getElementById("siteinfo").dataset.is_premium = "True" window.addEventListener('beforescriptexecute', function(e) { const target = e.target; if (target && target.src && target.src.includes('accounts.google.com/gsi/client')) { e.preventDefault(); e.stopPropagation(); } }, true); const containers = ['g_id_onload', 'g_id_intermediate_iframe', 'credential_picker_container']; containers.forEach(id => { const el = document.getElementById(id); if (el) { el.setAttribute('data-auto_prompt', 'false'); el.remove(); } }); const iframes = document.querySelectorAll('iframe[src*="accounts.google.com/gsi/iframe"]'); iframes.forEach(iframe => { iframe.style.display = 'none'; iframe.remove(); }); });