extension-develop 2.0.0-rc.9 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +204 -0
- package/dist/add-content-script-wrapper.js +1777 -0
- package/dist/add-hmr-accept-code.js +95 -3
- package/dist/build.d.ts +2 -0
- package/dist/cleanup.d.ts +1 -0
- package/dist/deprecated-shadow-root.js +115 -14
- package/dist/dev.d.ts +2 -0
- package/dist/develop-lib/config-types.d.ts +85 -0
- package/dist/develop-lib/extract-from-zip.d.ts +1 -0
- package/dist/develop-lib/find-nearest-package.d.ts +2 -0
- package/dist/develop-lib/generate-extension-types.d.ts +1 -0
- package/dist/develop-lib/generate-zip.d.ts +2 -0
- package/dist/develop-lib/get-extension-config.d.ts +6 -0
- package/dist/develop-lib/get-project-path.d.ts +6 -0
- package/dist/develop-lib/install-dependencies.d.ts +2 -0
- package/dist/develop-lib/messages.d.ts +35 -0
- package/dist/develop-lib/validate-user-dependencies.d.ts +1 -0
- package/dist/ensure-hmr-for-scripts.js +74 -3
- package/dist/extensions/chrome-manager-extension/background.js +1 -1
- package/dist/extensions/chrome-manager-extension/images/logo.png +0 -0
- package/dist/extensions/chrome-manager-extension/manifest.json +3 -3
- package/dist/extensions/chrome-manager-extension/pages/welcome.html +3 -6
- package/dist/extensions/chrome-manager-extension/reload-service.js +214 -62
- package/dist/extensions/chromium-based-manager-extension/background.js +1 -1
- package/dist/extensions/chromium-based-manager-extension/images/logo.png +0 -0
- package/dist/extensions/chromium-based-manager-extension/manifest.json +3 -3
- package/dist/extensions/chromium-based-manager-extension/pages/welcome.html +3 -6
- package/dist/extensions/chromium-based-manager-extension/reload-service.js +185 -28
- package/dist/extensions/edge-manager-extension/background.js +1 -1
- package/dist/extensions/edge-manager-extension/images/logo.png +0 -0
- package/dist/extensions/edge-manager-extension/manifest.json +3 -3
- package/dist/extensions/edge-manager-extension/pages/welcome.html +3 -6
- package/dist/extensions/edge-manager-extension/reload-service.js +223 -69
- package/dist/extensions/firefox-manager-extension/background.js +40 -12
- package/dist/extensions/firefox-manager-extension/define-initial-tab.js +10 -12
- package/dist/extensions/firefox-manager-extension/images/logo.png +0 -0
- package/dist/extensions/firefox-manager-extension/manifest.json +4 -5
- package/dist/extensions/firefox-manager-extension/pages/welcome.html +3 -6
- package/dist/extensions/firefox-manager-extension/reload-service.js +113 -75
- package/dist/extensions/gecko-based-manager-extension/background.js +1 -1
- package/dist/extensions/gecko-based-manager-extension/define-initial-tab.js +7 -4
- package/dist/extensions/gecko-based-manager-extension/images/logo.png +0 -0
- package/dist/extensions/gecko-based-manager-extension/manifest.json +3 -3
- package/dist/extensions/gecko-based-manager-extension/pages/welcome.html +3 -6
- package/dist/extensions/gecko-based-manager-extension/reload-service.js +54 -26
- package/dist/inject-chromium-client-loader.js +144 -22
- package/dist/inject-firefox-client-loader.js +164 -47
- package/dist/minimum-chromium-file.js +25 -0
- package/dist/minimum-content-file.js +5 -0
- package/dist/minimum-firefox-file.js +17 -0
- package/dist/minimum-script-file.js +5 -0
- package/dist/module.d.ts +8 -95
- package/dist/module.js +10543 -128
- package/dist/preview.d.ts +2 -0
- package/dist/rslib.config.d.ts +3 -0
- package/dist/start.d.ts +2 -0
- package/dist/types.d.ts +11 -0
- package/dist/vitest.config.d.mts +2 -0
- package/dist/webpack/dev-server.d.ts +3 -0
- package/dist/webpack/plugin-browsers/browsers-lib/add-progress-bar.d.ts +1 -0
- package/dist/webpack/plugin-browsers/browsers-lib/constants.d.ts +5 -0
- package/dist/webpack/plugin-browsers/browsers-lib/dynamic-extension-manager.d.ts +35 -0
- package/dist/webpack/plugin-browsers/browsers-lib/html-merge.d.ts +1 -0
- package/dist/webpack/plugin-browsers/browsers-lib/instance-manager.d.ts +71 -0
- package/dist/webpack/plugin-browsers/browsers-lib/messages.d.ts +161 -0
- package/dist/webpack/plugin-browsers/browsers-lib/rdp-wire.d.ts +7 -0
- package/dist/webpack/plugin-browsers/browsers-lib/shared-utils.d.ts +16 -0
- package/dist/webpack/plugin-browsers/browsers-types.d.ts +131 -0
- package/dist/webpack/plugin-browsers/index.d.ts +41 -0
- package/dist/webpack/plugin-browsers/run-chromium/browser-config.d.ts +3 -0
- package/dist/webpack/plugin-browsers/run-chromium/create-profile.d.ts +10 -0
- package/dist/webpack/plugin-browsers/run-chromium/index.d.ts +28 -0
- package/dist/webpack/plugin-browsers/run-chromium/master-preferences.d.ts +161 -0
- package/dist/webpack/plugin-browsers/run-chromium/setup-chrome-inspection/cdp-client.d.ts +29 -0
- package/dist/webpack/plugin-browsers/run-chromium/setup-chrome-inspection/index.d.ts +25 -0
- package/dist/webpack/plugin-browsers/run-firefox/firefox/binary-detector.d.ts +15 -0
- package/dist/webpack/plugin-browsers/run-firefox/firefox/browser-config.d.ts +7 -0
- package/dist/webpack/plugin-browsers/run-firefox/firefox/create-profile.d.ts +13 -0
- package/dist/webpack/plugin-browsers/run-firefox/firefox/master-preferences.d.ts +95 -0
- package/dist/webpack/plugin-browsers/run-firefox/index.d.ts +26 -0
- package/dist/webpack/plugin-browsers/run-firefox/remote-firefox/index.d.ts +13 -0
- package/dist/webpack/plugin-browsers/run-firefox/remote-firefox/message-utils.d.ts +2 -0
- package/dist/webpack/plugin-browsers/run-firefox/remote-firefox/messaging-client.d.ts +42 -0
- package/dist/webpack/plugin-browsers/run-firefox/remote-firefox/setup-firefox-inspection.d.ts +31 -0
- package/dist/webpack/plugin-compatibility/feature-browser-specific-fields.d.ts +9 -0
- package/dist/webpack/plugin-compatibility/feature-polyfill.d.ts +12 -0
- package/dist/webpack/plugin-compatibility/index.d.ts +13 -0
- package/dist/webpack/plugin-compilation/clean-dist.d.ts +8 -0
- package/dist/webpack/plugin-compilation/env.d.ts +9 -0
- package/dist/webpack/plugin-compilation/index.d.ts +12 -0
- package/dist/webpack/plugin-css/common-style-loaders.d.ts +8 -0
- package/dist/webpack/plugin-css/css-in-content-script-loader.d.ts +11 -0
- package/dist/webpack/plugin-css/css-in-html-loader.d.ts +8 -0
- package/dist/webpack/plugin-css/css-tools/less.d.ts +4 -0
- package/dist/webpack/plugin-css/css-tools/postcss.d.ts +3 -0
- package/dist/webpack/plugin-css/css-tools/sass.d.ts +4 -0
- package/dist/webpack/plugin-css/css-tools/stylelint.d.ts +4 -0
- package/dist/webpack/plugin-css/css-tools/tailwind.d.ts +2 -0
- package/dist/webpack/plugin-css/index.d.ts +9 -0
- package/dist/webpack/plugin-css/is-content-script.d.ts +1 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/action.d.ts +2 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/background.d.ts +2 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/browser_action.d.ts +2 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/chrome_url_overrides.d.ts +2 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/devtools_page.d.ts +2 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/index.d.ts +2 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/options_ui.d.ts +2 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/page_action.d.ts +2 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/sandbox.d.ts +2 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/side_panel.d.ts +2 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/html-fields/sidebar_action.d.ts +2 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/icons-fields/action.d.ts +2 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/icons-fields/browser_action.d.ts +2 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/icons-fields/browser_action.theme_icons.d.ts +2 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/icons-fields/icons.d.ts +2 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/icons-fields/index.d.ts +2 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/icons-fields/normalize.d.ts +6 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/icons-fields/page_action.d.ts +2 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/icons-fields/sidebar_action.d.ts +2 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/index.d.ts +19 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/json-fields/declarative_net_request.d.ts +2 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/json-fields/index.d.ts +2 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/json-fields/storage.d.ts +2 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/locales-fields/index.d.ts +1 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/normalize.d.ts +10 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/scripts-fields/background.d.ts +2 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/scripts-fields/content_scripts.d.ts +2 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/scripts-fields/index.d.ts +2 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/scripts-fields/service_worker.d.ts +2 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/scripts-fields/user_scripts.d.ts +2 -0
- package/dist/webpack/plugin-extension/data/manifest-fields/web-resources-fields/index.d.ts +2 -0
- package/dist/webpack/plugin-extension/data/special-folders/generate-entries.d.ts +4 -0
- package/dist/webpack/plugin-extension/data/special-folders/index.d.ts +12 -0
- package/dist/webpack/plugin-extension/feature-html/__spec__/html-lib/test-utils.d.ts +18 -0
- package/dist/webpack/plugin-extension/feature-html/html-lib/parse-html.d.ts +8 -0
- package/dist/webpack/plugin-extension/feature-html/html-lib/patch-html.d.ts +8 -0
- package/dist/webpack/plugin-extension/feature-html/html-lib/utils.d.ts +18 -0
- package/dist/webpack/plugin-extension/feature-html/index.d.ts +37 -0
- package/dist/webpack/plugin-extension/feature-html/steps/add-assets-to-compilation.d.ts +11 -0
- package/dist/webpack/plugin-extension/feature-html/steps/add-scripts-and-styles-to-compilation.d.ts +10 -0
- package/dist/webpack/plugin-extension/feature-html/steps/add-to-file-dependencies.d.ts +10 -0
- package/dist/webpack/plugin-extension/feature-html/steps/emit-html-file.d.ts +9 -0
- package/dist/webpack/plugin-extension/feature-html/steps/ensure-hmr-for-scripts.d.ts +2 -0
- package/dist/webpack/plugin-extension/feature-html/steps/handle-common-errors.d.ts +10 -0
- package/dist/webpack/plugin-extension/feature-html/steps/minimum-script-file.d.ts +1 -0
- package/dist/webpack/plugin-extension/feature-html/steps/throw-if-recompile-is-needed.d.ts +13 -0
- package/dist/webpack/plugin-extension/feature-html/steps/update-html-file.d.ts +10 -0
- package/dist/webpack/plugin-extension/feature-icons/index.d.ts +25 -0
- package/dist/webpack/plugin-extension/feature-icons/steps/add-to-file-dependencies.d.ts +9 -0
- package/dist/webpack/plugin-extension/feature-icons/steps/emit-file.d.ts +9 -0
- package/dist/webpack/plugin-extension/feature-json/index.d.ts +18 -0
- package/dist/webpack/plugin-extension/feature-locales/get-locales.d.ts +1 -0
- package/dist/webpack/plugin-extension/feature-locales/index.d.ts +13 -0
- package/dist/webpack/plugin-extension/feature-manifest/index.d.ts +23 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/background.d.ts +10 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/chrome_url_overrides.d.ts +8 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/commands.d.ts +16 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/content_scripts.d.ts +7 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/content_security_policy.d.ts +4 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/devtools_page.d.ts +4 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/icons.d.ts +6 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/index.d.ts +2 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/omnibox.d.ts +2 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/options_page.d.ts +4 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/options_ui.d.ts +8 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/page_action.d.ts +8 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/permissions.d.ts +4 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/sandbox.d.ts +7 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/sidebar_action.d.ts +2 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/storage.d.ts +6 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/theme.d.ts +2 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/user_scripts.d.ts +2 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/common/web_accessible_resources.d.ts +9 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/index.d.ts +2 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv2/background.d.ts +10 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv2/browser_action.d.ts +12 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv2/chrome_settings_overrides.d.ts +24 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv2/index.d.ts +2 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv2/page_action.d.ts +1 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv2/sidebar_action.d.ts +1 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv2/theme_experiment.d.ts +2 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv3/action.d.ts +8 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv3/background.d.ts +10 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv3/declarative_net_request.d.ts +2 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv3/host_permissions.d.ts +2 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv3/index.d.ts +2 -0
- package/dist/webpack/plugin-extension/feature-manifest/manifest-overrides/mv3/side_panel.d.ts +2 -0
- package/dist/webpack/plugin-extension/feature-manifest/steps/add-dependencies.d.ts +6 -0
- package/dist/webpack/plugin-extension/feature-manifest/steps/check-manifest-files.d.ts +17 -0
- package/dist/webpack/plugin-extension/feature-manifest/steps/emit-manifest.d.ts +7 -0
- package/dist/webpack/plugin-extension/feature-manifest/steps/throw-if-recompile.d.ts +11 -0
- package/dist/webpack/plugin-extension/feature-manifest/steps/update-manifest.d.ts +9 -0
- package/dist/webpack/plugin-extension/feature-scripts/index.d.ts +27 -0
- package/dist/webpack/plugin-extension/feature-scripts/scripts-lib/utils.d.ts +3 -0
- package/dist/webpack/plugin-extension/feature-scripts/steps/add-content-script-wrapper.d.ts +2 -0
- package/dist/webpack/plugin-extension/feature-scripts/steps/add-hmr-accept-code.d.ts +2 -0
- package/dist/webpack/plugin-extension/feature-scripts/steps/add-public-path-for-main-world.d.ts +11 -0
- package/dist/webpack/plugin-extension/feature-scripts/steps/add-public-path-runtime-module.d.ts +4 -0
- package/dist/webpack/plugin-extension/feature-scripts/steps/add-scripts.d.ts +9 -0
- package/dist/webpack/plugin-extension/feature-scripts/steps/deprecated-shadow-root.d.ts +2 -0
- package/dist/webpack/plugin-extension/feature-scripts/steps/javascript-content-script-wrapper.d.ts +1 -0
- package/dist/webpack/plugin-extension/feature-scripts/steps/preact-content-script-wrapper.d.ts +1 -0
- package/dist/webpack/plugin-extension/feature-scripts/steps/react-content-script-wrapper.d.ts +1 -0
- package/dist/webpack/plugin-extension/feature-scripts/steps/svelte-content-script-wrapper.d.ts +1 -0
- package/dist/webpack/plugin-extension/feature-scripts/steps/typescript-content-script-wrapper.d.ts +1 -0
- package/dist/webpack/plugin-extension/feature-scripts/steps/vue-content-script-wrapper.d.ts +1 -0
- package/dist/webpack/plugin-extension/feature-special-folders/copy-public-folder.d.ts +14 -0
- package/dist/webpack/plugin-extension/feature-special-folders/index.d.ts +19 -0
- package/dist/webpack/plugin-extension/feature-special-folders/warn-upon-folder-changes.d.ts +7 -0
- package/dist/webpack/plugin-extension/feature-web-resources/clean-matches.d.ts +7 -0
- package/dist/webpack/plugin-extension/feature-web-resources/index.d.ts +18 -0
- package/dist/webpack/plugin-extension/index.d.ts +10 -0
- package/dist/webpack/plugin-js-frameworks/index.d.ts +13 -0
- package/dist/webpack/plugin-js-frameworks/js-tools/babel.d.ts +16 -0
- package/dist/webpack/plugin-js-frameworks/js-tools/preact.d.ts +3 -0
- package/dist/webpack/plugin-js-frameworks/js-tools/react.d.ts +3 -0
- package/dist/webpack/plugin-js-frameworks/js-tools/svelte.d.ts +3 -0
- package/dist/webpack/plugin-js-frameworks/js-tools/typescript.d.ts +36 -0
- package/dist/webpack/plugin-js-frameworks/js-tools/vue.d.ts +3 -0
- package/dist/webpack/plugin-js-frameworks/load-loader-options.d.ts +1 -0
- package/dist/webpack/plugin-reload/index.d.ts +13 -0
- package/dist/webpack/plugin-reload/reload-lib/messages.d.ts +106 -0
- package/dist/webpack/plugin-reload/reload-types.d.ts +14 -0
- package/dist/webpack/plugin-reload/start-server.d.ts +4 -0
- package/dist/webpack/plugin-reload/steps/create-web-socket-server/index.d.ts +14 -0
- package/dist/webpack/plugin-reload/steps/create-web-socket-server/web-socket-server/broadcast-message.d.ts +2 -0
- package/dist/webpack/plugin-reload/steps/create-web-socket-server/web-socket-server/message-dispatcher.d.ts +2 -0
- package/dist/webpack/plugin-reload/steps/create-web-socket-server/web-socket-server/servers.d.ts +2 -0
- package/dist/webpack/plugin-reload/steps/setup-chromium-reload-client/index.d.ts +3 -0
- package/dist/webpack/plugin-reload/steps/setup-chromium-reload-client/inject-chromium-client-loader.d.ts +9 -0
- package/dist/webpack/plugin-reload/steps/setup-firefox-reload-client/index.d.ts +3 -0
- package/dist/webpack/plugin-reload/steps/setup-firefox-reload-client/inject-firefox-client-loader.d.ts +9 -0
- package/dist/webpack/plugin-reload/steps/setup-reload-strategy/apply-manifest-dev-defaults/index.d.ts +9 -0
- package/dist/webpack/plugin-reload/steps/setup-reload-strategy/apply-manifest-dev-defaults/patch-background.d.ts +15 -0
- package/dist/webpack/plugin-reload/steps/setup-reload-strategy/apply-manifest-dev-defaults/patch-csp.d.ts +5 -0
- package/dist/webpack/plugin-reload/steps/setup-reload-strategy/apply-manifest-dev-defaults/patch-externally-connectable.d.ts +10 -0
- package/dist/webpack/plugin-reload/steps/setup-reload-strategy/apply-manifest-dev-defaults/patch-web-resources.d.ts +10 -0
- package/dist/webpack/plugin-reload/steps/setup-reload-strategy/generate-manager-extension.d.ts +15 -0
- package/dist/webpack/plugin-reload/steps/setup-reload-strategy/index.d.ts +10 -0
- package/dist/webpack/plugin-reload/steps/setup-reload-strategy/target-web-extension-plugin/index.d.ts +13 -0
- package/dist/webpack/plugin-static-assets/index.d.ts +12 -0
- package/dist/webpack/webpack-config.d.ts +14 -0
- package/dist/webpack/webpack-lib/auto-exit.d.ts +1 -0
- package/dist/webpack/webpack-lib/constants.d.ts +4 -0
- package/dist/webpack/webpack-lib/messages.d.ts +121 -0
- package/dist/webpack/webpack-lib/port-manager.d.ts +27 -0
- package/dist/webpack/webpack-lib/utils.d.ts +20 -0
- package/dist/webpack/webpack-types.d.ts +49 -0
- package/package.json +64 -27
- package/dist/depreacated-shadow-root.js +0 -34
- package/dist/inject-content-css-during-dev.js +0 -10
- package/dist/minimum-chromium-file.mjs +0 -1
- package/dist/minimum-content-file.mjs +0 -1
- package/dist/minimum-firefox-file.mjs +0 -1
- package/dist/resolver-loader.js +0 -1
- package/dist/resolver-module.mjs +0 -1
- package/dist/run-chrome-profile/ChromeFeatureState +0 -1
- package/dist/run-chrome-profile/Default/Affiliation Database +0 -0
- package/dist/run-chrome-profile/Default/AutofillStrikeDatabase/LOG +0 -0
- package/dist/run-chrome-profile/Default/AutofillStrikeDatabase/LOG.old +0 -0
- package/dist/run-chrome-profile/Default/BrowsingTopicsSiteData +0 -0
- package/dist/run-chrome-profile/Default/BrowsingTopicsSiteData-journal +0 -0
- package/dist/run-chrome-profile/Default/BrowsingTopicsState +0 -12
- package/dist/run-chrome-profile/Default/BudgetDatabase/LOCK +0 -0
- package/dist/run-chrome-profile/Default/BudgetDatabase/LOG +0 -0
- package/dist/run-chrome-profile/Default/BudgetDatabase/LOG.old +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/025191c01cb9560a_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/05b7af632a0788c4_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/06d18b346a40f753_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/09442a94267e5d1b_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/0a659b2fa80f7d18_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/0c5ece120a4aa9c4_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/0df08bba9fc5fdac_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/15145040f7f12f31_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/18cae013af62500a_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/1e88f258e3680439_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/207a53d3f4a4c4bc_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/22b58fcf518f5674_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/24111eb856fec6e6_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/257b9ada9582cd59_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/275fd93a285332c0_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/27be01069ada1058_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/2bd215b1cc3c8643_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/2d6ffdfbd670a4e8_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/30a7fd0752f0c20d_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/3164cf42e96b9664_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/31907c8cd5dbb0d7_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/378470234e1889fb_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/39b962857089ba5e_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/3fb3b062de8f8809_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/4496d0a64b8e2ff1_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/459aacad64df1a20_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/492ed577e4693e3f_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/4cb485a7a714929a_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/4ff29ec24ac18d79_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/544232310d1a0a06_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/55ed72b0b4c0b90e_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/57c911b58ffc1b31_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/5f883d2c96d94f47_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/668471e493562a86_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/686b16113c27b51c_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/6995a7c799490d3d_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/6f7f729885fc6405_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/70f5010b6251d3d7_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/78ed79bc5487503a_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/84e415bdea6bf983_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/9046ef8fa437e5d7_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/93d81321f8c35eab_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/94a5260219485fdf_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/961c7a9dcf1d5fe3_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/963f816968a47709_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/97eb05d149fa8180_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/a54fc271588d9d41_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/a7ec2678f15b2b6d_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/b3095246000ea960_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/ba3f88b58ae6c933_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/bbde820c1fee5c3c_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/bf5945304ded8ca6_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/c894826beba9fc11_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/caca5541d401cf41_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/d3c2a489bef951de_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/d9a190d1d7d66bdd_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/d9d9fe0a0f8883f0_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/da5600d748a3d40d_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/e2fbeb70759b0860_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/e32ff760e1b4ec46_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/e5c658ea95c0a29a_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/e85ac8952d7783d7_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/ea75bd91e54a494a_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/ebadaa36379fd994_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/f3a443b4d8db944d_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/f3a70b90dcd40113_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/f4f5420fc5a9003d_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/f9e143e57946c84b_0 +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/index +0 -0
- package/dist/run-chrome-profile/Default/Cache/Cache_Data/index-dir/the-real-index +0 -0
- package/dist/run-chrome-profile/Default/ClientCertificates/LOCK +0 -0
- package/dist/run-chrome-profile/Default/ClientCertificates/LOG +0 -0
- package/dist/run-chrome-profile/Default/ClientCertificates/LOG.old +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/0861135386d2c738_0 +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/19f6466fb9b618ce_0 +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/1b5a04a8f66ab70c_0 +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/20a1d4f1d64a6e4a_0 +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/218fe828c74bdb99_0 +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/3d7a6b9ba7b8e97d_0 +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/476e356260f818d6_0 +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/4ade40caa2a85163_0 +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/56560d269952a184_0 +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/64849f954a94216e_0 +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/6580147029871082_0 +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/6aec1e7616284cdd_0 +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/7d53e29663da0b76_0 +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/838d85c38184d753_0 +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/95a62562b95ac9f9_0 +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/9b6ef7d7a65e720d_0 +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/a096196665df2f44_0 +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/a572b6bb234d4a65_0 +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/a8bfd7ab3bf7adbd_0 +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/b5d00710776b3b78_0 +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/ba446f34fd660131_0 +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/bd25d8bae4a347fb_0 +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/d833cd33af1db7c6_0 +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/d876d0d7d35cd53f_0 +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/d91fc36c8dfd76dc_0 +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/e1435a1865ecedae_0 +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/index +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/js/index-dir/the-real-index +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/wasm/index +0 -0
- package/dist/run-chrome-profile/Default/Code Cache/wasm/index-dir/the-real-index +0 -0
- package/dist/run-chrome-profile/Default/Cookies +0 -0
- package/dist/run-chrome-profile/Default/Cookies-journal +0 -0
- package/dist/run-chrome-profile/Default/DIPS +0 -0
- package/dist/run-chrome-profile/Default/DawnGraphiteCache/data_0 +0 -0
- package/dist/run-chrome-profile/Default/DawnGraphiteCache/data_1 +0 -0
- package/dist/run-chrome-profile/Default/DawnGraphiteCache/data_2 +0 -0
- package/dist/run-chrome-profile/Default/DawnGraphiteCache/data_3 +0 -0
- package/dist/run-chrome-profile/Default/DawnGraphiteCache/index +0 -0
- package/dist/run-chrome-profile/Default/DawnWebGPUCache/data_0 +0 -0
- package/dist/run-chrome-profile/Default/DawnWebGPUCache/data_1 +0 -0
- package/dist/run-chrome-profile/Default/DawnWebGPUCache/data_2 +0 -0
- package/dist/run-chrome-profile/Default/DawnWebGPUCache/data_3 +0 -0
- package/dist/run-chrome-profile/Default/DawnWebGPUCache/index +0 -0
- package/dist/run-chrome-profile/Default/Download Service/EntryDB/LOCK +0 -0
- package/dist/run-chrome-profile/Default/Download Service/EntryDB/LOG +0 -0
- package/dist/run-chrome-profile/Default/Download Service/EntryDB/LOG.old +0 -0
- package/dist/run-chrome-profile/Default/Extension Rules/000003.log +0 -0
- package/dist/run-chrome-profile/Default/Extension Rules/CURRENT +0 -1
- package/dist/run-chrome-profile/Default/Extension Rules/LOCK +0 -0
- package/dist/run-chrome-profile/Default/Extension Rules/LOG +0 -3
- package/dist/run-chrome-profile/Default/Extension Rules/LOG.old +0 -3
- package/dist/run-chrome-profile/Default/Extension Rules/MANIFEST-000001 +0 -0
- package/dist/run-chrome-profile/Default/Extension Scripts/000003.log +0 -0
- package/dist/run-chrome-profile/Default/Extension Scripts/CURRENT +0 -1
- package/dist/run-chrome-profile/Default/Extension Scripts/LOCK +0 -0
- package/dist/run-chrome-profile/Default/Extension Scripts/LOG +0 -3
- package/dist/run-chrome-profile/Default/Extension Scripts/LOG.old +0 -3
- package/dist/run-chrome-profile/Default/Extension Scripts/MANIFEST-000001 +0 -0
- package/dist/run-chrome-profile/Default/Extension State/000003.log +0 -0
- package/dist/run-chrome-profile/Default/Extension State/CURRENT +0 -1
- package/dist/run-chrome-profile/Default/Extension State/LOCK +0 -0
- package/dist/run-chrome-profile/Default/Extension State/LOG +0 -3
- package/dist/run-chrome-profile/Default/Extension State/LOG.old +0 -3
- package/dist/run-chrome-profile/Default/Extension State/MANIFEST-000001 +0 -0
- package/dist/run-chrome-profile/Default/Favicons +0 -0
- package/dist/run-chrome-profile/Default/Favicons-journal +0 -0
- package/dist/run-chrome-profile/Default/Feature Engagement Tracker/AvailabilityDB/LOCK +0 -0
- package/dist/run-chrome-profile/Default/Feature Engagement Tracker/AvailabilityDB/LOG +0 -0
- package/dist/run-chrome-profile/Default/Feature Engagement Tracker/AvailabilityDB/LOG.old +0 -0
- package/dist/run-chrome-profile/Default/Feature Engagement Tracker/EventDB/LOCK +0 -0
- package/dist/run-chrome-profile/Default/Feature Engagement Tracker/EventDB/LOG +0 -0
- package/dist/run-chrome-profile/Default/Feature Engagement Tracker/EventDB/LOG.old +0 -0
- package/dist/run-chrome-profile/Default/GPUCache/data_0 +0 -0
- package/dist/run-chrome-profile/Default/GPUCache/data_1 +0 -0
- package/dist/run-chrome-profile/Default/GPUCache/data_2 +0 -0
- package/dist/run-chrome-profile/Default/GPUCache/data_3 +0 -0
- package/dist/run-chrome-profile/Default/GPUCache/index +0 -0
- package/dist/run-chrome-profile/Default/History +0 -0
- package/dist/run-chrome-profile/Default/History-journal +0 -0
- package/dist/run-chrome-profile/Default/LOCK +0 -0
- package/dist/run-chrome-profile/Default/LOG +0 -0
- package/dist/run-chrome-profile/Default/LOG.old +0 -0
- package/dist/run-chrome-profile/Default/Local Extension Settings/pbpgonifamlpcahjkkkfelffkegofkgg/000003.log +0 -0
- package/dist/run-chrome-profile/Default/Local Extension Settings/pbpgonifamlpcahjkkkfelffkegofkgg/CURRENT +0 -1
- package/dist/run-chrome-profile/Default/Local Extension Settings/pbpgonifamlpcahjkkkfelffkegofkgg/LOCK +0 -0
- package/dist/run-chrome-profile/Default/Local Extension Settings/pbpgonifamlpcahjkkkfelffkegofkgg/LOG +0 -3
- package/dist/run-chrome-profile/Default/Local Extension Settings/pbpgonifamlpcahjkkkfelffkegofkgg/LOG.old +0 -3
- package/dist/run-chrome-profile/Default/Local Extension Settings/pbpgonifamlpcahjkkkfelffkegofkgg/MANIFEST-000001 +0 -0
- package/dist/run-chrome-profile/Default/Local Storage/leveldb/000003.log +0 -0
- package/dist/run-chrome-profile/Default/Local Storage/leveldb/CURRENT +0 -1
- package/dist/run-chrome-profile/Default/Local Storage/leveldb/LOCK +0 -0
- package/dist/run-chrome-profile/Default/Local Storage/leveldb/LOG +0 -3
- package/dist/run-chrome-profile/Default/Local Storage/leveldb/LOG.old +0 -3
- package/dist/run-chrome-profile/Default/Local Storage/leveldb/MANIFEST-000001 +0 -0
- package/dist/run-chrome-profile/Default/Login Data +0 -0
- package/dist/run-chrome-profile/Default/Login Data For Account +0 -0
- package/dist/run-chrome-profile/Default/Login Data For Account-journal +0 -0
- package/dist/run-chrome-profile/Default/Login Data-journal +0 -0
- package/dist/run-chrome-profile/Default/Network Action Predictor +0 -0
- package/dist/run-chrome-profile/Default/Network Action Predictor-journal +0 -0
- package/dist/run-chrome-profile/Default/Network Persistent State +0 -1
- package/dist/run-chrome-profile/Default/PersistentOriginTrials/LOCK +0 -0
- package/dist/run-chrome-profile/Default/PersistentOriginTrials/LOG +0 -0
- package/dist/run-chrome-profile/Default/PersistentOriginTrials/LOG.old +0 -0
- package/dist/run-chrome-profile/Default/Platform Notifications/000003.log +0 -0
- package/dist/run-chrome-profile/Default/Platform Notifications/CURRENT +0 -1
- package/dist/run-chrome-profile/Default/Platform Notifications/LOCK +0 -0
- package/dist/run-chrome-profile/Default/Platform Notifications/LOG +0 -3
- package/dist/run-chrome-profile/Default/Platform Notifications/LOG.old +0 -3
- package/dist/run-chrome-profile/Default/Platform Notifications/MANIFEST-000001 +0 -0
- package/dist/run-chrome-profile/Default/Preferences +0 -1
- package/dist/run-chrome-profile/Default/PreferredApps +0 -1
- package/dist/run-chrome-profile/Default/README +0 -1
- package/dist/run-chrome-profile/Default/Reporting and NEL +0 -0
- package/dist/run-chrome-profile/Default/Reporting and NEL-journal +0 -0
- package/dist/run-chrome-profile/Default/Safe Browsing Cookies +0 -0
- package/dist/run-chrome-profile/Default/Safe Browsing Cookies-journal +0 -0
- package/dist/run-chrome-profile/Default/Secure Preferences +0 -1
- package/dist/run-chrome-profile/Default/Segmentation Platform/SegmentInfoDB/LOCK +0 -0
- package/dist/run-chrome-profile/Default/Segmentation Platform/SegmentInfoDB/LOG +0 -0
- package/dist/run-chrome-profile/Default/Segmentation Platform/SegmentInfoDB/LOG.old +0 -0
- package/dist/run-chrome-profile/Default/Segmentation Platform/SignalDB/LOCK +0 -0
- package/dist/run-chrome-profile/Default/Segmentation Platform/SignalDB/LOG +0 -0
- package/dist/run-chrome-profile/Default/Segmentation Platform/SignalDB/LOG.old +0 -0
- package/dist/run-chrome-profile/Default/Segmentation Platform/SignalStorageConfigDB/LOCK +0 -0
- package/dist/run-chrome-profile/Default/Segmentation Platform/SignalStorageConfigDB/LOG +0 -0
- package/dist/run-chrome-profile/Default/Segmentation Platform/SignalStorageConfigDB/LOG.old +0 -0
- package/dist/run-chrome-profile/Default/Service Worker/Database/000003.log +0 -0
- package/dist/run-chrome-profile/Default/Service Worker/Database/CURRENT +0 -1
- package/dist/run-chrome-profile/Default/Service Worker/Database/LOCK +0 -0
- package/dist/run-chrome-profile/Default/Service Worker/Database/LOG +0 -3
- package/dist/run-chrome-profile/Default/Service Worker/Database/LOG.old +0 -3
- package/dist/run-chrome-profile/Default/Service Worker/Database/MANIFEST-000001 +0 -0
- package/dist/run-chrome-profile/Default/Service Worker/ScriptCache/013888a1cda32b90_0 +0 -0
- package/dist/run-chrome-profile/Default/Service Worker/ScriptCache/013888a1cda32b90_1 +0 -0
- package/dist/run-chrome-profile/Default/Service Worker/ScriptCache/4cb013792b196a35_0 +0 -0
- package/dist/run-chrome-profile/Default/Service Worker/ScriptCache/7b4fd8111178d5b1_0 +0 -0
- package/dist/run-chrome-profile/Default/Service Worker/ScriptCache/7b4fd8111178d5b1_1 +0 -0
- package/dist/run-chrome-profile/Default/Service Worker/ScriptCache/ba23d8ecda68de77_0 +0 -0
- package/dist/run-chrome-profile/Default/Service Worker/ScriptCache/d0757ff92c7cde0a_0 +0 -0
- package/dist/run-chrome-profile/Default/Service Worker/ScriptCache/d0757ff92c7cde0a_1 +0 -0
- package/dist/run-chrome-profile/Default/Service Worker/ScriptCache/f1cdccba37924bda_0 +0 -0
- package/dist/run-chrome-profile/Default/Service Worker/ScriptCache/index +0 -0
- package/dist/run-chrome-profile/Default/Service Worker/ScriptCache/index-dir/the-real-index +0 -0
- package/dist/run-chrome-profile/Default/Session Storage/000003.log +0 -0
- package/dist/run-chrome-profile/Default/Session Storage/CURRENT +0 -1
- package/dist/run-chrome-profile/Default/Session Storage/LOCK +0 -0
- package/dist/run-chrome-profile/Default/Session Storage/LOG +0 -3
- package/dist/run-chrome-profile/Default/Session Storage/LOG.old +0 -3
- package/dist/run-chrome-profile/Default/Session Storage/MANIFEST-000001 +0 -0
- package/dist/run-chrome-profile/Default/Sessions/Session_13388296523755223 +0 -0
- package/dist/run-chrome-profile/Default/Sessions/Session_13388296533026691 +0 -0
- package/dist/run-chrome-profile/Default/Sessions/Tabs_13388296523963369 +0 -0
- package/dist/run-chrome-profile/Default/Sessions/Tabs_13388296533217699 +0 -0
- package/dist/run-chrome-profile/Default/Shared Dictionary/cache/index +0 -0
- package/dist/run-chrome-profile/Default/Shared Dictionary/cache/index-dir/the-real-index +0 -0
- package/dist/run-chrome-profile/Default/Shared Dictionary/db +0 -0
- package/dist/run-chrome-profile/Default/Shared Dictionary/db-journal +0 -0
- package/dist/run-chrome-profile/Default/SharedStorage +0 -0
- package/dist/run-chrome-profile/Default/Shortcuts +0 -0
- package/dist/run-chrome-profile/Default/Shortcuts-journal +0 -0
- package/dist/run-chrome-profile/Default/Site Characteristics Database/000003.log +0 -0
- package/dist/run-chrome-profile/Default/Site Characteristics Database/CURRENT +0 -1
- package/dist/run-chrome-profile/Default/Site Characteristics Database/LOCK +0 -0
- package/dist/run-chrome-profile/Default/Site Characteristics Database/LOG +0 -3
- package/dist/run-chrome-profile/Default/Site Characteristics Database/LOG.old +0 -3
- package/dist/run-chrome-profile/Default/Site Characteristics Database/MANIFEST-000001 +0 -0
- package/dist/run-chrome-profile/Default/Sync Data/LevelDB/000003.log +0 -0
- package/dist/run-chrome-profile/Default/Sync Data/LevelDB/CURRENT +0 -1
- package/dist/run-chrome-profile/Default/Sync Data/LevelDB/LOCK +0 -0
- package/dist/run-chrome-profile/Default/Sync Data/LevelDB/LOG +0 -3
- package/dist/run-chrome-profile/Default/Sync Data/LevelDB/LOG.old +0 -3
- package/dist/run-chrome-profile/Default/Sync Data/LevelDB/MANIFEST-000001 +0 -0
- package/dist/run-chrome-profile/Default/Top Sites +0 -0
- package/dist/run-chrome-profile/Default/Top Sites-journal +0 -0
- package/dist/run-chrome-profile/Default/TransportSecurity +0 -1
- package/dist/run-chrome-profile/Default/Trust Tokens +0 -0
- package/dist/run-chrome-profile/Default/Trust Tokens-journal +0 -0
- package/dist/run-chrome-profile/Default/Visited Links +0 -0
- package/dist/run-chrome-profile/Default/Web Data +0 -0
- package/dist/run-chrome-profile/Default/Web Data-journal +0 -0
- package/dist/run-chrome-profile/Default/WebStorage/QuotaManager +0 -0
- package/dist/run-chrome-profile/Default/WebStorage/QuotaManager-journal +0 -0
- package/dist/run-chrome-profile/Default/chrome_cart_db/LOCK +0 -0
- package/dist/run-chrome-profile/Default/chrome_cart_db/LOG +0 -0
- package/dist/run-chrome-profile/Default/chrome_cart_db/LOG.old +0 -0
- package/dist/run-chrome-profile/Default/commerce_subscription_db/LOCK +0 -0
- package/dist/run-chrome-profile/Default/commerce_subscription_db/LOG +0 -0
- package/dist/run-chrome-profile/Default/commerce_subscription_db/LOG.old +0 -0
- package/dist/run-chrome-profile/Default/discounts_db/LOCK +0 -0
- package/dist/run-chrome-profile/Default/discounts_db/LOG +0 -0
- package/dist/run-chrome-profile/Default/discounts_db/LOG.old +0 -0
- package/dist/run-chrome-profile/Default/heavy_ad_intervention_opt_out.db +0 -0
- package/dist/run-chrome-profile/Default/heavy_ad_intervention_opt_out.db-journal +0 -0
- package/dist/run-chrome-profile/Default/optimization_guide_hint_cache_store/LOCK +0 -0
- package/dist/run-chrome-profile/Default/optimization_guide_hint_cache_store/LOG +0 -0
- package/dist/run-chrome-profile/Default/optimization_guide_hint_cache_store/LOG.old +0 -0
- package/dist/run-chrome-profile/Default/parcel_tracking_db/LOCK +0 -0
- package/dist/run-chrome-profile/Default/parcel_tracking_db/LOG +0 -0
- package/dist/run-chrome-profile/Default/parcel_tracking_db/LOG.old +0 -0
- package/dist/run-chrome-profile/Default/passkey_enclave_state +0 -1
- package/dist/run-chrome-profile/Default/shared_proto_db/000003.log +0 -0
- package/dist/run-chrome-profile/Default/shared_proto_db/CURRENT +0 -1
- package/dist/run-chrome-profile/Default/shared_proto_db/LOCK +0 -0
- package/dist/run-chrome-profile/Default/shared_proto_db/LOG +0 -3
- package/dist/run-chrome-profile/Default/shared_proto_db/LOG.old +0 -3
- package/dist/run-chrome-profile/Default/shared_proto_db/MANIFEST-000001 +0 -0
- package/dist/run-chrome-profile/Default/shared_proto_db/metadata/000003.log +0 -0
- package/dist/run-chrome-profile/Default/shared_proto_db/metadata/CURRENT +0 -1
- package/dist/run-chrome-profile/Default/shared_proto_db/metadata/LOCK +0 -0
- package/dist/run-chrome-profile/Default/shared_proto_db/metadata/LOG +0 -3
- package/dist/run-chrome-profile/Default/shared_proto_db/metadata/LOG.old +0 -3
- package/dist/run-chrome-profile/Default/shared_proto_db/metadata/MANIFEST-000001 +0 -0
- package/dist/run-chrome-profile/Default/trusted_vault.pb +0 -2
- package/dist/run-chrome-profile/GrShaderCache/data_0 +0 -0
- package/dist/run-chrome-profile/GrShaderCache/data_1 +0 -0
- package/dist/run-chrome-profile/GrShaderCache/data_2 +0 -0
- package/dist/run-chrome-profile/GrShaderCache/data_3 +0 -0
- package/dist/run-chrome-profile/GrShaderCache/index +0 -0
- package/dist/run-chrome-profile/GraphiteDawnCache/data_0 +0 -0
- package/dist/run-chrome-profile/GraphiteDawnCache/data_1 +0 -0
- package/dist/run-chrome-profile/GraphiteDawnCache/data_2 +0 -0
- package/dist/run-chrome-profile/GraphiteDawnCache/data_3 +0 -0
- package/dist/run-chrome-profile/GraphiteDawnCache/f_000001 +0 -0
- package/dist/run-chrome-profile/GraphiteDawnCache/f_000002 +0 -0
- package/dist/run-chrome-profile/GraphiteDawnCache/f_000003 +0 -0
- package/dist/run-chrome-profile/GraphiteDawnCache/f_000004 +0 -0
- package/dist/run-chrome-profile/GraphiteDawnCache/index +0 -0
- package/dist/run-chrome-profile/Last Version +0 -1
- package/dist/run-chrome-profile/Local State +0 -1
- package/dist/run-chrome-profile/ShaderCache/data_0 +0 -0
- package/dist/run-chrome-profile/ShaderCache/data_1 +0 -0
- package/dist/run-chrome-profile/ShaderCache/data_2 +0 -0
- package/dist/run-chrome-profile/ShaderCache/data_3 +0 -0
- package/dist/run-chrome-profile/ShaderCache/index +0 -0
- package/dist/run-chrome-profile/Variations +0 -1
- package/dist/run-chrome-profile/first_party_sets.db +0 -0
- package/dist/run-chrome-profile/first_party_sets.db-journal +0 -0
- package/dist/run-chrome-profile/optimization_guide_model_store/13/E6DC4029A1E4B4C1/3CF18F0F16C8CE09/model-info.pb +0 -1
- package/dist/run-chrome-profile/optimization_guide_model_store/13/E6DC4029A1E4B4C1/3CF18F0F16C8CE09/model.tflite +0 -0
- package/dist/run-chrome-profile/optimization_guide_model_store/15/E6DC4029A1E4B4C1/D5BCEC4E5AAF74EA/VERSION.txt +0 -4
- package/dist/run-chrome-profile/optimization_guide_model_store/15/E6DC4029A1E4B4C1/D5BCEC4E5AAF74EA/model-info.pb +0 -0
- package/dist/run-chrome-profile/optimization_guide_model_store/15/E6DC4029A1E4B4C1/D5BCEC4E5AAF74EA/model.tflite +0 -0
- package/dist/run-chrome-profile/optimization_guide_model_store/15/E6DC4029A1E4B4C1/D5BCEC4E5AAF74EA/override_list.pb.gz +0 -0
- package/dist/run-chrome-profile/optimization_guide_model_store/2/E6DC4029A1E4B4C1/52963069BD02697B/model-info.pb +0 -1
- package/dist/run-chrome-profile/optimization_guide_model_store/2/E6DC4029A1E4B4C1/52963069BD02697B/model.tflite +0 -0
- package/dist/run-chrome-profile/optimization_guide_model_store/20/E6DC4029A1E4B4C1/AEDAEAFE1BA40A26/model-info.pb +0 -0
- package/dist/run-chrome-profile/optimization_guide_model_store/20/E6DC4029A1E4B4C1/AEDAEAFE1BA40A26/model.tflite +0 -0
- package/dist/run-chrome-profile/optimization_guide_model_store/24/E6DC4029A1E4B4C1/7C893FFC02F661B8/enus_denylist_encoded_241007.txt +0 -580
- package/dist/run-chrome-profile/optimization_guide_model_store/24/E6DC4029A1E4B4C1/7C893FFC02F661B8/model-info.pb +0 -5
- package/dist/run-chrome-profile/optimization_guide_model_store/24/E6DC4029A1E4B4C1/7C893FFC02F661B8/model.tflite +0 -0
- package/dist/run-chrome-profile/optimization_guide_model_store/24/E6DC4029A1E4B4C1/7C893FFC02F661B8/vocab_en-us.txt +0 -303
- package/dist/run-chrome-profile/optimization_guide_model_store/25/E6DC4029A1E4B4C1/F87CF299C0E14D75/model-info.pb +0 -0
- package/dist/run-chrome-profile/optimization_guide_model_store/25/E6DC4029A1E4B4C1/F87CF299C0E14D75/model.tflite +0 -0
- package/dist/run-chrome-profile/optimization_guide_model_store/25/E6DC4029A1E4B4C1/F87CF299C0E14D75/visual_model_desktop.tflite +0 -0
- package/dist/run-chrome-profile/optimization_guide_model_store/26/E6DC4029A1E4B4C1/92C138FC1F6BC7A5/model-info.pb +0 -0
- package/dist/run-chrome-profile/optimization_guide_model_store/26/E6DC4029A1E4B4C1/92C138FC1F6BC7A5/model.tflite +0 -0
- package/dist/run-chrome-profile/optimization_guide_model_store/45/E6DC4029A1E4B4C1/99FA23F9C3B6B1E9/model-info.pb +0 -0
- package/dist/run-chrome-profile/optimization_guide_model_store/45/E6DC4029A1E4B4C1/99FA23F9C3B6B1E9/model.tflite +0 -0
- package/dist/run-chrome-profile/optimization_guide_model_store/9/E6DC4029A1E4B4C1/201FE93993560CC9/model-info.pb +0 -0
- package/dist/run-chrome-profile/optimization_guide_model_store/9/E6DC4029A1E4B4C1/201FE93993560CC9/model.tflite +0 -0
- package/dist/run-chrome-profile/segmentation_platform/ukm_db +0 -0
- package/dist/run-chrome-profile/segmentation_platform/ukm_db-wal +0 -0
- package/dist/tailwind.config.js +0 -25
- /package/dist/{minimum-script-file.mjs → webpack/plugin-extension/feature-scripts/steps/minimum-content-file.d.ts} +0 -0
- /package/dist/{run-chrome-profile/Default/Affiliation Database-journal → webpack/plugin-reload/steps/setup-chromium-reload-client/minimum-chromium-file.d.ts} +0 -0
- /package/dist/{run-chrome-profile/Default/AutofillStrikeDatabase/LOCK → webpack/plugin-reload/steps/setup-firefox-reload-client/minimum-firefox-file.d.ts} +0 -0
|
@@ -1,62 +1,135 @@
|
|
|
1
1
|
let webSocket = null
|
|
2
|
+
let triedWsFallback = false
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
// Get instance ID from the service worker context
|
|
5
|
+
const instanceId = '__INSTANCE_ID__'
|
|
6
|
+
|
|
7
|
+
async function connect() {
|
|
4
8
|
if (webSocket) {
|
|
5
9
|
// If already connected, do nothing
|
|
6
10
|
return
|
|
7
11
|
}
|
|
8
12
|
|
|
9
|
-
|
|
13
|
+
const port = '__RELOAD_PORT__'
|
|
14
|
+
let reconnectAttempts = 0
|
|
15
|
+
const maxReconnectAttempts = 10
|
|
16
|
+
const baseBackoffMs = 250
|
|
17
|
+
const maxBackoffMs = 5000
|
|
10
18
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
webSocket.close()
|
|
14
|
-
}
|
|
19
|
+
const connectTo = (url) => {
|
|
20
|
+
webSocket = new WebSocket(url)
|
|
15
21
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
console.info('[Reload Service] Connection ready.')
|
|
25
|
-
await requestInitialLoadData()
|
|
22
|
+
webSocket.onerror = (_event) => {
|
|
23
|
+
try {
|
|
24
|
+
webSocket && webSocket.close()
|
|
25
|
+
} catch {}
|
|
26
|
+
if (!triedWsFallback) {
|
|
27
|
+
triedWsFallback = true
|
|
28
|
+
connectTo(`ws://127.0.0.1:${port}`)
|
|
29
|
+
}
|
|
26
30
|
}
|
|
27
31
|
|
|
28
|
-
|
|
32
|
+
webSocket.onopen = () => {
|
|
33
|
+
reconnectAttempts = 0
|
|
29
34
|
console.info(
|
|
30
|
-
`[
|
|
35
|
+
`[Extension.js] Connection opened. Listening on port ${port}...`
|
|
31
36
|
)
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
let reloadDebounce
|
|
40
|
+
webSocket.onmessage = async (event) => {
|
|
41
|
+
const message = JSON.parse(event.data)
|
|
42
|
+
|
|
43
|
+
// Only process messages for this instance
|
|
44
|
+
if (message.instanceId && message.instanceId !== instanceId) {
|
|
45
|
+
console.log(
|
|
46
|
+
`[Reload Service] Ignoring message from wrong instance: ${message.instanceId} (expected: ${instanceId})`
|
|
47
|
+
)
|
|
48
|
+
return
|
|
49
|
+
}
|
|
32
50
|
|
|
33
|
-
|
|
51
|
+
if (message.status === 'serverReady') {
|
|
52
|
+
console.info(
|
|
53
|
+
`[Extension.js] Server ready. Requesting initial load data...`
|
|
54
|
+
)
|
|
55
|
+
await requestInitialLoadData()
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
if (message.changedFile) {
|
|
59
|
+
clearTimeout(reloadDebounce)
|
|
60
|
+
reloadDebounce = setTimeout(async () => {
|
|
61
|
+
await messageAllExtensions(message.changedFile)
|
|
62
|
+
}, 200)
|
|
63
|
+
}
|
|
34
64
|
}
|
|
35
|
-
}
|
|
36
65
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
66
|
+
webSocket.onclose = () => {
|
|
67
|
+
console.info('[Extension.js] Connection closed.')
|
|
68
|
+
webSocket = null
|
|
69
|
+
if (reconnectAttempts >= maxReconnectAttempts) return
|
|
70
|
+
reconnectAttempts++
|
|
71
|
+
const backoff = Math.min(
|
|
72
|
+
maxBackoffMs,
|
|
73
|
+
baseBackoffMs * 2 ** reconnectAttempts
|
|
74
|
+
)
|
|
75
|
+
setTimeout(() => connectTo(url), backoff)
|
|
76
|
+
}
|
|
40
77
|
}
|
|
78
|
+
|
|
79
|
+
connectTo(`wss://127.0.0.1:${port}`)
|
|
41
80
|
}
|
|
42
81
|
|
|
43
|
-
|
|
82
|
+
function disconnect() {
|
|
44
83
|
if (webSocket) {
|
|
45
84
|
webSocket.close()
|
|
46
85
|
}
|
|
47
86
|
}
|
|
48
87
|
|
|
88
|
+
async function requestInitialLoadData() {
|
|
89
|
+
const devExtensions = await getDevExtensions()
|
|
90
|
+
|
|
91
|
+
for (const extension of devExtensions) {
|
|
92
|
+
try {
|
|
93
|
+
const response = await browser.runtime.sendMessage(extension.id, {
|
|
94
|
+
initialLoadData: true
|
|
95
|
+
})
|
|
96
|
+
|
|
97
|
+
if (response) {
|
|
98
|
+
// Send the response back to the server with instance ID
|
|
99
|
+
webSocket.send(
|
|
100
|
+
JSON.stringify({
|
|
101
|
+
status: 'clientReady',
|
|
102
|
+
instanceId: instanceId,
|
|
103
|
+
data: response
|
|
104
|
+
})
|
|
105
|
+
)
|
|
106
|
+
}
|
|
107
|
+
} catch (error) {
|
|
108
|
+
console.error(
|
|
109
|
+
`Error sending message to ${extension.id}: ${error.message}`
|
|
110
|
+
)
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
49
115
|
async function getDevExtensions() {
|
|
50
|
-
const allExtensions = await
|
|
116
|
+
const allExtensions = await new Promise((resolve) => {
|
|
117
|
+
try {
|
|
118
|
+
// Firefox MV2 supports callback-style getAll
|
|
119
|
+
browser.management.getAll(resolve)
|
|
120
|
+
} catch {
|
|
121
|
+
// Fallback to promise-based API
|
|
122
|
+
browser.management.getAll().then(resolve)
|
|
123
|
+
}
|
|
124
|
+
})
|
|
51
125
|
|
|
52
126
|
return allExtensions.filter((extension) => {
|
|
53
127
|
return (
|
|
54
128
|
// Do not include itself
|
|
55
129
|
extension.id !== browser.runtime.id &&
|
|
56
|
-
//
|
|
57
|
-
extension.
|
|
58
|
-
|
|
59
|
-
extension.installType === 'development'
|
|
130
|
+
// Show only unpackaged extensions (Firefox reports "temporary")
|
|
131
|
+
(extension.installType === 'development' ||
|
|
132
|
+
extension.installType === 'temporary')
|
|
60
133
|
)
|
|
61
134
|
})
|
|
62
135
|
}
|
|
@@ -70,7 +143,9 @@ async function messageAllExtensions(changedFile) {
|
|
|
70
143
|
for (const extension of devExtensions) {
|
|
71
144
|
try {
|
|
72
145
|
await browser.runtime.sendMessage(extension.id, {changedFile})
|
|
73
|
-
console.info(
|
|
146
|
+
console.info(
|
|
147
|
+
`[Extension.js] Add-On reloaded and ready for instance ${instanceId}.`
|
|
148
|
+
)
|
|
74
149
|
} catch (error) {
|
|
75
150
|
console.error(
|
|
76
151
|
`Error sending message to ${extension.id}: ${error.message}`
|
|
@@ -78,53 +153,16 @@ async function messageAllExtensions(changedFile) {
|
|
|
78
153
|
}
|
|
79
154
|
}
|
|
80
155
|
} else {
|
|
81
|
-
console.info(
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
async function requestInitialLoadData() {
|
|
86
|
-
const devExtensions = await getDevExtensions()
|
|
87
|
-
|
|
88
|
-
const responses = await Promise.all(
|
|
89
|
-
devExtensions.map(async (extension) => {
|
|
90
|
-
try {
|
|
91
|
-
const result = await browser.runtime.sendMessage(extension.id, {
|
|
92
|
-
initialLoadData: true
|
|
93
|
-
})
|
|
94
|
-
|
|
95
|
-
return result
|
|
96
|
-
} catch (error) {
|
|
97
|
-
console.error(
|
|
98
|
-
`Error sending message to ${extension.id}: ${error.message}`
|
|
99
|
-
)
|
|
100
|
-
return null
|
|
101
|
-
}
|
|
102
|
-
})
|
|
103
|
-
)
|
|
104
|
-
|
|
105
|
-
// We received the info from the use extension.
|
|
106
|
-
// All good, client is ready. Inform the server.
|
|
107
|
-
if (webSocket && webSocket.readyState === WebSocket.OPEN) {
|
|
108
|
-
const message = JSON.stringify({
|
|
109
|
-
status: 'clientReady',
|
|
110
|
-
data: responses.find((response) => response !== null)
|
|
111
|
-
})
|
|
112
|
-
|
|
113
|
-
webSocket.send(message)
|
|
156
|
+
console.info(
|
|
157
|
+
`[Extension.js] External extension is not ready for instance ${instanceId}.`
|
|
158
|
+
)
|
|
114
159
|
}
|
|
115
160
|
}
|
|
116
161
|
|
|
117
162
|
async function checkExtensionReadiness() {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
async function delay(ms) {
|
|
125
|
-
return await new Promise((resolve) => setTimeout(resolve, ms)).catch(
|
|
126
|
-
(error) => {
|
|
127
|
-
console.error(`Error delaying: ${error.message}`)
|
|
128
|
-
}
|
|
129
|
-
)
|
|
163
|
+
return new Promise((resolve) => {
|
|
164
|
+
setTimeout(() => {
|
|
165
|
+
resolve(true)
|
|
166
|
+
}, 1000)
|
|
167
|
+
})
|
|
130
168
|
}
|
|
@@ -2,7 +2,7 @@ import {handleFirstRun} from './define-initial-tab.js'
|
|
|
2
2
|
import {connect, disconnect} from './reload-service.js'
|
|
3
3
|
|
|
4
4
|
function bgGreen(str) {
|
|
5
|
-
return `background:
|
|
5
|
+
return `background: transparent; color: #0971fe; ${str}`
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
async function handleTabOnExtensionLoad() {
|
|
@@ -4,7 +4,7 @@ async function getDevExtension() {
|
|
|
4
4
|
return allExtensions.filter((extension) => {
|
|
5
5
|
return (
|
|
6
6
|
// Reload extension
|
|
7
|
-
extension.name !== 'Extension
|
|
7
|
+
extension.name !== 'Extension.js DevTools' &&
|
|
8
8
|
// Show only unpackaged extensions
|
|
9
9
|
extension.installType === 'development'
|
|
10
10
|
)
|
|
@@ -31,7 +31,7 @@ export async function createFirefoxAddonsTab(initialTab, url) {
|
|
|
31
31
|
// Reactivate the user-selected initial page tab
|
|
32
32
|
await browser.tabs.update(initialTab.id, {active: true})
|
|
33
33
|
} catch (error) {
|
|
34
|
-
console.error('Error creating and manipulating tabs:', error)
|
|
34
|
+
console.error('[Extension.js] Error creating and manipulating tabs:', error)
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -41,7 +41,7 @@ export async function handleFirstRun() {
|
|
|
41
41
|
const devExtension = await getDevExtension()
|
|
42
42
|
|
|
43
43
|
if (!devExtension) {
|
|
44
|
-
console.warn('No development extensions found')
|
|
44
|
+
console.warn('[Extension.js] No development extensions found')
|
|
45
45
|
return
|
|
46
46
|
}
|
|
47
47
|
|
|
@@ -57,6 +57,9 @@ export async function handleFirstRun() {
|
|
|
57
57
|
// Ensure the welcome page shows only once per extension installation
|
|
58
58
|
await browser.storage.local.set({[devExtension.id]: {didRun: true}})
|
|
59
59
|
} catch (error) {
|
|
60
|
-
console.error(
|
|
60
|
+
console.error(
|
|
61
|
+
'[Extension.js] Error handling tabs on extension load:',
|
|
62
|
+
error
|
|
63
|
+
)
|
|
61
64
|
}
|
|
62
65
|
}
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "Extension
|
|
3
|
-
"description": "Extension.js developer tools for
|
|
4
|
-
"version": "1.0",
|
|
2
|
+
"name": "Extension.js DevTools",
|
|
3
|
+
"description": "Extension.js built-in developer tools for browser instance ID __INSTANCE_ID__",
|
|
4
|
+
"version": "1.0.0",
|
|
5
5
|
"manifest_version": 2,
|
|
6
6
|
"background": {
|
|
7
7
|
"scripts": ["background.js"],
|
|
@@ -3,10 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<title>Welcome!</title>
|
|
5
5
|
<meta charset="UTF-8" />
|
|
6
|
-
<link
|
|
7
|
-
rel="icon"
|
|
8
|
-
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🧩</text></svg>"
|
|
9
|
-
/>
|
|
6
|
+
<link rel="icon" type="image/png" href="../images/logo.png" />
|
|
10
7
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
11
8
|
<link rel="stylesheet" href="./sakura.css" media="screen" />
|
|
12
9
|
<link
|
|
@@ -37,8 +34,8 @@
|
|
|
37
34
|
<a target="_blank" href="https://github.com/cezaraugusto/extension"
|
|
38
35
|
>🧩 Extension.js</a
|
|
39
36
|
>
|
|
40
|
-
is a development
|
|
41
|
-
|
|
37
|
+
is a development toolkit for building cross-browser extensions with
|
|
38
|
+
modern web technologies.
|
|
42
39
|
</p>
|
|
43
40
|
<button id="learnMore">
|
|
44
41
|
🧩 Learn more about developing cross-browser extensions
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
let webSocket = null
|
|
2
|
+
let triedWsFallback = false
|
|
2
3
|
|
|
3
4
|
export async function connect() {
|
|
4
5
|
if (webSocket) {
|
|
@@ -6,38 +7,65 @@ export async function connect() {
|
|
|
6
7
|
return
|
|
7
8
|
}
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
// Get port from the placeholder that will be replaced during build
|
|
11
|
+
const port = '__RELOAD_PORT__'
|
|
12
|
+
let reconnectAttempts = 0
|
|
13
|
+
const maxReconnectAttempts = 10
|
|
14
|
+
const baseBackoffMs = 250
|
|
15
|
+
const maxBackoffMs = 5000
|
|
10
16
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
webSocket.close()
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
webSocket.onopen = () => {
|
|
17
|
-
console.info(`[Reload Service] Connection opened.`)
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
webSocket.onmessage = async (event) => {
|
|
21
|
-
const message = JSON.parse(event.data)
|
|
17
|
+
const connectTo = (url) => {
|
|
18
|
+
webSocket = new WebSocket(url)
|
|
22
19
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
webSocket.onerror = (_event) => {
|
|
21
|
+
try {
|
|
22
|
+
webSocket && webSocket.close()
|
|
23
|
+
} catch {}
|
|
24
|
+
if (!triedWsFallback) {
|
|
25
|
+
triedWsFallback = true
|
|
26
|
+
connectTo(`ws://127.0.0.1:${port}`)
|
|
27
|
+
}
|
|
26
28
|
}
|
|
27
29
|
|
|
28
|
-
|
|
30
|
+
webSocket.onopen = () => {
|
|
31
|
+
reconnectAttempts = 0
|
|
29
32
|
console.info(
|
|
30
|
-
`[
|
|
33
|
+
`[Extension.js] Connection opened. Listening on port ${port}...`
|
|
31
34
|
)
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
let reloadDebounce
|
|
38
|
+
webSocket.onmessage = async (event) => {
|
|
39
|
+
const message = JSON.parse(event.data)
|
|
32
40
|
|
|
33
|
-
|
|
41
|
+
if (message.status === 'serverReady') {
|
|
42
|
+
console.info(
|
|
43
|
+
`[Extension.js] Server ready. Requesting initial load data...`
|
|
44
|
+
)
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
if (message.changedFile) {
|
|
48
|
+
clearTimeout(reloadDebounce)
|
|
49
|
+
reloadDebounce = setTimeout(async () => {
|
|
50
|
+
await messageAllExtensions(message.changedFile)
|
|
51
|
+
}, 200)
|
|
52
|
+
}
|
|
34
53
|
}
|
|
35
|
-
}
|
|
36
54
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
55
|
+
webSocket.onclose = () => {
|
|
56
|
+
console.info('[Extension.js] Connection closed.')
|
|
57
|
+
webSocket = null
|
|
58
|
+
if (reconnectAttempts >= maxReconnectAttempts) return
|
|
59
|
+
reconnectAttempts++
|
|
60
|
+
const backoff = Math.min(
|
|
61
|
+
maxBackoffMs,
|
|
62
|
+
baseBackoffMs * 2 ** reconnectAttempts
|
|
63
|
+
)
|
|
64
|
+
setTimeout(() => connectTo(url), backoff)
|
|
65
|
+
}
|
|
40
66
|
}
|
|
67
|
+
|
|
68
|
+
connectTo(`wss://127.0.0.1:${port}`)
|
|
41
69
|
}
|
|
42
70
|
|
|
43
71
|
export function disconnect() {
|
|
@@ -70,15 +98,15 @@ async function messageAllExtensions(changedFile) {
|
|
|
70
98
|
for (const extension of devExtensions) {
|
|
71
99
|
try {
|
|
72
100
|
await browser.runtime.sendMessage(extension.id, {changedFile})
|
|
73
|
-
console.info('[
|
|
101
|
+
console.info('[Extension.js] Add-On reloaded and ready.')
|
|
74
102
|
} catch (error) {
|
|
75
103
|
console.error(
|
|
76
|
-
`Error sending message to ${extension.id}: ${error.message}`
|
|
104
|
+
`[Extension.js] Error sending message to ${extension.id}: ${error.message}`
|
|
77
105
|
)
|
|
78
106
|
}
|
|
79
107
|
}
|
|
80
108
|
} else {
|
|
81
|
-
console.info('[
|
|
109
|
+
console.info('[Extension.js] External extension is not ready.')
|
|
82
110
|
}
|
|
83
111
|
}
|
|
84
112
|
|
|
@@ -124,7 +152,7 @@ async function checkExtensionReadiness() {
|
|
|
124
152
|
async function delay(ms) {
|
|
125
153
|
return await new Promise((resolve) => setTimeout(resolve, ms)).catch(
|
|
126
154
|
(error) => {
|
|
127
|
-
console.error(`Error delaying: ${error.message}`)
|
|
155
|
+
console.error(`[Extension.js] Error delaying: ${error.message}`)
|
|
128
156
|
}
|
|
129
157
|
)
|
|
130
158
|
}
|
|
@@ -1,4 +1,84 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: definition[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
(()=>{
|
|
12
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
+
})();
|
|
14
|
+
(()=>{
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
|
+
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
+
value: 'Module'
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
})();
|
|
24
|
+
var __webpack_exports__ = {};
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
default: ()=>inject_chromium_client_loader
|
|
28
|
+
});
|
|
29
|
+
const external_path_namespaceObject = require("path");
|
|
30
|
+
const external_fs_namespaceObject = require("fs");
|
|
31
|
+
const external_loader_utils_namespaceObject = require("loader-utils");
|
|
32
|
+
const external_schema_utils_namespaceObject = require("schema-utils");
|
|
33
|
+
require("child_process");
|
|
34
|
+
require("package-manager-detector");
|
|
35
|
+
require("pintor");
|
|
36
|
+
external_path_namespaceObject.join(process.cwd(), 'node_modules/extension-develop/dist/certs');
|
|
37
|
+
const CHROMIUM_BASED_BROWSERS = [
|
|
38
|
+
'chrome',
|
|
39
|
+
'edge'
|
|
40
|
+
];
|
|
41
|
+
const GECKO_BASED_BROWSERS = [
|
|
42
|
+
'firefox'
|
|
43
|
+
];
|
|
44
|
+
[
|
|
45
|
+
...CHROMIUM_BASED_BROWSERS,
|
|
46
|
+
...GECKO_BASED_BROWSERS
|
|
47
|
+
];
|
|
48
|
+
function filterKeysForThisBrowser(manifest, browser) {
|
|
49
|
+
const patchedManifest = JSON.parse(JSON.stringify(manifest), function(key, value) {
|
|
50
|
+
const indexOfColon = key.indexOf(':');
|
|
51
|
+
if (-1 === indexOfColon) return value;
|
|
52
|
+
const prefix = key.substring(0, indexOfColon);
|
|
53
|
+
if (prefix === browser || 'chromium' === prefix && CHROMIUM_BASED_BROWSERS.includes(browser) || 'chromium' === prefix && browser.includes('chromium') || 'gecko' === prefix && browser.includes('gecko')) this[key.substring(indexOfColon + 1)] = value;
|
|
54
|
+
});
|
|
55
|
+
return patchedManifest;
|
|
56
|
+
}
|
|
57
|
+
const schema = {
|
|
58
|
+
type: 'object',
|
|
59
|
+
properties: {
|
|
60
|
+
test: {
|
|
61
|
+
type: 'string'
|
|
62
|
+
},
|
|
63
|
+
manifestPath: {
|
|
64
|
+
type: 'string'
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
function inject_chromium_client_loader(source) {
|
|
69
|
+
const options = this.getOptions();
|
|
70
|
+
const manifestPath = options.manifestPath;
|
|
71
|
+
const browser = options.browser;
|
|
72
|
+
const projectPath = external_path_namespaceObject.dirname(manifestPath);
|
|
73
|
+
const manifest = JSON.parse(external_fs_namespaceObject.readFileSync(manifestPath, 'utf-8'));
|
|
74
|
+
const patchedManifest = filterKeysForThisBrowser(manifest, browser);
|
|
75
|
+
(0, external_schema_utils_namespaceObject.validate)(schema, options, {
|
|
76
|
+
name: 'reload:inject-background-client',
|
|
77
|
+
baseDataPath: 'options'
|
|
78
|
+
});
|
|
79
|
+
const url = (0, external_loader_utils_namespaceObject.urlToRequest)(this.resourcePath);
|
|
80
|
+
const generalReloadCode = `
|
|
81
|
+
// Enhanced reload handler with cache-busting
|
|
2
82
|
;chrome.runtime.onMessageExternal.addListener(
|
|
3
83
|
async (request, _sender, sendResponse) => {
|
|
4
84
|
const managementInfo = await new Promise((resolve) => {
|
|
@@ -18,35 +98,77 @@
|
|
|
18
98
|
return true
|
|
19
99
|
}
|
|
20
100
|
|
|
21
|
-
//
|
|
22
|
-
// service worker changes.
|
|
101
|
+
// Enhanced reload logic for critical files
|
|
23
102
|
if (
|
|
103
|
+
request.changedFile === 'declarative_net_request' ||
|
|
24
104
|
request.changedFile === 'manifest.json' ||
|
|
25
105
|
request.changedFile === 'service_worker' ||
|
|
26
106
|
request.changedFile === '_locales'
|
|
27
107
|
) {
|
|
28
|
-
|
|
29
|
-
|
|
108
|
+
// Force immediate reload with cache-busting
|
|
109
|
+
try {
|
|
110
|
+
// Clear any cached data
|
|
111
|
+
if (chrome.storage && chrome.storage.local) {
|
|
112
|
+
await chrome.storage.local.clear();
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// Force reload with timestamp to bypass cache
|
|
116
|
+
const timestamp = Date.now();
|
|
117
|
+
console.log('\u{1F504} Forcing extension reload at:', timestamp);
|
|
118
|
+
|
|
119
|
+
sendResponse({reloaded: true, timestamp: timestamp})
|
|
30
120
|
chrome.runtime.reload()
|
|
31
|
-
}
|
|
121
|
+
} catch (error) {
|
|
122
|
+
console.error('\u{274C} Failed to reload extension:', error);
|
|
123
|
+
sendResponse({error: error.message})
|
|
124
|
+
}
|
|
32
125
|
}
|
|
33
126
|
|
|
34
|
-
// Reload all tabs if the contextMenus code changes.
|
|
35
|
-
if (request.changedFile === 'contextMenus') {
|
|
36
|
-
sendResponse({reloaded: true})
|
|
37
|
-
chrome.tabs.query({}, (tabs) => {
|
|
38
|
-
if (!tabs) return
|
|
39
|
-
tabs.forEach((tab) => chrome.tabs.reload(tab.id))
|
|
40
|
-
})
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
// Reload all tabs if the declarative_net_request code changes.
|
|
44
|
-
if (request.changedFile === 'declarative_net_request') {
|
|
45
|
-
sendResponse({reloaded: true})
|
|
46
|
-
chrome.runtime.reload()
|
|
47
|
-
}
|
|
48
|
-
|
|
49
127
|
return true
|
|
50
128
|
}
|
|
51
129
|
);
|
|
52
|
-
|
|
130
|
+
|
|
131
|
+
// Additional cache-busting mechanism
|
|
132
|
+
;(function() {
|
|
133
|
+
const cacheBuster = Date.now();
|
|
134
|
+
console.log('Background script loaded with cache buster:', cacheBuster);
|
|
135
|
+
|
|
136
|
+
// Force reload if this script is older than 1 second (optimized for faster manifest reloads)
|
|
137
|
+
const scriptAge = Date.now() - cacheBuster;
|
|
138
|
+
if (scriptAge > 1000) {
|
|
139
|
+
console.log('Background script is stale, forcing reload');
|
|
140
|
+
chrome.runtime.reload();
|
|
141
|
+
}
|
|
142
|
+
})();
|
|
143
|
+
`;
|
|
144
|
+
let manifestBg = patchedManifest.background;
|
|
145
|
+
if ('firefox' !== browser) {
|
|
146
|
+
manifestBg = manifest["chromium:background"] || manifest["chrome:background"] || manifest["edge:background"] || manifestBg;
|
|
147
|
+
if (manifestBg) {
|
|
148
|
+
const backgroundScripts = (null == manifestBg ? void 0 : manifestBg.scripts) || (null == manifestBg ? void 0 : manifestBg["chromium:scripts"]) || (null == manifestBg ? void 0 : manifestBg["chrome:scripts"]) || (null == manifestBg ? void 0 : manifestBg["edge:scripts"]);
|
|
149
|
+
if (backgroundScripts) {
|
|
150
|
+
if (2 === patchedManifest.manifest_version) for (const bgScript of [
|
|
151
|
+
backgroundScripts[0]
|
|
152
|
+
]){
|
|
153
|
+
const absoluteUrl = external_path_namespaceObject.resolve(projectPath, bgScript);
|
|
154
|
+
if (url.includes(absoluteUrl)) return `${generalReloadCode}${source}`;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
const serviceWorker = null == manifestBg ? void 0 : manifestBg.service_worker;
|
|
158
|
+
if (serviceWorker) {
|
|
159
|
+
if (3 === patchedManifest.manifest_version) {
|
|
160
|
+
const absoluteUrl = external_path_namespaceObject.resolve(projectPath, serviceWorker);
|
|
161
|
+
if (url.includes(absoluteUrl)) return `${generalReloadCode}${source}`;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
return source;
|
|
167
|
+
}
|
|
168
|
+
exports["default"] = __webpack_exports__["default"];
|
|
169
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
170
|
+
"default"
|
|
171
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
172
|
+
Object.defineProperty(exports, '__esModule', {
|
|
173
|
+
value: true
|
|
174
|
+
});
|