JBrowser Source Docs
You are reading the documentation for JBrowser 1.5.0. The newest release is 1.5.4. Go to the latest documentation

jbrowser.engine.js

Generated from the source code of JBrowser 1.5.0.

jbrowser/engine/js.py · 308 lines

JavaScript injected into pages. Kept in Python so the frozen build needs no data files.

Constants#

Name Value
BRIDGE_WORLD 1
GUARD_JS str (951 characters)
AUTOFILL_JS str (3,861 characters)
INTERSTITIAL_HTML str (1,147 characters)
CLEAR_SITE_STORAGE_JS str (478 characters)

Functions#

privacy_js#

privacy_js(seed: int, exempt: list[str], gpc: bool, dnt: bool, canvas: bool) -> strsource

The main-world privacy script, or "" when every part of it is switched off.

cosmetic_js#

cosmetic_js(data: dict, allow: list[str]) -> strsource

qwebchannel_js#

qwebchannel_js() -> strsource

qwebchannel.js ships as a Qt resource inside the QtWebChannel module.