ProtonDB Hide Steam Deck Section

Hides Steam Deck section on ProtonDB while viewing games

  1. // ==UserScript==
  2. // @name ProtonDB Hide Steam Deck Section
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0
  5. // @description Hides Steam Deck section on ProtonDB while viewing games
  6. // @author DariusLMoore
  7. // @license MIT
  8. // @match https://www.protondb.com/*
  9. // @icon https://www.google.com/s2/favicons?sz=64&domain=protondb.com
  10. // @grant none
  11. // @run-at document-start
  12. // ==/UserScript==
  13.  
  14. (function() {
  15. 'use strict';
  16.  
  17. window.addEventListener('load', function() {
  18. setInterval(function(){
  19. for (let span of document.getElementsByTagName("span")) {
  20. if (span.textContent == "Steam Deck") {
  21. span.parentElement.parentElement.parentElement.style.display = "none"
  22. }
  23. }
  24. }, 1300);
  25. });
  26.  
  27. })();

QingJ © 2025

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