re: My favorite CSS hack VIEW POST


thanks, made a toggleable bookmark (no need for an extension) with this + another CSS I was using (that removes background + adds a red outline). looks like this:


code here


Here a slightly improved variant which loads faster and does not break elements with Javascript events on the page:


Just noticed your post after I already fixed it for myself as well. But in mine I took off the added code to remove background images. Removing background images is not desirable in a lot of cases, especially web apps.
Here's my code:

Very cool, you can run it on any page from the browser dev console.
Thanks for posting the code.


I love it!!!. Your bookmarklet is very handy. Thank you.

code of conduct - report abuse