Greasy Fork

来自缓存

Greasy Fork is available in English.

Steam 商店、社区点赞点踩以及奖励按钮隐藏

让你不在担忧连坐封号的风险

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         Steam 商店、社区点赞点踩以及奖励按钮隐藏
// @namespace    https://steamcommunity.com/id/GarenMorbid
// @version      1.1
// @description  让你不在担忧连坐封号的风险
// @author       Garen
// @match        https://steamcommunity.com/id/*/home/
// @match        https://steamcommunity.com/profiles/*/home/
// @match        https://store.steampowered.com/app/*/*
// @match        https://steamcommunity.com/id/*/recommended/*
// @match        https://steamcommunity.com/profiles/*/recommended/*
// @grant        none
// ==/UserScript==

(function() {
    var review_rate_bars = document.getElementsByClassName('review_rate_bar');
    for (const review_rate_bar of review_rate_bars) {
        review_rate_bar.style.display = "none";
    }

    var control_blocks = document.getElementsByClassName('control_block');
    for (const control_block of control_blocks) {
        control_block.style.display = "none";
    }

    var blotter_control_containers = document.getElementsByClassName('blotter_control_container');
    for (const blotter_control_container of blotter_control_containers) {
        blotter_control_container.style.display = "none";
    }

    var href = window.location.href;
    if(href.indexOf("home") != -1){
        var int=self.setInterval(function(){
            var blotter_control_containers = document.getElementsByClassName('blotter_control_container');
            for (const blotter_control_container of blotter_control_containers) {
                blotter_control_container.style.display = "none";
            }

            var control_blocks = document.getElementsByClassName('control_block');
            for (const control_block of control_blocks) {
                control_block.style.display = "none";
            }
        },1000);
    } else if (href.indexOf("app") != -1){
         var int2=self.setInterval(function(){
            var control_blocks = document.getElementsByClassName('control_block');
            for (const control_block of control_blocks) {
                control_block.style.display = "none";
            }
        },1000);
    }
})();