-
-
Save dslusser/4457c79651611d77e44809ce2b0a4305 to your computer and use it in GitHub Desktop.
Bookmarklet to add stylesheet to web page
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: (function () { | |
var linkNode = document.createElement('link'); | |
linkNode.rel = 'stylesheet'; | |
linkNode.href = 'http://www.website.com/stylesheets/style.css'; | |
document.getElementsByTagName('head')[0].appendChild(linkNode); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment