Spoof Page and Icon
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
/* NOTE: Comments need to be in multiline format like this, instead of "// Comment" */ | |
var url = prompt('Enter the url you want to spoof the icon of');var title = prompt('Enter the title you want to spoof');var link = document.createElement('link');link.type = 'image/x-icon';link.rel = 'shortcut icon';link.href = 'http://g.etfv.co/' + url;document.getElementsByTagName('head')[0].appendChild(link);document.title = title; return; |
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
{ | |
"name": "Spoof Page and Icon", | |
"description": "Change icon and title of page.", | |
"icon": "https://backtickio.s3.amazonaws.com/icons/backtick.png", | |
"link": "http://backtick.io" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment