// ==UserScript== // @name 跳过年龄验证 // @namespace http://tampermonkey.net/ // @version 1.0 // @description 自动标记已成年,绕过限制 // @author You // @match *://shturl.cc/* // @grant none // @run-at document-start // ==/UserScript== (function() { document.cookie = "age_confirmed=1; path=/; SameSite=Lax"; document.cookie = "age_verified=true; path=/; SameSite=Lax"; localStorage.setItem('age_verified', 'true'); sessionStorage.setItem('age_verified', 'true'); window.addEventListener('load', () => { const btn = document.querySelector('button[class*="verify"], button[onclick*="confirm"]'); if (btn) btn.click(); }); })();