您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Simply adds a Boop / SGDBoop button to all games on the steam store
// ==UserScript== // @name Boop / SGDBoop button on Steam Store // @namespace MNM // @author MNM // @version 0.1 // @description Simply adds a Boop / SGDBoop button to all games on the steam store // @require https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js // @match http*://store.steampowered.com/app/* // @grant none // @license MIT // ==/UserScript== var appId = decodeURIComponent(window.location.pathname.split("/")[2]), comBut = document.querySelector("div.apphub_OtherSiteInfo"), storeurl = 'sgdb://boop/steam,steam,steam,steam,steam/'+appId+'-header-en,'+appId+'-capsule-en,'+appId+'-hero-en,'+appId+'-logo-en,'+appId+'-clienticon-en/nonsteam', boop = document.createElement("a"); boop.setAttribute('href',storeurl); boop.className ="btnv6_blue_hoverfade btn_medium"; boop.innerHTML ='<span>Boop</span>'; comBut.appendChild(boop);