{
    "id": "web-preview@beatlink",
    "name": "Web Preview",
    "description": "Browsing toolbar for Trilium Desktop's built-in Web View note type. Adds a small toolbar (Back / Forward / Save / Open in Browser / Delete Note) above any Web View note, driving the actual Electron <webview> element Trilium already renders for that note type, plus a New Tab launchbar button that opens an address bar over the note you are reading, offering what is typed as a page to visit or a search to run alongside the configured bookmarks and the Web View notes already in the tree that match it, and filing what it opens as a child of that note. Links clicked inside a page can open as notes of their own, filed as a child of the note they were clicked in or as its sibling. A note follows the page you browse to and keeps its own back/forward history, so it reopens where you left it. Skips sponsor segments in YouTube videos played inside a Web View note, using SponsorBlock. The user agent Web View pages see is configurable, for sites that turn away Trilium's Electron one.",
    "author": "BeatLink",
    "homepage": "https://github.com/Trilium-Community/trilium-scripts/tree/main/addons/web-preview@beatlink",
    "license": "GPL-3.0-or-later",
    "latestVersion": "3.0.0",
    "type": "widget",
    "readme": "README.md",
    "changelog": "https://raw.githubusercontent.com/Trilium-Community/trilium-scripts/3bb5fa41985a4cc8f6d4e58f612a2178f9e83588/addons/web-preview@beatlink/CHANGELOG.md",
    "manifestSourceUrl": "https://trilium-community.github.io/trilium-scripts/web-preview@beatlink/_tam_manifest_.json",
    "manifest": {
        "settingsNote": "settings-launcher",
        "notes": [
            {
                "id": "readme",
                "title": "README.md",
                "type": "code",
                "mime": "text/markdown",
                "sourceUrl": "https://raw.githubusercontent.com/Trilium-Community/trilium-scripts/3bb5fa41985a4cc8f6d4e58f612a2178f9e83588/addons/web-preview@beatlink/README.md",
                "renderAsHTML": true,
                "sha": "bc9ab13f4f78bce978d3cd79f1d5bff7e750403e061bab005be457436d2bcc59",
                "sourceId": "https://raw.githubusercontent.com/Trilium-Community/trilium-scripts/refs/heads/main/addons/web-preview@beatlink/README.md"
            },
            {
                "id": "widget",
                "title": "webViewToolbarWidget.jsx",
                "type": "code",
                "mime": "text/jsx",
                "sourceUrl": "https://raw.githubusercontent.com/Trilium-Community/trilium-scripts/3bb5fa41985a4cc8f6d4e58f612a2178f9e83588/addons/web-preview@beatlink/webViewToolbarWidget.jsx",
                "sha": "c9777eea9e56110d810d159f077fb29bb69ad294f77dbca8ff068683f2460dd7",
                "sourceId": "https://raw.githubusercontent.com/Trilium-Community/trilium-scripts/refs/heads/main/addons/web-preview@beatlink/webViewToolbarWidget.jsx"
            },
            {
                "id": "lib",
                "title": "libWebPreview.js",
                "type": "code",
                "mime": "application/javascript;env=frontend",
                "sourceUrl": "https://raw.githubusercontent.com/Trilium-Community/trilium-scripts/3bb5fa41985a4cc8f6d4e58f612a2178f9e83588/addons/web-preview@beatlink/libWebPreview.js",
                "sha": "2d0e8391e15079209a8d495463a19ae8377c8b5b01b53bcfa8b8dcba9dd10dde",
                "sourceId": "https://raw.githubusercontent.com/Trilium-Community/trilium-scripts/refs/heads/main/addons/web-preview@beatlink/libWebPreview.js"
            },
            {
                "id": "libsponsorblock",
                "title": "libSponsorBlock.js",
                "type": "code",
                "mime": "application/javascript;env=frontend",
                "sourceUrl": "https://raw.githubusercontent.com/Trilium-Community/trilium-scripts/3bb5fa41985a4cc8f6d4e58f612a2178f9e83588/libs/libsponsorblock/libsponsorblock.js",
                "sha": "6a62db2d376a2ccb389bc5a69fa143e3b0ce470cf5bc2d4c2afe40b642b7a932",
                "sourceId": "https://raw.githubusercontent.com/Trilium-Community/trilium-scripts/refs/heads/main/libs/libsponsorblock/libsponsorblock.js"
            },
            {
                "id": "newtab-widget",
                "title": "newTabWidget.jsx",
                "type": "code",
                "mime": "text/jsx",
                "sourceUrl": "https://raw.githubusercontent.com/Trilium-Community/trilium-scripts/3bb5fa41985a4cc8f6d4e58f612a2178f9e83588/addons/web-preview@beatlink/newTabWidget.jsx",
                "sha": "1d9f1b674706fc0e8c7cf62e898251e6c460bab44fb0d661407b0c67f07c6ef1",
                "sourceId": "https://raw.githubusercontent.com/Trilium-Community/trilium-scripts/refs/heads/main/addons/web-preview@beatlink/newTabWidget.jsx"
            },
            {
                "id": "newtab-launcher",
                "title": "newTabLauncher.js",
                "type": "code",
                "mime": "application/javascript;env=frontend",
                "sourceUrl": "https://raw.githubusercontent.com/Trilium-Community/trilium-scripts/3bb5fa41985a4cc8f6d4e58f612a2178f9e83588/addons/web-preview@beatlink/newTabLauncher.js",
                "sha": "77fe6bce64e17f3726027c1f18e45336b1124e87fd52b985a7b9e99753ec17b7",
                "sourceId": "https://raw.githubusercontent.com/Trilium-Community/trilium-scripts/refs/heads/main/addons/web-preview@beatlink/newTabLauncher.js"
            },
            {
                "id": "newtab-startup",
                "title": "newTabStartup.js",
                "type": "code",
                "mime": "application/javascript;env=frontend",
                "sourceUrl": "https://raw.githubusercontent.com/Trilium-Community/trilium-scripts/3bb5fa41985a4cc8f6d4e58f612a2178f9e83588/addons/web-preview@beatlink/newTabStartup.js",
                "sha": "24abdf5b2adc31c29d0513286c493659e54e12d958b8c38f61c24bef8b43e4a1",
                "sourceId": "https://raw.githubusercontent.com/Trilium-Community/trilium-scripts/refs/heads/main/addons/web-preview@beatlink/newTabStartup.js"
            },
            {
                "id": "useragent-startup",
                "title": "userAgentStartup.js",
                "type": "code",
                "mime": "application/javascript;env=frontend",
                "sourceUrl": "https://raw.githubusercontent.com/Trilium-Community/trilium-scripts/3bb5fa41985a4cc8f6d4e58f612a2178f9e83588/addons/web-preview@beatlink/userAgentStartup.js",
                "sha": "92b695346f691c7f63193da8375d7def150cc286292b01bdb484789717dd05d9",
                "sourceId": "https://raw.githubusercontent.com/Trilium-Community/trilium-scripts/refs/heads/main/addons/web-preview@beatlink/userAgentStartup.js"
            },
            {
                "id": "settings-launcher",
                "title": "web-preview@beatlink",
                "type": "render",
                "mime": "text/html",
                "sourceUrl": null
            },
            {
                "id": "settings",
                "title": "settings.jsx",
                "type": "code",
                "mime": "text/jsx",
                "sourceUrl": "https://raw.githubusercontent.com/Trilium-Community/trilium-scripts/3bb5fa41985a4cc8f6d4e58f612a2178f9e83588/addons/web-preview@beatlink/settings.jsx",
                "sha": "810e6a76eea1eefaadbc445cda1f4e24e89fba0c7413e51fb4289317ee046d44",
                "sourceId": "https://raw.githubusercontent.com/Trilium-Community/trilium-scripts/refs/heads/main/addons/web-preview@beatlink/settings.jsx"
            },
            {
                "id": "schema",
                "title": "schema.json",
                "type": "code",
                "mime": "application/json",
                "sourceUrl": "https://raw.githubusercontent.com/Trilium-Community/trilium-scripts/3bb5fa41985a4cc8f6d4e58f612a2178f9e83588/addons/web-preview@beatlink/schema.json",
                "sha": "118c0cc67f62a8f1ccdb99407bcda80d8b0ba4b617f361e57ae9c72338f09079",
                "sourceId": "https://raw.githubusercontent.com/Trilium-Community/trilium-scripts/refs/heads/main/addons/web-preview@beatlink/schema.json"
            },
            {
                "id": "defaults",
                "title": "defaults.json",
                "type": "code",
                "mime": "application/json",
                "sourceUrl": "https://raw.githubusercontent.com/Trilium-Community/trilium-scripts/3bb5fa41985a4cc8f6d4e58f612a2178f9e83588/addons/web-preview@beatlink/defaults.json",
                "sha": "70dd01482a9ab4b5577ff5eed21332b0aa3314f42e8472964ed020dcb533e79f",
                "sourceId": "https://raw.githubusercontent.com/Trilium-Community/trilium-scripts/refs/heads/main/addons/web-preview@beatlink/defaults.json"
            },
            {
                "id": "config",
                "title": "config.json",
                "type": "code",
                "mime": "application/json",
                "sourceUrl": null
            },
            {
                "id": "libsettings-core",
                "title": "libSettingsCore.js",
                "type": "code",
                "mime": "application/javascript;env=frontend",
                "sourceUrl": "https://raw.githubusercontent.com/Trilium-Community/trilium-scripts/3bb5fa41985a4cc8f6d4e58f612a2178f9e83588/libs/libsettings/libsettings-core.js",
                "sha": "6fb4ffee0a776ef38a6646ccbc21dc276614f9ea02d61f1f4f9f877e94b0c586",
                "sourceId": "https://raw.githubusercontent.com/Trilium-Community/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/Trilium-Community/trilium-scripts/3bb5fa41985a4cc8f6d4e58f612a2178f9e83588/libs/libsettings/libsettings-ui.jsx",
                "sha": "66d4adead5e0447deba7f5cfa2a1573680ece1af619c53eb7241036122fce1a6",
                "sourceId": "https://raw.githubusercontent.com/Trilium-Community/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/Trilium-Community/trilium-scripts/3bb5fa41985a4cc8f6d4e58f612a2178f9e83588/libs/libsettings/libsettings-ui.css",
                "sha": "43a6d3eba0af6f5e197064c7d0054a2ad725cd553c112f3b7427cd4830f2a75f",
                "sourceId": "https://raw.githubusercontent.com/Trilium-Community/trilium-scripts/refs/heads/main/libs/libsettings/libsettings-ui.css"
            }
        ],
        "children": [
            {
                "parent": "root",
                "child": "readme"
            },
            {
                "parent": "root",
                "child": "widget"
            },
            {
                "parent": "widget",
                "child": "lib"
            },
            {
                "parent": "widget",
                "child": "libsettings-ui"
            },
            {
                "parent": "root",
                "child": "newtab-widget"
            },
            {
                "parent": "newtab-widget",
                "child": "lib"
            },
            {
                "parent": "newtab-widget",
                "child": "libsettings-ui"
            },
            {
                "parent": "root",
                "child": "newtab-startup"
            },
            {
                "parent": "root",
                "child": "useragent-startup"
            },
            {
                "parent": "useragent-startup",
                "child": "lib"
            },
            {
                "parent": "useragent-startup",
                "child": "libsettings-ui"
            },
            {
                "parent": "root",
                "child": "newtab-launcher"
            },
            {
                "parent": "root",
                "child": "settings-launcher"
            },
            {
                "parent": "settings-launcher",
                "child": "settings"
            },
            {
                "parent": "settings",
                "child": "libsettings-ui"
            },
            {
                "parent": "settings",
                "child": "lib"
            },
            {
                "parent": "settings-launcher",
                "child": "schema"
            },
            {
                "parent": "settings-launcher",
                "child": "defaults"
            },
            {
                "parent": "libsettings-ui",
                "child": "libsettings-core"
            },
            {
                "parent": "libsettings-ui",
                "child": "libsettings-style"
            },
            {
                "parent": "persistence",
                "child": "config"
            },
            {
                "parent": "lib",
                "child": "libsponsorblock"
            },
            {
                "parent": "widget",
                "child": "libsponsorblock"
            }
        ],
        "relations": [
            {
                "from": "widget",
                "type": "schemaNote",
                "to": "schema"
            },
            {
                "from": "widget",
                "type": "configNote",
                "to": "config"
            },
            {
                "from": "newtab-widget",
                "type": "schemaNote",
                "to": "schema"
            },
            {
                "from": "newtab-widget",
                "type": "configNote",
                "to": "config"
            },
            {
                "from": "newtab-startup",
                "type": "newTabScriptNote",
                "to": "newtab-launcher"
            },
            {
                "from": "settings-launcher",
                "type": "renderNote",
                "to": "settings"
            },
            {
                "from": "settings",
                "type": "schemaNote",
                "to": "schema"
            },
            {
                "from": "settings",
                "type": "configNote",
                "to": "config"
            },
            {
                "from": "config",
                "type": "sourceConfig",
                "to": "defaults"
            },
            {
                "from": "useragent-startup",
                "type": "schemaNote",
                "to": "schema"
            },
            {
                "from": "useragent-startup",
                "type": "configNote",
                "to": "config"
            }
        ],
        "labels": [
            {
                "note": "widget",
                "name": "widget",
                "value": ""
            },
            {
                "note": "newtab-startup",
                "name": "run",
                "value": "frontendStartup"
            },
            {
                "note": "settings-launcher",
                "name": "iconClass",
                "value": "bx bx-globe"
            },
            {
                "note": "libsettings-style",
                "name": "appCss",
                "value": ""
            },
            {
                "note": "newtab-widget",
                "name": "widget",
                "value": ""
            },
            {
                "note": "useragent-startup",
                "name": "run",
                "value": "frontendStartup"
            }
        ],
        "readmeNote": "readme",
        "settings": {
            "schema": "schema",
            "defaults": "defaults",
            "config": "config"
        }
    },
    "contentHash": "0d97de2d28e5c0d7d577c09349a77b66a3876b98b58787be4b9f34c0d8bc4cd4"
}
