No grayscale for me
✓ Published0🌍 Public
Aadkdev
Last edited Oct 2, 2017
Created on Oct 19, 2016
This example demonstrates a Tampermonkey userscript that forces any website to display without grayscale filtering. It shows the direct application of CSS `filter: grayscale(0%)` onto both the `<html>` and `<body>` elements, overriding any site-wide grayscale effects. The script runs on every URL via the `@include *://*/*` pattern, excluding image file extensions, and executes immediately when the page loads. It relies on the Tampermonkey extension’s userscript API and plain DOM manipulation through `document.getElementsByTagName()`.
AI-generated description