您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Suppresses age confirmations on Steam store pages and community hubs
当前为
// ==UserScript== // @name Steam: Bypass age confirmation prompts // @namespace steam // @version 1.1 // @description Suppresses age confirmations on Steam store pages and community hubs // @author lunboks // @match *://steamcommunity.com/app/* // @match *://store.steampowered.com/agecheck/* // @grant none // @run-at document-start // ==/UserScript== (function () { "use strict"; if (location.hostname === "store.steampowered.com") { // Set up long-lived cookies to bypass age verification var date = new Date(); date.setUTCFullYear(date.getUTCFullYear() + 1); var cookieOptions = "; path=/; max-age=31536000; expires=" + date.toUTCString(); // this bypasses the "mature content - continue/cancel" screen document.cookie = "mature_content=1" + cookieOptions; // this bypasses the "enter your date of birth" screen document.cookie = "birthtime=0" + cookieOptions; // 1970-01-01 // Remove /agecheck from the URL and redirect var url = document.createElement("a"); url.href = location.href; url.pathname = url.pathname.substr(9); location.replace(url.href); } else if (location.hostname === "steamcommunity.com") { // This bypasses the mature content overlay on community hubs. // Since the overlay is put up during page load, we don't have to reload here. var appID = location.pathname.match(/^\/app\/(\d+)/); if (appID !== null) { try { window.sessionStorage.setItem("age_gate_" + appID[1], "true"); } catch (ignore) {} } } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址