{
    "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. 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/BeatLink/trilium-scripts/tree/main/addons/web-preview@beatlink",
    "license": "GPL-3.0-or-later",
    "latestVersion": "2.7.0",
    "type": "widget",
    "readme": "README.md",
    "manifestSourceUrl": "https://beatlink.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/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/web-preview@beatlink/README.md",
                "renderAsHTML": true,
                "sha": "d061d4c3af14fec3c28bab2f864b15b85f345167bf87a7859c93e1457b4d6c40",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/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/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/web-preview@beatlink/webViewToolbarWidget.jsx",
                "sha": "3bd8a2c16029111baedc8df961d12dd78a318923af36e2e1ed883f8950737be4",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/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/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/web-preview@beatlink/libWebPreview.js",
                "sha": "74b197f72157e8fe3f818c2005abd6b6970bcfd656f9c22885c94e974432237e",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/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/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/libs/libsponsorblock/libsponsorblock.js",
                "sha": "6a62db2d376a2ccb389bc5a69fa143e3b0ce470cf5bc2d4c2afe40b642b7a932",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/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/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/web-preview@beatlink/newTabWidget.jsx",
                "sha": "1d9f1b674706fc0e8c7cf62e898251e6c460bab44fb0d661407b0c67f07c6ef1",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/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/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/web-preview@beatlink/newTabLauncher.js",
                "sha": "77fe6bce64e17f3726027c1f18e45336b1124e87fd52b985a7b9e99753ec17b7",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/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/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/web-preview@beatlink/newTabStartup.js",
                "sha": "24abdf5b2adc31c29d0513286c493659e54e12d958b8c38f61c24bef8b43e4a1",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/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/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/web-preview@beatlink/userAgentStartup.js",
                "sha": "92b695346f691c7f63193da8375d7def150cc286292b01bdb484789717dd05d9",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/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/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/web-preview@beatlink/settings.jsx",
                "sha": "810e6a76eea1eefaadbc445cda1f4e24e89fba0c7413e51fb4289317ee046d44",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/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/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/web-preview@beatlink/schema.json",
                "sha": "6389dc092c6f7700a84458ff1b424693f1661e853c57e55f1ab6b758df98538f",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/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/BeatLink/trilium-scripts/b053fc798f431665831d2f7cb02d9197da958d0b/addons/web-preview@beatlink/defaults.json",
                "sha": "b4ec67a91a6115ae9524b05d6eb614ff180d464380765de64b4dd5c76c424f02",
                "sourceId": "https://raw.githubusercontent.com/BeatLink/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/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": "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": "8feb6ef56f1eae66d9315d0fdd533a8c9208aa16178816801af5ba4f1a104637"
}
