Skip to Content
Platform.Ontology

Loaded script list (javascripts)

Lists which scripts the page loaded.

Gets silentlyThings a page can doPage contextWeb browsersWhen the page loadsWhile you use it

In one line

Can list the scripts loaded on its own page

Lists which scripts the page loaded.

A list of script URLs (up to 2,200 chars) can reveal injected scripts from extensions or tools.

What it can and can't do

What the user does: Nothing. It happens when the page loads or when a tool scans the page.

It can

  • Find which scripts its page loaded, including ones from other companies
  • Spot tracking or ad scripts on its own page
  • Check that a script loaded as expected

It cannot

  • See scripts on other sites or in other tabs
  • See what the scripts do inside other pages
  • See your browser add ons unless they change the page
  • Keep a list of what you visited before

Browser support

BrowserStatusFirst versionNote
ChromeSupportedNot availableNone
EdgeSupportedNot availableNone
FirefoxSupportedNot availableNone
SafariSupportedNot availableNone
Safari on iPhoneSupportedNot availableNone
Chrome on AndroidSupportedNot availableNone
Samsung InternetSupportedNot availableNone

How a site asks for it

APIdocument.scripts / script elements
How access is grantednone
What the user seesNone (no browser prompt)
Needs a secure context (HTTPS)No
Needs a user gestureNo
How long it lastsNot listed
How to take it backNot listed
Inside an iframeNot listed

Typical flow

  1. Script reads the value
  2. Value joins the fingerprint payload

Data you get

What comes back: Loaded script list (javascripts)
Shape: list
How often: per page

FieldTypeUnitRangePrecision
javascriptslistNoneup to 2200 chars collectedNot listed

Technical limits

  • Only scripts in the DOM

The story

What it is

A site can see which scripts are loaded in the page, which can reveal extensions.

For you

You never see it. A page can tell if some extensions or tools have added their own scripts to it, which says something about how you browse.

For makers

Fraud and security tools use it to spot injected code, bots and shady extensions. It also adds to a device profile used for tracking.

Where you see it

TypeExampleApps
securityA bank page spots an injected script from malware that tries to steal logins.Stripe Radar
adsAn ad network spots scripts from blockers and tracks how many viewers use them.None named
shoppingA checkout page flags a card skimmer script that was added by an attacker.None named
gamesAn anti cheat page spots cheat helper scripts running in a browser game.None named
analyticsA tag manager audits which scripts load, to remove slow or unauthorized ones.Google Tag Manager
developerA developer checks that third party scripts are the ones they approved.None named

Risks

  • Reveals extensions
  • Adds to fingerprint

Good uses and abuse

Legitimate uses

  • Detect injected scripts

Known abuse

  • Detect extensions that inject scripts

Scores

ScoreValueMeaning
Sensitivity3 of 5How revealing the data is
Utility3 of 5How useful it is to honest apps
Friction0 of 5How much the user has to do
Fingerprint bits2Rough identifying entropy, when known

A real example: LinkedIn

Collector key(s): javascripts. My reading of the key: a list of script sources; the exact field is not described in public write-ups.

Sources

How well checked: Inferred from related behavior.

On this page