Blocking JavaScript without Breaking the Web: An Empirical Investigation

02/02/2023
by   Abdul Haddi Amjad, et al.
0

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 significantly degrades functionality on approximately two-thirds of the tested websites. Second, we show that selective blocking of a subset of scripts based on a curated list achieves a better tradeoff. However, there remain approximately 15 legitimate functionality and thus cannot be blocked without causing website breakage. Finally, we show that fine-grained blocking of a subset of JS methods, instead of scripts, reduces major breakage by 3.7× while providing the same level of tracking prevention. Our work highlights the promise and open challenges in fine-grained JS blocking for tracking prevention without breaking the web.

READ FULL TEXT

page 2

page 3

page 8

page 9

research
08/28/2021

TrackerSift: Untangling Mixed Tracking and Functional Web Resources

Trackers have recently started to mix tracking and functional resources ...
research
06/01/2019

A Longitudinal Analysis of Online Ad-Blocking Blacklists

Websites employ third-party ads and tracking services leveraging cookies...
research
06/11/2018

Robust identification of email tracking: A machine learning approach

Email tracking allows email senders to collect fine-grained behavior and...
research
09/24/2018

An Empirical Study of the I2P Anonymity Network and its Censorship Resistance

Tor and I2P are well-known anonymity networks used by many individuals t...
research
05/29/2018

Exploring Server-side Blocking of Regions

One of the Internet's greatest strengths is the degree to which it facil...
research
01/26/2023

ASTrack: Automatic Detection and Removal of Web Tracking Code with Minimal Functionality Loss

Recent advances in web technologies make it more difficult than ever to ...
research
09/06/2021

Examining the tech stacks of Czech and Slovak untrustworthy websites

The burgeoning of misleading or false information spread by untrustworth...

Please sign up or login with your details

Forgot password? Click here to reset