3 ms·
100 lines of code for this is not "tiny": <script>alert('You are using JavaScript!')</script>
by 0x4a42 9y ago
100 lines of code for this is not "tiny": <script>alert('You are using JavaScript!')</script>
- vog 9y agoI don't get it, either. Even the include is longer that directly writing a plain alert: <script type="text/javascript" src="warning.js" charset="utf-8"></script> versus: <script>alert('You forgot to disable JavaScript!')</script> To be fair, the following would be sufficient, but for some strange reasons the project recommends the long version: <script src="warning.js"></script>
- mstef 9y agothat would be less funny and lack the educational aspect.