Blocking JavaScript without Breaking the Web: An Empirical Investigation
Abdul Haddi Amjad, Zubair Shafiq, Muhammad Ali Gulzar

TL;DR
This study evaluates the feasibility of blocking JavaScript to prevent tracking without breaking website functionality, revealing tradeoffs and proposing fine-grained blocking methods through large-scale analysis.
Contribution
It provides an empirical analysis of JS blocking strategies on 100K websites, highlighting the effectiveness and limitations of various approaches for privacy and functionality balance.
Findings
Blocking all scripts reduces tracking but breaks two-thirds of websites.
Selective blocking improves the tradeoff between privacy and functionality.
Fine-grained JS method blocking significantly reduces breakage while maintaining tracking prevention.
Abstract
Modern websites heavily rely on JavaScript (JS) to implement legitimate functionality as well as privacy-invasive advertising and tracking. Browser extensions such as NoScript block any script not loaded by a trusted list of endpoints, thus hoping to block privacy-invasive scripts while avoiding breaking legitimate website functionality. In this paper, we investigate whether blocking JS on the web is feasible without breaking legitimate functionality. To this end, we conduct a large-scale measurement study of JS blocking on 100K websites. We evaluate the effectiveness of different JS blocking strategies in tracking prevention and functionality breakage. Our evaluation relies on quantitative analysis of network requests and resource loads as well as manual qualitative analysis of visual breakage. First, we show that while blocking all scripts is quite effective at reducing tracking, it…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsPrivacy, Security, and Data Protection · Internet Traffic Analysis and Secure E-voting · Sexuality, Behavior, and Technology
