2
1
We all know that we can't obfuscate HTML or Javascript. We need to remember that if the browser can read it, the user should be able to read it too.
Therefore, why is it that sometimes when we download a site locally, it does not work properly? This is especially true with Javascript. If the browser can display it properly, why does it breaks when it is stored locally? In short, what causes it to work differently locally than on the browser?
Thank you!
EDIT
To give an example, I was trying to download this site:
https://www.mashape.com/howitworks
To see how they made the animation, however the animation is not working locally.
1First sentence in your 2nd paragraph has wrong grammar, please fix it. – None – 2013-08-02T19:05:23.160
1That's using html5 canvas element with javascript. (The site you mentioned.) – None – 2013-08-02T19:41:30.017
Well for example ajax doesn't work when loading a site from disk – None – 2013-08-02T20:02:39.447