Created
July 23, 2014 18:15
-
-
Save Yi-Tseng/1d58cb6b1088a972152c 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
var elems = document.getElementsByTagName('*'); | |
for (i in elems) { | |
if((' ' + elems[i].className + ' ').indexOf(' _5pcp _5vsi ') > -1) { | |
var a = document.createElement('a'); | |
a.href='#'; | |
a.innerHTML = '<(_ _)>' | |
elems[i].innerHTML = elems[i].innerHTML + ' · '; | |
elems[i].appendChild(a); | |
console.log(elems[i] + 'appened'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment