TorrentGalaxy - Filter 1080p Releases in IMDb Search

Keeps only the 1080p releases on the TorrentGalaxy IMDb search page.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==

// @name                TorrentGalaxy - Filter 1080p Releases in IMDb Search
// @description         Keeps only the 1080p releases on the TorrentGalaxy IMDb search page.
// @version             1.0

// @namespace           io.github.ni554n
// @match               http*://torrentgalaxy.*/torrents.php?*search=tt*
// @match               http*://tgx.*/torrents.php?*search=tt*

// @supportURL          https://github.com/ni554n/userscripts/issues
// @license             MIT

// @author              Nissan Ahmed
// @homepageURL         https://anissan.com
// @contributionURL     https://paypal.me/ni554n

// ==/UserScript==

const releaseTableRows = document.getElementsByClassName("tgxtablerow");

for (const row of releaseTableRows) {
  const releaseName = row.innerText.toLowerCase();

  if (!releaseName.includes("1080p")) {
    row.style.display = "none";
  }
}