Back in 2005, there was a neopets hidden tower hack in which you could exploit the javascript to purchase neopets hidden tower items at lower items.
They of course patched this very quickly, and to date no new hacks have been found for the hidden tower.