placement tracker

track placement number for steam searches (https://store.steampowered.com/search/?sort_by=_ASC&ignore_preferences=1&filter=globaltopsellers)

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==UserScript==
// @name         placement tracker
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  track placement number for steam searches (https://store.steampowered.com/search/?sort_by=_ASC&ignore_preferences=1&filter=globaltopsellers)
// @author       TheGuy920
// @match        https://store.steampowered.com/search/*
// @grant        none
// ==/UserScript==

var placementCounter = 0;

async function execute1() {
  while (true) {
      await new Promise(resolve => setTimeout(resolve, 100));
      var parent = document.getElementById("search_resultsRows");
      var children = parent.children;
      for(var i = 0; i < children.length; i++)
      {
          if(!(children[i].innerHTML).includes("Placement Number:"))
          {
              placementCounter++;
              children[i].children[1].children[0].children[1].innerHTML += "<span>Placement Number: "+placementCounter + "</span>";
          }
      }
  }
}


(function() {
    'use strict';
   execute1();
})();