Skip to content

Instantly share code, notes, and snippets.

@digitalicarus
Last active October 12, 2015 05:24
Show Gist options
  • Select an option

  • Save digitalicarus/617cfbdfd8f2403c241f to your computer and use it in GitHub Desktop.

Select an option

Save digitalicarus/617cfbdfd8f2403c241f to your computer and use it in GitHub Desktop.
Faith+1
(function(){var t=function(r){var n,a=[],w=document.createTreeWalker(r,NodeFilter.SHOW_TEXT,null,false);while(n=w.nextNode()) a.push(n);return a;},i,n=t(document.body); for(i=0;i<n.length;i++) n[i].nodeValue=n[i].nodeValue.replace(/baby|girl/ig,'Jesus').replace(/ her /ig, ' Him ').replace(/ she /ig, ' He ');})()
@jhare

jhare commented Oct 12, 2015

Copy link
Copy Markdown

dem regexes tho

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