Last active
April 23, 2018 10:56
-
-
Save vsimko/bd0c73f502a16a096da06175bdaa6106 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
// run this code in dev console when you selected your icon | |
var x = document.createElement('img') | |
x.src = document.querySelector('.iconPreview').style.backgroundImage.replace(/url\("/,'').replace(/"\)$/, '') | |
document.body.replaceWith(x) | |
// or use this as a bookmark in your chrome | |
// Name: TNP Download | |
// URL: javascript:!(function() { var x = document.createElement('img'); x.src = document.querySelector('.iconPreview').style.backgroundImage.replace(/url\("/,'').replace(/"\)$/, ''); document.body.replaceWith(x) })() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment