Created
April 30, 2022 01:55
-
-
Save n8jadams/4c6f07247195e05a4bdb8d4e597f4209 to your computer and use it in GitHub Desktop.
A quick script to remove all styling from a website
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
document.querySelectorAll('style, link[rel="stylesheet"]').forEach(el => el.parentNode.removeChild(el)) | |
document.querySelectorAll('[style]').forEach(el => el.style = null) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment