Skip to content

Instantly share code, notes, and snippets.

@lharby
Created September 24, 2024 14:53
Show Gist options
  • Save lharby/c7c5bcbb728a310f26ff3068c8f6f41a to your computer and use it in GitHub Desktop.
Save lharby/c7c5bcbb728a310f26ff3068c8f6f41a to your computer and use it in GitHub Desktop.
Bookmarklet to remove all css filters from the page
/**
* 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