Last active
November 12, 2018 10:32
-
-
Save bKNN/47b1b1ee2fe56ab6e7e44efe271b9194 to your computer and use it in GitHub Desktop.
BOOKMARKLET - Show H1, H2, H3... instantly on the 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:void((function(){var a,b,c,d,e,f;f=new Array('pink','orange','yellow','aquamarine','lightskyblue','plum');for(a=1;a<=6;a++){b=document.getElementsByTagName('h'+a);for(c=0;c<b.length;c++){d=b[c];e=d.style;e.backgroundColor=f[a-1];e.border='solid';e.padding='2px';e.color='black';d.innerHTML='H'+a+' - '+d.innerHTML;}}})()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment