Created
August 21, 2014 23:39
-
-
Save ardell/8256a67c918152d8a697 to your computer and use it in GitHub Desktop.
Add asterisks at 45 and 75 characters (for container sizing)
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
(function(){var script=document.createElement('script');script.src = "//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js";document.getElementsByTagName('head')[0].appendChild(script);jQuery.noConflict();jQuery('p').html(function(){var t=jQuery(this).text();return t.substring(0,45)+"*"+t.substring(45,75)+"*"+t.substring(75);})})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Paste this into your javascript console to add asterisks at 45 and 75 characters on all paragraph tags.
Based on suggestion from Mattox Shuler's talk at Transform Athens: http://www.meetup.com/transform-athens/events/196452892/