Created
December 5, 2018 15:06
-
-
Save pbhj/25c2cb340296bf4ea945f820a7d04b30 to your computer and use it in GitHub Desktop.
This file contains 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
javascript:var css = 'a:after{content:" (" attr(href) ") ";}', style = document.createElement('style'); style.type = 'text/css'; style.appendChild(document.createTextNode(css)); document.head.appendChild(style); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://stackoverflow.com/questions/524696/how-to-create-a-style-tag-with-javascript modified to make into a javascript that can be run from console.