Last active
July 15, 2021 11:22
-
-
Save gonelf/782350090fedfba3c543c27c4764d3c5 to your computer and use it in GitHub Desktop.
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
javascript: (function() { | |
var url = prompt('URL of CSS to inject:', ''); | |
if (url) { | |
console.log('CSS inject request URL:', url); | |
var link = document.createElement('link'); | |
link.href = url; | |
link.rel = "stylesheet"; | |
document.getElementsByTagName('head')[0].appendChild(link); | |
console.log('Injected CSS: ', link); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment