Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html><head><title>Add Zero Width Space For Twitter Posts</title></head><body>
- <p>Enter text: <input id="tweet" onkeyup="document.getElementById ('result').innerHTML=this.value.replace(/([@#\.])/ig, '$1​');" type="text"></p>
- <p><span id="result" style="background:lightyellow">> Result will display here. <</span></p>
- <p>Enter some text in the input box above and it will automatically add a "zero width space" after every dot, #hash or @mention. You can then copy-paste the converted text into your Twitter and none of the words will be converted into hyperlinks.</p>
- <p>Original Credit: Amit Agarwal</p>
- <p>Original Article: http://www.labnol.org/internet/twitter-auto-converts-links/20771/</p>
- <p>Original Tool: http://www.labnol.org/internet/twitter-auto-converts-links/20771/#tweet</p>
- <p>Simplified Tool for local archive: <a href="https://twitter.com/AntyalTennyson">@AntyalTennyson</a> (<a href="http://pastebin.com/LepZacXJ">Source of this file on Pastebin.com</a>)</p>
- </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement