top | item 8843984

(no title)

calibwam | 11 years ago

Please do argue javascript. How else could you do dynamic and logical operations in the browser presently?

discuss

order

cm2187|11 years ago

I think like Flash and Java, javascript should not be removed from the browser. Some websites do have a need for flash (for streaming for example).

I think the problem is rather that flash, java and javascript are all enabled by default, allowing any site and all the associated advertisement websites to execute code without the user consenting or being aware. This is a major security and privacy problem.

The model should rather be per-website opt-in of javascript if required (and most websites don't need it). And even in that scenario enforcing a same source policy, ie only javascript hosted on the domain visited would be enabled, not third party javascript.

To me the current model is like windows XP's autorun. It is just designed to be a perpetual source of security and privacy breaches until someone finally takes the decision to kill it.

nkozyra|11 years ago

Neither flash nor java are "enabled by default.". I think that's a poor analogy. JavaScript engines are built directly into the browser.

LukeB_UK|11 years ago

The problem with disabling javascript by default and making it opt-in, is that most users expect things to just work.

If you want to disable javascript yourself, fine, but don't degrade the experience of the web for everyone.