While JavaScript established itself as a cornerstone of the modern web, it also constitutes a major tracking and security vector, thus raising critical privacy and security concerns. In this context, some browser extensions propose to systematically block scripts reported by crowdsourced trackers lists. However, this solution heavily depends on the quality of these built-in lists, which may be deprecated or incomplete, thus exposing the visitor to unknown trackers. In this paper, we explore a different strategy, by investigating the benefits of disabling JavaScript in the browser. More specifically, by adopting such a strict policy, we aim to quantify the JavaScript addiction of web elements composing a web page, through the observation of web breakages. As there is no standard mechanism for detecting such breakages, we introduce a framework to inspect several page features when blocking JavaScript, that we deploy to analyze 6,384 pages, including landing and internal web pages. We discover that 43% of web pages are not strictly dependent on JavaScript and that more than 67% of pages are likely to be usable as long as the visitor only requires the content from the main section of the page, for which the user most likely reached the page, while reducing the number of tracking requests by 85% on average. Finally, we discuss the viability of currently browsing the web without JavaScript and detail multiple incentives for websites to be kept usable without JavaScript.
翻译:虽然 JavaScript 将自己定位为现代网络的基石,但它也构成了一个主要的跟踪和安全矢量,从而提出了重要的隐私和安全关切。在这方面,一些浏览器扩展提议系统地封锁由众源跟踪者列表报告的脚本。然而,这一解决方案在很大程度上取决于这些内建清单的质量,这些内建清单可能会被贬低或不完整,从而使访问者暴露于未知的跟踪者手中。在本文中,我们探索了不同的战略,调查了使 JavaScript 无法进入浏览器的好处。更具体地说,通过采取这样的严格政策,我们的目标是通过观察网络断裂点,量化组成网页的网络内容的JavaScript成瘾。由于没有标准的检测断裂点机制,我们引入了一个框架,在阻挡 JavaScript 时可以检查一些页面特性,从而让访问者能够分析6 384页,包括着陆和内部网页。我们发现,43%的网页并不严格依赖JavaScript,而且超过67%的网页可能被长期用于构建一个网页,因为访问者需要从目前平均的网页上追踪85页内容,而我们只能通过浏览访问者则要从目前只访问网站访问这些主页中可以持续追踪。