3 ms·
It's javascript. Read the source before running it. The obfuscated gook that's 80% of the script has 0 diffs from jQuery as downloaded at jQuery.com; and the re
by arjunnarayan 15y ago
It's javascript. Read the source before running it. The obfuscated gook that's 80% of the script has 0 diffs from jQuery as downloaded at jQuery.com; and the rest of the script is easy to verify in 5 minutes.
It's also a great habit to get into. Reading source code is invaluable in understanding and learning. And it is a skill that can be cultivated just like others. For example, the Prey project is an invaluable piece of software, except it's potentially extremely sensitive. Probably worth reading the source first.
You also start to get very well versed in the "usual way of doing things", especially if it's a language/paradigm you're not programming daily in.
- modeless 15y agoUnfortunately, while a good practice, reading the code is not an iron-clad defense. http://cm.bell-labs.com/who/ken/trust.html http://cm.bell-labs.com/who/ken/trust.html To give one example of how this could fail, the server could return different code when the request referer is facebook.