Created
September 27, 2017 13:21
-
-
Save kobake/f69da3de3a2598e29adedffeebf1b41c to your computer and use it in GitHub Desktop.
255chars tweet
This file contains hidden or 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
var s = ""; | |
for(var i = 1; i <= 255; i++){ | |
var c = String.fromCharCode(i); | |
s += c; | |
if(c == '@')s += '' | |
} | |
$('#tweet-box-home-timeline').html( | |
"<div>255chars</div>" | |
+ "<div>" + s + "</div>" | |
+ "<div>#280characters</div>"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment