Emrald Board Flip Test Bookmarklet

Attempts to flip the board at chess.emrald.net

Source (my.brain)


Download Bookmarklet:


View Bookmarklet Code:

Bookmarklet Source Code:

javascript%3Avar%20tbodies%20%3D%20document.getElementsByTagName%28%22tbody%22%29%3B%20%20var%20squares%3B%20for%28var%20i%3D0%3B%20i%3Ctbodies.length%3B%20i++%29%20%7B%20squares%20%3D%20tbodies%5Bi%5D.getElementsByTagName%28%22td%22%29%3B%20if%28squares.length%3D%3D64%29%20break%3B%20%7D%20if%28squares.length%21%3D64%29%20alert%28%22Couldn%27t%20find%20the%20board%21%22%29%3B%20%20for%28var%20i%3D0%3B%20i%3C32%3B%20i++%29%20%7B%20var%20tmp%3Dsquares%5Bi%5D.innerHTML%3B%20squares%5Bi%5D.innerHTML%3Dsquares%5B63-i%5D.innerHTML%3B%20squares%5B63-i%5D.innerHTML%20%3D%20tmp%3B%20%20%7Dundefined%3B


Rate it:


Tags:

Comments

Comments so far. Add yours.