4 ms·
<script> oldalert = window.alert; window.alert = function() {}; </script> <script src="http://json.org/json.js"></script> <script> window.alert =
by bumblebird 17y ago
<script>
oldalert = window.alert;
window.alert = function() {};
</script>
<script src="http://json.org/json.js"></script>
<script>
window.alert = oldalert;
</script>
- ionfish 17y agoIf someone knows enough to do that, they probably also know to copy the file onto their own server.
- RyanMcGreal 17y agoHeh. I didn't know you could do that.
- ionfish 17y agoThat's how jQuery.noConflict() works. http://github.com/jquery/jquery/blob/master/src/core.js#L333-341 http://github.com/jquery/jquery/blob/master/src/core.js#L333...
- veemjeem 17y agoCrockford would then reply with: (inside his js file) window.location = "http://www.meatspin.com"; //that'll teach em