Is graceful degradation in the absence of JavaScript still useful?

后端 未结 15 3591
南方客
南方客 2021-02-20 02:45

When even mobile browsers have JavaScript, is it really necessary to consider potential script-free users?

15条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-20 02:57

    I for one always have NoScript turned on unless I trust the site for a number of reasons including cross-site-scripting, click jacking, and HTML injection. It's not me being paranoid, it's because I know a lot of developers, and know most of them have no idea what web security is, never mind how to avoid vulnerabilities.

    So until I trust a site there's no chance I'd let it do anything fancy.

    For the unfamiliar, there are some interesting blog entries on the subject:

    • Protecting Your Cookies: HttpOnly
    • Cross-Site Request Forgeries and You
    • Sins of Software Security
    • Top 25 Most Dangerous Programming Mistakes

提交回复
热议问题