4 ms·
<script> var oldAlertFunction = window.alert; window.alert = function(){}; </script> <script src="crockford.com/json.library.js"></script> Arms race,
by axod 16y ago
<script>
var oldAlertFunction = window.alert;
window.alert = function(){};
</script>
<script src="crockford.com/json.library.js"></script>
Arms race, but just sayin'
- alex_c 16y agoThe point would be to give webmasters a heads-up and time to fix their sites before hotlinking is disabled, not so much to prevent them from using the file.
- axod 16y agoIndeed. I was just being silly :)
- MBlume 16y agoAnd if you want to avoid changing the rest of the page: <script> var oldAlertFunction = window.alert; window.alert = function(){}; </script> <script src="crockford.com/json.library.js"></script> <script> window.alert=oldAlertFunction; </script>
- nerfhammer 16y agoAnyone smart enough to think of that would be smart enough not to hotlink