Created
February 10, 2022 15:52
-
-
Save eterps/f3fead309ea7b0e6d8ab827ac249e26c to your computer and use it in GitHub Desktop.
Userscript that hides every score below a 6 from filmvandaag.nl movie results
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Hide low scores from filmvandaag.nl | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Hides every score below a 6 from filmvandaag.nl movie results | |
// @author Erik Terpstra | |
// @match https://www.filmvandaag.nl/* | |
// @icon https://www.google.com/s2/favicons?domain=filmvandaag.nl | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
for (let rating of document.getElementsByClassName('rating')){ let nr = parseInt(rating.innerText); if (nr < 6) rating.style.display = 'none'} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment