Created
July 29, 2019 10:13
-
-
Save myfonj/3a3d86947bb8b92736628102f43ecc9c to your computer and use it in GitHub Desktop.
Unround everything
This file contains hidden or 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
/* Unround everything */ | |
*:not(#\0):not(#\0):not(#\0), | |
*:not(#\0):not(#\0):not(#\0)::before, | |
*:not(#\0):not(#\0):not(#\0)::after, | |
/* Unround images */ | |
img:not(#\0):not(#\0):not(#\0) { | |
border-radius: 0 !important; | |
} | |
This file contains hidden or 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
// injects style into HTML, could be tried in console or used in bookmarklet | |
((d,s)=>d.documentElement.appendChild(d.createElement('style')).textContent=`*${s},*${s}::before,*${s}::after{border-radius:0!important}`)(document,':not(#\\0)'.repeat(3)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment