Grootify - I Am Groot Bookmarklet

Changes words on webpages to "I am Groot"

Source (www.mirror.co.uk)


Download Bookmarklet:


View Bookmarklet Code:

Bookmarklet Source Code:

javascript%3A%28function%28%29%257Bjavascript%253Avar%20words%253D%255B%27I%20am%20Groot.%20%27%252C%27I%20AM%20GROOT%21%20%27%252C%27I%20am%20Groot.%20%27%252C%27I%20am%20Groot.%20%27%252C%27I%20am%20Groot%21%20%27%252C%27I%20am%20Groot.%20%27%252C%27I%20am%20Groot.%20%27%252C%27I%20AM%20GROOT%21%20%27%252C%27I%20am%20Groot%253F%20%27%252C%27I...%20am%20Groot.%20%27%252C%27I%20am%20Groot%253F%21%20%27%255D%253Bfunction%20groot%28node%29%257Bif%28node.nodeType%253D%253D%253DNode.TEXT_NODE%29%257Bvar%20text%253Dnode.textContent%253Bvar%20iam%253Dtext.replace%28%252F%255Cb%28%255Cw%255CS*%255Cs%253F%29%257B1%252C3%257D%252Fig%252Cfunction%28%29%257Bvar%20idx%253DMath.floor%28Math.random%28%29*words.length%29%253Breturn%20words%255Bidx%255D%253B%257D%29%253Bnode.textContent%253Diam%253Breturn%253B%257Delse%20if%28node.nodeType%253D%253D%253DNode.ELEMENT_NODE%29%257Bfor%28var%20i%253D0%253Bi%3Cnode.childNodes.length%253B%252B%252Bi%29%257Bgroot%28node.childNodes%255Bi%255D%29%253B%257Dreturn%253B%257Delse%257Breturn%253B%257D%257Dgroot%28document.body%29%257D%29%28%29


Rate it:


Tags:

Comments

Comments so far. Add yours.