{
    "id": "webview-adblock@beatlink",
    "name": "Web View Adblock",
    "description": "Ad and tracker blocking for Trilium Desktop's built-in Web View note type, optionally driven by your Firefox uBlock Origin config. Cancels ad requests with a filter on the webview's Electron session, and injects element-hiding rules into each page to collapse the ad slots that DNS-level blockers can't touch.",
    "author": "BeatLink",
    "homepage": "https://github.com/BeatLink/trilium-scripts/tree/main/addons/webview-adblock@beatlink",
    "license": "GPL-3.0-or-later",
    "latestVersion": "2.2.0",
    "type": "script",
    "readme": "README.md",
    "manifestSourceUrl": "https://beatlink.github.io/trilium-scripts/webview-adblock@beatlink/_tam_manifest_.json",
    "manifest": {
        "settingsNote": "launcher",
        "notes": [
            {
                "id": "launcher",
                "title": "webview-adblock@beatlink",
                "type": "render",
                "mime": "text/html",
                "sourceUrl": null
            },
            {
                "id": "readme",
                "title": "README.md",
                "type": "code",
                "mime": "text/markdown",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/webview-adblock@beatlink/README.md",
                "renderAsHTML": true,
                "sha": "bc88ae3cc1401fa163493a18dd2334ce5db0ce3d25c538447b715acf1688386b",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/webview-adblock@beatlink/README.md"
            },
            {
                "id": "script",
                "title": "webViewAdblock.js",
                "type": "code",
                "mime": "application/javascript;env=frontend",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/webview-adblock@beatlink/webViewAdblock.js",
                "sha": "ed5c110e3c80cb1952e67ca84134fb30dfd7642b618917d103ed0e77870df484",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/webview-adblock@beatlink/webViewAdblock.js"
            },
            {
                "id": "lib",
                "title": "libWebViewAdblock.js",
                "type": "code",
                "mime": "application/javascript;env=frontend",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/webview-adblock@beatlink/libWebViewAdblock.js",
                "sha": "289cdbefe006785dd1865e059da6f7fd527bc70e9b6de2ff8c890e5d67e6803a",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/webview-adblock@beatlink/libWebViewAdblock.js"
            },
            {
                "id": "network",
                "title": "webViewAdblockNetwork.js",
                "type": "code",
                "mime": "application/javascript;env=backend",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/webview-adblock@beatlink/webViewAdblockNetwork.js",
                "sha": "5987eebffb7c1a569c68c225c34f14f71acc99b4f75a7ef340f000b5c55d4dde",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/webview-adblock@beatlink/webViewAdblockNetwork.js"
            },
            {
                "id": "schema",
                "title": "schema.json",
                "type": "code",
                "mime": "application/json",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/webview-adblock@beatlink/schema.json",
                "sha": "cf85db206a87eba12234209620457f388a877ccb472fd0210f047accbd236a5f",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/webview-adblock@beatlink/schema.json"
            },
            {
                "id": "defaults",
                "title": "defaults.json",
                "type": "code",
                "mime": "application/json",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/webview-adblock@beatlink/defaults.json",
                "sha": "bc67e7bd5107771aaf91858d618b484b91fed90e2366e62f951d2b5bccbc886e",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/webview-adblock@beatlink/defaults.json"
            },
            {
                "id": "config",
                "title": "config.json",
                "type": "code",
                "mime": "application/json",
                "sourceUrl": null
            },
            {
                "id": "synced",
                "title": "uboConfig.json",
                "type": "code",
                "mime": "application/json",
                "sourceUrl": null
            },
            {
                "id": "settings",
                "title": "settings.jsx",
                "type": "code",
                "mime": "text/jsx",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/webview-adblock@beatlink/settings.jsx",
                "sha": "f50c745c7841b9a133c1a032c5483c6006152989e30110aa9aa11be3a73bdc24",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/addons/webview-adblock@beatlink/settings.jsx"
            },
            {
                "id": "libsettings-core",
                "title": "libSettingsCore.js",
                "type": "code",
                "mime": "application/javascript;env=frontend",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/libs/libsettings/libsettings-core.js",
                "sha": "6fb4ffee0a776ef38a6646ccbc21dc276614f9ea02d61f1f4f9f877e94b0c586",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/libs/libsettings/libsettings-core.js"
            },
            {
                "id": "libsettings-ui",
                "title": "libSettingsUI.jsx",
                "type": "code",
                "mime": "text/jsx",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/libs/libsettings/libsettings-ui.jsx",
                "sha": "66d4adead5e0447deba7f5cfa2a1573680ece1af619c53eb7241036122fce1a6",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/libs/libsettings/libsettings-ui.jsx"
            },
            {
                "id": "libsettings-style",
                "title": "libSettingsUI.css",
                "type": "code",
                "mime": "text/css",
                "sourceUrl": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/libs/libsettings/libsettings-ui.css",
                "sha": "43a6d3eba0af6f5e197064c7d0054a2ad725cd553c112f3b7427cd4830f2a75f",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/trilium-scripts/refs/heads/main/libs/libsettings/libsettings-ui.css"
            }
        ],
        "children": [
            {
                "parent": "root",
                "child": "launcher"
            },
            {
                "parent": "launcher",
                "child": "script"
            },
            {
                "parent": "launcher",
                "child": "network"
            },
            {
                "parent": "launcher",
                "child": "schema"
            },
            {
                "parent": "launcher",
                "child": "defaults"
            },
            {
                "parent": "launcher",
                "child": "settings"
            },
            {
                "parent": "launcher",
                "child": "readme"
            },
            {
                "parent": "persistence",
                "child": "config"
            },
            {
                "parent": "persistence",
                "child": "synced"
            },
            {
                "parent": "script",
                "child": "lib"
            },
            {
                "parent": "script",
                "child": "libsettings-ui"
            },
            {
                "parent": "settings",
                "child": "lib"
            },
            {
                "parent": "settings",
                "child": "libsettings-ui"
            },
            {
                "parent": "libsettings-ui",
                "child": "libsettings-core"
            },
            {
                "parent": "libsettings-ui",
                "child": "libsettings-style"
            }
        ],
        "relations": [
            {
                "from": "launcher",
                "type": "renderNote",
                "to": "settings"
            },
            {
                "from": "settings",
                "type": "schemaNote",
                "to": "schema"
            },
            {
                "from": "settings",
                "type": "configNote",
                "to": "config"
            },
            {
                "from": "settings",
                "type": "uboConfigNote",
                "to": "synced"
            },
            {
                "from": "script",
                "type": "schemaNote",
                "to": "schema"
            },
            {
                "from": "script",
                "type": "settingsNote",
                "to": "settings"
            },
            {
                "from": "script",
                "type": "uboConfigNote",
                "to": "synced"
            },
            {
                "from": "network",
                "type": "uboConfigNote",
                "to": "synced"
            },
            {
                "from": "config",
                "type": "sourceConfig",
                "to": "defaults"
            }
        ],
        "labels": [
            {
                "note": "script",
                "name": "run",
                "value": "frontendStartup"
            },
            {
                "note": "network",
                "name": "run",
                "value": "backendStartup"
            },
            {
                "note": "libsettings-style",
                "name": "appCss",
                "value": ""
            }
        ],
        "readmeNote": "readme",
        "allowExternalReferences": true,
        "settings": {
            "schema": "schema",
            "defaults": "defaults",
            "config": "config"
        }
    },
    "contentHash": "ef8311e107f880addd86ff91e81fd49389090ba96f8ae386949e8fd5408f9e0b"
}
