Greasy Fork

Greasy Fork is available in English.

Steam小红车解除锁区

Steam解除锁区

当前为 2023-08-30 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         Steam小红车解除锁区
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Steam解除锁区
// @description  try to take over the world!
// @author       初唐四杰
// @match        https://store.steampowered.com/account/preferences/
// @icon         https://www.google.com/s2/favicons?sz=64&domain=steampowered.com
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';

    // 获取所有具有特定class名称的元素
    var g1 = document.getElementsByClassName("preference_row account_setting_not_customer_facing ");
    /*g1[0].innerHTML = `<div class="store_pref_desc">
		<label class="account_manage_checkbox">
			被屏蔽内容1&nbsp;
		</label>
		<span class="account_setting_parenthetical">
			被屏蔽内容1
			<br>
			<a href="javascript:ViewTitlesWithDescriptors( 4 );">查看示例产品 </a>
		</span>
	</div>
	<div class="store_pref_col">
		<input type="checkbox" id="descriptor_4_store" class="content_descriptor_checkbox store" value="4">
	</div>
	<div class="community_pref_col">
		<input type="checkbox" id="descriptor_4_community" class="content_descriptor_checkbox community" value="4">
	</div>`;*/
    g1[0].className = "preference_row ";
    /*g1[0].innerHTML = `<div class="store_pref_desc">
		<label class="account_manage_checkbox">
			被屏蔽内容2&nbsp;
		</label>
		<span class="account_setting_parenthetical">
			被屏蔽内容2
			<br>
			<a href="javascript:ViewTitlesWithDescriptors( 3 );">查看示例产品 </a>
		</span>
	</div>
	<div class="store_pref_col">
		<input type="checkbox" id="descriptor_3_store" class="content_descriptor_checkbox store" value="3">
	</div>
	<div class="community_pref_col">
		<input type="checkbox" id="descriptor_3_community" class="content_descriptor_checkbox community" value="3">
	</div>`;*/
    g1[0].className = "preference_row ";


 
})();