JavaScript Restrictor
Browser extension that improves privacy and security
Loading...
Searching...
No Matches
document_start.js File Reference

Main script launched when a page is being loaded by a browser. More...

Functions

function configureInjection ({currentLevel, fpdWrappers, fpdTrackCallers, domainHash})
 
 if ("configuration" in window)
 

Variables

var wrappersPort
 
var pageConfiguration = null
 
 else
 

Detailed Description

Main script launched when a page is being loaded by a browser.

Author
Copyright (C) 2020 Libor Polcak
Copyright (C) 2021 Matus Svancar
Copyright (C) 2021 Giorgio Maone
Copyright (C) 2021 Marek Salon
Copyright (C) 2023 Martin Zmitko
License:
SPDX-License-Identifier: GPL-3.0-or-later

Function Documentation

◆ configureInjection()

function configureInjection (   {currentLevel, fpdWrappers, fpdTrackCallers, domainHash})
Here is the caller graph for this function:

◆ if()

if ( "configuration" in  window)

Variable Documentation

◆ else

else
Initial value:
{
configureInjection(browser.runtime.sendSyncMessage({
message: "get wrapping for URL",
url: window.location.href
}
))
function configureInjection({currentLevel, fpdWrappers, fpdTrackCallers, domainHash})
Definition document_start.js:29

◆ pageConfiguration

var pageConfiguration = null

◆ wrappersPort

var wrappersPort