-
April 17th, 2014, 11:15 AM
#1
Finally get rid of <script> tags containing global variable
Advanced to 113 bytes:
Code:
<input onkeyup="s?e=Date.now():s=Date.now()"onblur="c=this.value.length;this.value+=c/(e-s)"><script>s=0</script>
If I coudn't go without global script there're two other options. Tried this, not working:
☑ c=this.value.length;this.value+=c/(e-s)
Ø x=this.value;c=x.length;x+=c/(e-s)
And if there's no way of shortening segment too:
Code:
onkeyup="s?e=Date.now():s=Date.now()"
the upper [+ span of 20 symbols maximum] (on the cost of <scripts> elimination)
I'll put my hands carefully up.
-
April 19th, 2014, 08:43 AM
#2
Re: Finally get rid of <script> tags containing global variable
What is the point of this post? It's just jibberish in it's current state. Are you trying to ask for help? If so, what exactly is your question?
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|