DEV Community

Discussion on: My favorite CSS hack

Collapse
 
vcastroi profile image
Victor Castro • Edited

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:

washingtonpost

code here

Collapse
 
patke92 profile image
Patrick Keßler

That's great!

Collapse
 
jasminelaihua profile image
JasmineLaiHua

Thanks for sharing!

Collapse
 
firozansari profile image
Firoz Ansari

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

Collapse
 
jacrys profile image
Keith Lewis

Thanks Victor!

Collapse
 
olee profile image
Björn Zeutzheim

Here a slightly improved variant which loads faster and does not break elements with Javascript events on the page:
gist.github.com/olee/50f0ddac55418...

Collapse
 
growthboot profile image
Growthboot

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:
gist.github.com/growthboot/5c189cf...

Thread Thread
 
raddevus profile image
raddevus • Edited

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