Skip to content

Instantly share code, notes, and snippets.

@zeraphie
Created September 26, 2016 13:11
Show Gist options
  • Save zeraphie/0a991335ddce2ec02077773cc8ae8103 to your computer and use it in GitHub Desktop.
Save zeraphie/0a991335ddce2ec02077773cc8ae8103 to your computer and use it in GitHub Desktop.
MAKE EVERYTHING ON A SITE GONG
(function(a){for(var b,c=document.createTreeWalker(document.querySelector("body"),NodeFilter.SHOW_TEXT,null,!1);b=c.nextNode();)b.nodeValue=a})('gong');
@zeraphie
Copy link
Author

zeraphie commented Sep 26, 2016

Instructions:

  1. Open up developer tools by pressing F12 or CTRL + SHIFT + I
  2. Go to the console tab
  3. Paste in the one liner
  4. See the magic result

_DISCLAIMER_: This is just a bit of pointless fun! All it will do is change everything on the page that can contain text to the word 'gong' :D
If you want to reset it, simply refresh the page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment