Detecting Hidden Web Tracking Scripts via HTML Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for protecting user privacy against web tracking are ineffective against anti-tracking evasion techniques, where web trackers disguise themselves as first-party domains to avoid detection.

Innovation Solution

The system detects HTML associated with a website, identifies elements capable of executing web tracking code, determines the presence of hidden web tracking scripts by analyzing scripting programming code, and performs security actions to prevent these scripts from executing and invading user privacy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional anti-tracking methods block detectable third-party website domains, then detectable web trackers are blocked, but hidden web tracking scripts that disguise as first-party domains cannot be detected

Engineering Contradiction:
Improvetracking protection effectivenessVSAvoiddetection of hidden tracking scripts
Core Design Contradiction:
ReliabilityVSDifficulty of detecting and measuring

Solution Approach 1:

The system performs preliminary analysis of HTML elements and scripting code during the page loading process to identify tracking scripts before they can execute and collect data. By detecting script elements, iframe elements, and analyzing domain relationships in advance, the system prevents hidden trackers from operating while maintaining user browsing experience.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system introduces an intermediary security module that sits between the browser and web content, analyzing HTML code and scripting programming code to identify tracking scripts. This intermediary layer examines domain relationships and script behavior without requiring direct user action, effectively filtering out hidden trackers while allowing legitimate content to pass through.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Object-generated harmful factors

If web trackers disguise third-party domains as first-party domains, then detection by traditional methods is avoided, but user privacy is still compromised

Engineering Contradiction:
Improveprivacy invasion by trackersVSAvoidcomplexity of tracking evasion techniques
Core Design Contradiction:
Object-generated harmful factorsVSDevice complexity

Solution Approach 1:

Instead of trying to identify tracking scripts by their malicious behavior, the system inverts the approach by analyzing the legitimacy of domain relationships. It examines whether scripting code domains match the website domain they are embedded in, flagging mismatches as potential hidden trackers. This inversion of the detection logic effectively identifies disguised third-party domains that traditional methods miss.

Inventive Principle:
Principle #13The other way round (Inversion)

Solution Approach 2:

The system changes the detection parameter from blocking known third-party domains to analyzing domain relationship consistency. By monitoring whether script element domains, iframe element domains, and scripting code domains match the parent website domain, the system adapts to various tracking evasion techniques without requiring updates to blocklists, effectively countering complex disguise methods.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12309126B2Systems and methods for protecting user data privacy against anti-tracking evasion techniques for web trackers
Publication Date: 2025.05.20 GEN DIGITAL INC
  • US12309126B2 patent drawing
  • US12309126B2 patent drawing
  • US12309126B2 patent drawing

AI summary

The disclosed computer-implemented method for protecting user data privacy against anti-tracking evasion techniques for web trackers may include (i) detecting hypertext markup language (HTML) associated with a website displayed in a browser application, (ii) identifying one or more elements in the HTML capable of executing web tracking code from the website, (iii) determining, based on information describing scripting programming code responsible for embedding the HTML elements in the website, a presence of a hidden web tracking script, and (iv) performing a security action that protects against a potential invasion of user data privacy by preventing the hidden web tracking script from executing the web tracking code in the browser application. Various other methods, systems, and computer-readable media are also disclosed.