Skip to content

Instantly share code, notes, and snippets.

@eterps
Created February 10, 2022 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eterps/f3fead309ea7b0e6d8ab827ac249e26c to your computer and use it in GitHub Desktop.
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
// ==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