Hide Steam VR Games

Hide all vr games from search result

  1. // ==UserScript==
  2. // @name Hide Steam VR Games
  3. // @namespace http:/ghoulmind.com
  4. // @version 0.1
  5. // @description Hide all vr games from search result
  6. // @author greatghoul
  7. // @match http://store.steampowered.com/search/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13.  
  14. function isVRGame(game) {
  15. return game.querySelector('.htcvive, .oculusrift, .razerosvr') !== null;
  16. }
  17.  
  18. function checkVRGames() {
  19. var games = document.querySelectorAll('.search_result_row');
  20. games.forEach(function(game) {
  21. if (isVRGame(game)) {
  22. game.remove();
  23. }
  24. });
  25. }
  26.  
  27. setInterval(checkVRGames, 500);
  28. })();

QingJ © 2025

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