dirtyh4x - Small HTML by #vev@efnet - works in latest Firefox and Chrome despite of dirty h4x
Minified version (218b) here.
Compo info
Some of the tricks used with bytes saved
- Use byte order mark to set utf8 instead of meta charset (16 bytes)
- JS code in onload= (10 bytes)
- Skip all use of " in html (9 bytes)
- Fetch element by global js-variable set by id= (27 bytes)
- Set m=Math (3*3-5 = 4 bytes)
- Set font to "4 a" instead of "4px arial", but since we skip " in onload we can't have space so replace with \r (5 bytes)
- Set and update varibles right in the "for (;;)" to save having to use {} and some ";" (~3 bytes)
- Count down to 0 in condition part so it autostops and we save condition check (3 bytes)
Credits: fisk, mathias, si-m1, terje_