Steam Check System Requirements Button

Adds a "check system requirements" button to the store page of a Steam app, which will see if a computer meets an app's system requirements

当前为 2016-01-19 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Steam Check System Requirements Button
  3. // @namespace DoomTay
  4. // @description Adds a "check system requirements" button to the store page of a Steam app, which will see if a computer meets an app's system requirements
  5. // @version 1.0.1
  6. // @include http://store.steampowered.com/app/*
  7. // @include https://store.steampowered.com/app/*
  8. // @grant none
  9.  
  10. // ==/UserScript==
  11.  
  12. var appID = window.location.href.match(/store.steampowered.com\/app\/(\d+)/)[1];
  13.  
  14. var sysReqButton = document.createElement("a");
  15. sysReqButton.className = "linkbar";
  16. sysReqButton.innerHTML = "Check system requirements";
  17. sysReqButton.href = "steam://checksysreqs/" + appID;
  18.  
  19. document.getElementsByClassName("details_block")[1].insertBefore(sysReqButton, document.getElementsByClassName("details_block")[1].childNodes[10]);

QingJ © 2025

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