Created
September 24, 2024 14:53
-
-
Save lharby/c7c5bcbb728a310f26ff3068c8f6f41a to your computer and use it in GitHub Desktop.
Bookmarklet to remove all css filters from the page
This file contains 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
/** | |
* A bookmarklet to remove all filters from a page | |
* You can use https://caiorss.github.io/bookmarklet-maker/ to turn this into a minified bookmarklet | |
*/ | |
/** | |
* This bookmarklet removes all items that currently have a css filter applied | |
* Particularly useful when visiting a site where login is required and the page has css filters applied | |
* For example mutualart.com | |
*/ | |
const allElems = document.querySelectorAll('*'); | |
allElems.forEach(item => item.style.filter = 'none'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment