// ==UserScript== // @name Steam Check System Requirements Button // @namespace DoomTay // @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 // @version 1.0.0 // @include http://store.steampowered.com/app/* // @include https://store.steampowered.com/app/* // @grant none // @downloadURL none // ==/UserScript== var appID = window.location.href.match(/store.steampowered.com\/app\/(\d+)/)[1]; var sysReqButton = document.createElement("a"); sysReqButton.className = "linkbar"; sysReqButton.innerHTML = "Check system requirements"; sysReqButton.href = "steam://checksysreqs/" + appID; document.getElementsByClassName("details_block")[1].insertBefore(sysReqButton, document.getElementsByClassName("details_block")[1].childNodes[10]); //document.getElementsByClassName("details_block")[1].appendChild(sysReqButton);