Normally, every code, distributed to be run on user machines, come with a license. If you do not agree with a license, you can't run a code. Moreover, license clearly states responsibility of the vendor, what uses are permitted, etc.
What rules are governing those relations?
- Browser runs code automatically, and it's by design. Authors put a lot of efforts to make it 'automatically run'.
- User hasn't consented to any license before executing a code.
I see two options:
- Every user run code without a license, and is guilty of breaking copyright.
- There is an implicit permission to run a code (by the way it was implemented).
But if there is an 'implicit permission', where this permission ends? Can user download a code (it's already downloading it), save it (it's already saving it to the browser cache), and run in own environment (it's already running it)? And if so, can user do this (download-save-execute) in 'unexpected' environment? F.e. instead of browser with UI, execute it in own
phantom.js or other 'headless' browser for own merits, outside of intentions of code authors?
How this situation is handled? Is it legal to execute a JS from publicly available site?