Sweat Baby公司检测!

检测Sweat Baby制作的游戏并在Steam页面上标识!

// ==UserScript==
// @name         Sweat Baby公司检测!
// @name:en      Sweat Baby Detect for Steam!
// @namespace    http://tampermonkey.net/
// @version      2024-03-26
// @description  检测Sweat Baby制作的游戏并在Steam页面上标识!
// @description:en Sweat Baby Detect!
// @author       Cliencer Goge
// @match        https://store.steampowered.com/app/*
// @icon         data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAC4ALgDAREAAhEBAxEB/8QAHAABAAIDAQEBAAAAAAAAAAAAAAIFAQMEBgcI/8QAOBAAAgEDAQUEBwgCAwEAAAAAAAECAwQREgUhMUFRBhNhcRQiUlOBkqEjMkKRscHR4QdiFTNyY//EABwBAQACAwEBAQAAAAAAAAAAAAAFBgEDBAcCCP/EAD0RAAIBAwIDAwoDBgcBAQAAAAABAgMEERIhBTFhE0FRBhQicYGRobHB0SNS8AcVMkJT4SQzVGJykrIX8f/aAAwDAQACEQMRAD8A/B5NkUAAAAAAAAAa5XFKEnGVWnGS4qUkmfLlFbNn2qc2spMx6XQ9/S+dGNcfFGeyqflfuHpdD39L50NcfFDsqn5X7h6XQ9/S+dDXHxQ7Kp+V+4el0Pf0vnQ1x8UOyqflfuHpdD39L50NcfFDsqn5X7h6XQ9/S+dDXHxQ7Kp+V+4el2/v6Xzoa4+KHZVPyv3EoVqdT7lSE/8AzJMypJ8mfLhKPNEz6PkAAAAAAAAAAAAAAAAAAAHiO0tHRtiu8feUZfT+iCuliqy2WD1W6KvR4HISGkaPADSNHgMjSY0eAyNI0eAMaRoQyNI0IDSWnZejq2zRfKKlL6M67VZq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AAAAAAyAMgDIAyAMgDIAyAMgDIBa9nFm4rY9hfqVHyi/yafrfyPbf2Vpu+usfkX/AKLmrYUK7zVoUqj6zgmyjqpKPKR+halnRqvNSmm+qT+hOnQjRgoQgoQSwoxWEj5cm3ls2woxpxUIRwl3JbGmGzLWm8xtaMX1VNZ/Q+3Vm+cn7zmjYW0HmNKKf/FfYqe0KxXo/wDj9y7+Tn+TU9a+R+ff2ppq+tf+D/8ARVZLceJjIAyAMgDIAyAMgGMoDBnIBjC6gzuMLqBuMLqBuMLqBuMLqBuMLqBuMLqBuMLqBuMLqBuSp1JUW3CcoN7sxeDVUpU6qxUimuqOy2vbqyk52tSUG9m4tr5Gz0uv7+p87NHmVt/Sj7kSP7+4v/q6n/eX3Hpdf39T52PMrb+lH3Ifv7i/+rqf95fcemV/f1PnY8ytv6Ufch+/uL/6up/3l9zXUqSqvM5ym+GZPJvp0qdJYpxSXRYI25vbq8kp3NSU2tk5Nv5kcLqbTk3GF1A3GF1A3GF1A3GF1A3GF1A3GF1A3GF1A3GF1A3P/9k=
// @license GPLv3
// ==/UserScript==

(function() {
    'use strict';
    // 检测网页语言
    var lang = document.documentElement.lang || navigator.language;
    const locolization_en={SBID:"Sweat Baby Inc detect!"}
    const locolization_zhcn={SBID:"检测到该游戏有Sweat Baby公司参与制作!"}
    const locolization_zhtw={SBID:"檢測到該遊戲有Sweat Baby公司參與制作!"}
    // 决定显示语言
    var locolization;
    switch(lang) {
        case 'zh-cn':
            locolization = locolization_zhcn; // 简体中文
            break;
        case 'zh-tw':
            locolization = locolization_zhtw; // 繁体中文
            break;
        case 'en':
            locolization = locolization_en; // 英语
            break;
        default:
            locolization = locolization_en; // 默认英语
    }
    const SBIGamelist=[
        315210,
        623280,
        757310,
        794540,
        1310330,
        1421290,
        1477940,
        1496790,
        1534840,
        1545560,
        1599780,
        1823210,
        1832040,
        1934570,
        1956040,
        2208920,
        2316580,
        2702430]
    var AppID=getAppID()
    // 检查AppID是否在SBIGamelist数组中
    if (SBIGamelist.includes(AppID)) {
        console.log("AppID", AppID, "在SBIGamelist中找到了!");
        InsertMessage(true)
    } else {
        console.log("AppID", AppID, "不在SBIGamelist中。");
        //InsertMessage(false)
        //计划制作投票举报功能,希望能有好心人赞助服务器
        //Plan to create a voting and reporting feature, hoping for kind-hearted people to sponsor the server.
    }



    function getAppID() {
        // 获取当前页面的URL
        const currentUrl = window.location.href;
        // 数字总是出现在 /app/ 和 / 之间
        const match = currentUrl.match(/\/app\/(\d+)\//);
        // 检查匹配项并获取数字
        if (match && match.length > 1) {
            return parseInt(match[1], 10); // 将提取的字符串转换为数字
        } else {
            return false
        }
    }


    function InsertMessage(yes) {
        // 查找页面上第一个具有指定类名的div元素
        var targetDiv = document.querySelector('.game_media_and_summary_ctn');
        // 检查是否找到目标元素
        if (targetDiv) {
            // 创建新的div元素
            var newDiv = document.createElement('div');
            newDiv.className = 'referring_curator_ctn'; // 设置类名
            // 设置要插入的HTML内容
            newDiv.innerHTML = `
            <div class="page_content">
                <div data-panel='{"type":"PanelGroup","flow-children":"row"}' class="referring_curator ">
                    <div class="curator_detail_right_ctn no_video">
                        <div class="blurb">
                            <p>`+locolization.SBID+`</p>
                        </div>
                    </div>
                </div>
            </div>
        `;

        // 将新创建的div元素插入到找到的元素之后
        targetDiv.parentNode.insertBefore(newDiv, targetDiv.nextSibling);
        }
    }
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址