Skip to content

Instantly share code, notes, and snippets.

@quandyfactory
Created May 25, 2022 14:36
Show Gist options
  • Save quandyfactory/fc20d2d49f6a95c10e300cf203be4b2d to your computer and use it in GitHub Desktop.
Save quandyfactory/fc20d2d49f6a95c10e300cf203be4b2d to your computer and use it in GitHub Desktop.
javascript:(function(){for(var n=document.getElementsByTagName("p"),e=0;e<n.length;e++){for(var t=n[e].innerHTML.split(" "),g=[],r=0;r<t.length;r++)g.push("<strong>"+t[r].substring(0,3)+"</strong>"+t[r].substring(3));document.getElementsByTagName("p")[e].innerHTML=g.join(" ")}})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment