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,44 +1,74 @@
|
|
|
1
1
|
const TEN_SECONDS_MS = 10 * 1000
|
|
2
|
+
const INSTANT_MS = 100
|
|
2
3
|
let webSocket = null
|
|
3
4
|
|
|
5
|
+
// Get instance ID from the service worker context
|
|
6
|
+
const instanceId = '__INSTANCE_ID__'
|
|
7
|
+
|
|
4
8
|
export async function connect() {
|
|
5
9
|
if (webSocket) {
|
|
6
10
|
// If already connected, do nothing
|
|
7
11
|
return
|
|
8
12
|
}
|
|
9
13
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
webSocket.onerror = (event) => {
|
|
13
|
-
console.error(`[Reload Service] Connection error: ${JSON.stringify(event)}`)
|
|
14
|
-
webSocket.close()
|
|
15
|
-
}
|
|
14
|
+
// Get port from the placeholder that will be replaced during build
|
|
15
|
+
const port = '__RELOAD_PORT__'
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
let reconnectAttempts = 0
|
|
18
|
+
const maxReconnectAttempts = 10
|
|
19
|
+
const baseBackoffMs = 250
|
|
20
|
+
const maxBackoffMs = 5000
|
|
20
21
|
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
const establish = () => {
|
|
23
|
+
webSocket = new WebSocket(`ws://127.0.0.1:${port}`)
|
|
23
24
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
webSocket.onerror = (_event) => {
|
|
26
|
+
try {
|
|
27
|
+
webSocket && webSocket.close()
|
|
28
|
+
} catch {}
|
|
27
29
|
}
|
|
28
30
|
|
|
29
|
-
|
|
31
|
+
webSocket.onopen = () => {
|
|
32
|
+
reconnectAttempts = 0
|
|
30
33
|
console.info(
|
|
31
|
-
`[
|
|
34
|
+
`[Extension.js] Connection opened. Listening on port ${port} for instance ${instanceId}...`
|
|
32
35
|
)
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
let reloadDebounce
|
|
39
|
+
webSocket.onmessage = async (event) => {
|
|
40
|
+
const message = JSON.parse(event.data)
|
|
41
|
+
|
|
42
|
+
// Only process messages for this instance
|
|
43
|
+
if (message.instanceId && message.instanceId !== instanceId) {
|
|
44
|
+
return
|
|
45
|
+
}
|
|
33
46
|
|
|
34
|
-
|
|
47
|
+
if (message.status === 'serverReady') {
|
|
48
|
+
await requestInitialLoadData()
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
if (message.changedFile) {
|
|
52
|
+
clearTimeout(reloadDebounce)
|
|
53
|
+
reloadDebounce = setTimeout(async () => {
|
|
54
|
+
await hardReloadAllExtensions(message.changedFile)
|
|
55
|
+
}, 200)
|
|
56
|
+
}
|
|
35
57
|
}
|
|
36
|
-
}
|
|
37
58
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
59
|
+
webSocket.onclose = () => {
|
|
60
|
+
webSocket = null
|
|
61
|
+
if (reconnectAttempts >= maxReconnectAttempts) return
|
|
62
|
+
reconnectAttempts++
|
|
63
|
+
const backoff = Math.min(
|
|
64
|
+
maxBackoffMs,
|
|
65
|
+
baseBackoffMs * 2 ** reconnectAttempts
|
|
66
|
+
)
|
|
67
|
+
setTimeout(establish, backoff)
|
|
68
|
+
}
|
|
41
69
|
}
|
|
70
|
+
|
|
71
|
+
establish()
|
|
42
72
|
}
|
|
43
73
|
|
|
44
74
|
export function disconnect() {
|
|
@@ -47,6 +77,33 @@ export function disconnect() {
|
|
|
47
77
|
}
|
|
48
78
|
}
|
|
49
79
|
|
|
80
|
+
async function requestInitialLoadData() {
|
|
81
|
+
const devExtensions = await getDevExtensions()
|
|
82
|
+
|
|
83
|
+
for (const extension of devExtensions) {
|
|
84
|
+
try {
|
|
85
|
+
const response = await chrome.runtime.sendMessage(extension.id, {
|
|
86
|
+
initialLoadData: true
|
|
87
|
+
})
|
|
88
|
+
|
|
89
|
+
if (response) {
|
|
90
|
+
// Send the response back to the server with instance ID
|
|
91
|
+
webSocket.send(
|
|
92
|
+
JSON.stringify({
|
|
93
|
+
status: 'clientReady',
|
|
94
|
+
instanceId: instanceId,
|
|
95
|
+
data: response
|
|
96
|
+
})
|
|
97
|
+
)
|
|
98
|
+
}
|
|
99
|
+
} catch (error) {
|
|
100
|
+
console.error(
|
|
101
|
+
`[Extension.js] Error sending message to ${extension.id}: ${error.message}`
|
|
102
|
+
)
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
50
107
|
async function getDevExtensions() {
|
|
51
108
|
const allExtensions = await new Promise((resolve) => {
|
|
52
109
|
chrome.management.getAll(resolve)
|
|
@@ -64,16 +121,26 @@ async function getDevExtensions() {
|
|
|
64
121
|
})
|
|
65
122
|
}
|
|
66
123
|
|
|
67
|
-
async function
|
|
68
|
-
//
|
|
69
|
-
const
|
|
124
|
+
async function hardReloadAllExtensions(changedFile) {
|
|
125
|
+
// For critical files like manifest.json, skip the long delay
|
|
126
|
+
const isCriticalFile =
|
|
127
|
+
changedFile === 'manifest.json' ||
|
|
128
|
+
changedFile === 'service_worker' ||
|
|
129
|
+
changedFile === 'declarative_net_request'
|
|
130
|
+
|
|
131
|
+
// Check if the external extension is ready with optimized timing
|
|
132
|
+
const isExtensionReady = await checkExtensionReadiness(isCriticalFile)
|
|
70
133
|
|
|
71
134
|
if (isExtensionReady) {
|
|
72
135
|
const devExtensions = await getDevExtensions()
|
|
73
|
-
const reloadAll = devExtensions.map((extension) => {
|
|
136
|
+
const reloadAll = devExtensions.map(async (extension) => {
|
|
137
|
+
await hardReloadExtension(extension.id)
|
|
138
|
+
|
|
74
139
|
chrome.runtime.sendMessage(extension.id, {changedFile}, (response) => {
|
|
75
140
|
if (response) {
|
|
76
|
-
console.info(
|
|
141
|
+
console.info(
|
|
142
|
+
`[Extension.js] Extension reloaded and ready for instance ${instanceId}.`
|
|
143
|
+
)
|
|
77
144
|
}
|
|
78
145
|
})
|
|
79
146
|
|
|
@@ -82,62 +149,147 @@ async function messageAllExtensions(changedFile) {
|
|
|
82
149
|
|
|
83
150
|
await Promise.all(reloadAll)
|
|
84
151
|
} else {
|
|
85
|
-
console.info(
|
|
152
|
+
console.info(
|
|
153
|
+
`[Extension.js] External extension is not ready for instance ${instanceId}.`
|
|
154
|
+
)
|
|
86
155
|
}
|
|
87
156
|
}
|
|
88
157
|
|
|
89
|
-
async function
|
|
90
|
-
|
|
158
|
+
async function checkExtensionReadiness(isCriticalFile = false) {
|
|
159
|
+
return new Promise((resolve) => {
|
|
160
|
+
// For critical files like manifest.json, use minimal delay
|
|
161
|
+
// For regular files, use longer delay to ensure stability
|
|
162
|
+
const delay = isCriticalFile ? INSTANT_MS : TEN_SECONDS_MS
|
|
91
163
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
extension.id,
|
|
96
|
-
{initialLoadData: true},
|
|
97
|
-
(response) => {
|
|
98
|
-
if (chrome.runtime.lastError) {
|
|
99
|
-
console.error(
|
|
100
|
-
`Error sending message to ${extension.id}: ${chrome.runtime.lastError.message}`
|
|
101
|
-
)
|
|
102
|
-
resolve(null)
|
|
103
|
-
} else {
|
|
104
|
-
resolve(response)
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
)
|
|
108
|
-
})
|
|
164
|
+
setTimeout(() => {
|
|
165
|
+
resolve(true)
|
|
166
|
+
}, delay)
|
|
109
167
|
})
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
// Smart reload strategy: Try standard method first, fallback to CDP if needed
|
|
171
|
+
async function hardReloadExtension(extensionId) {
|
|
172
|
+
try {
|
|
173
|
+
// Try the standard enable/disable reload first (feels natural)
|
|
174
|
+
await chrome.management.setEnabled(extensionId, false)
|
|
175
|
+
await chrome.management.setEnabled(extensionId, true)
|
|
176
|
+
|
|
177
|
+
// Verify it worked with a simple health check
|
|
178
|
+
const isHealthy = await verifyExtensionHealth(extensionId)
|
|
179
|
+
if (isHealthy) {
|
|
180
|
+
console.info(
|
|
181
|
+
`[Extension.js] Standard reload successful for ${extensionId}`
|
|
182
|
+
)
|
|
183
|
+
return true
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
// If we get here, the reload "succeeded" but extension isn't healthy
|
|
187
|
+
throw new Error('[Reload Service] Extension reloaded but not responding')
|
|
188
|
+
} catch (error) {
|
|
189
|
+
console.warn(
|
|
190
|
+
`[Extension.js] Standard reload failed for ${extensionId}, trying CDP fallback: ${error.message}`
|
|
191
|
+
)
|
|
110
192
|
|
|
111
|
-
|
|
193
|
+
// Only use CDP when the natural approach fails
|
|
194
|
+
return await attemptCDPFallback(extensionId)
|
|
195
|
+
}
|
|
196
|
+
}
|
|
112
197
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
198
|
+
// CDP fallback for when standard reload fails
|
|
199
|
+
async function attemptCDPFallback(extensionId) {
|
|
200
|
+
try {
|
|
201
|
+
// Get extension info to find its source path
|
|
202
|
+
const extensionInfo = await new Promise((resolve) => {
|
|
203
|
+
chrome.management.get(extensionId, resolve)
|
|
119
204
|
})
|
|
120
205
|
|
|
121
|
-
|
|
206
|
+
if (!extensionInfo || !extensionInfo.path) {
|
|
207
|
+
console.warn(
|
|
208
|
+
`[Extension.js] No path info for ${extensionId}, CDP fallback not possible`
|
|
209
|
+
)
|
|
210
|
+
return false
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
// Use CDP client directly for seamless fallback
|
|
214
|
+
const cdpClient = await getCDPClient()
|
|
215
|
+
if (!cdpClient) {
|
|
216
|
+
console.warn(`[Extension.js] CDP client not available for ${extensionId}`)
|
|
217
|
+
return false
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
// Use CDP to force reload the extension
|
|
221
|
+
const success = await cdpClient.forceReloadExtension(extensionId)
|
|
222
|
+
if (success) {
|
|
223
|
+
console.info(`[Extension.js] CDP fallback successful for ${extensionId}`)
|
|
224
|
+
return true
|
|
225
|
+
} else {
|
|
226
|
+
console.warn(`[Extension.js] CDP fallback failed for ${extensionId}`)
|
|
227
|
+
return false
|
|
228
|
+
}
|
|
229
|
+
} catch (cdpError) {
|
|
230
|
+
console.error(
|
|
231
|
+
`[Extension.js] CDP fallback also failed for ${extensionId}: ${cdpError.message}`
|
|
232
|
+
)
|
|
233
|
+
return false
|
|
122
234
|
}
|
|
123
235
|
}
|
|
124
236
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
237
|
+
// Get CDP client instance
|
|
238
|
+
// This will be injected by the build process
|
|
239
|
+
async function getCDPClient() {
|
|
240
|
+
try {
|
|
241
|
+
// The CDP client will be available globally when injected
|
|
242
|
+
if (typeof window !== 'undefined' && window.cdpClient) {
|
|
243
|
+
return window.cdpClient
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
// Fallback for service worker context
|
|
247
|
+
if (typeof globalThis !== 'undefined' && globalThis.cdpClient) {
|
|
248
|
+
return globalThis.cdpClient
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
console.warn(`[Extension.js] CDP client not found in global scope`)
|
|
252
|
+
return null
|
|
253
|
+
} catch (error) {
|
|
254
|
+
console.warn(`[Extension.js] Failed to get CDP client: ${error.message}`)
|
|
255
|
+
return null
|
|
256
|
+
}
|
|
130
257
|
}
|
|
131
258
|
|
|
132
|
-
|
|
133
|
-
|
|
259
|
+
/**
|
|
260
|
+
* Simple health check to verify extension is responsive
|
|
261
|
+
*/
|
|
262
|
+
async function verifyExtensionHealth(extensionId) {
|
|
263
|
+
try {
|
|
264
|
+
// Simple ping to see if extension responds
|
|
265
|
+
await new Promise((resolve, reject) => {
|
|
266
|
+
const timeout = setTimeout(() => {
|
|
267
|
+
reject(new Error('Health check timeout'))
|
|
268
|
+
}, 2000)
|
|
269
|
+
|
|
270
|
+
chrome.runtime.sendMessage(extensionId, {type: 'PING'}, (response) => {
|
|
271
|
+
clearTimeout(timeout)
|
|
272
|
+
if (chrome.runtime.lastError) {
|
|
273
|
+
reject(new Error(chrome.runtime.lastError.message))
|
|
274
|
+
} else {
|
|
275
|
+
resolve(response)
|
|
276
|
+
}
|
|
277
|
+
})
|
|
278
|
+
})
|
|
279
|
+
return true
|
|
280
|
+
} catch (error) {
|
|
281
|
+
console.warn(
|
|
282
|
+
`[Extension.js] Health check failed for ${extensionId}: ${error.message}`
|
|
283
|
+
)
|
|
284
|
+
return false
|
|
285
|
+
}
|
|
134
286
|
}
|
|
135
287
|
|
|
136
288
|
export function keepAlive() {
|
|
137
289
|
const keepAliveIntervalId = setInterval(() => {
|
|
138
290
|
if (webSocket) {
|
|
139
291
|
webSocket.send(JSON.stringify({status: 'ping'}))
|
|
140
|
-
console.info('[
|
|
292
|
+
console.info('[Extension.js] Listening for changes...')
|
|
141
293
|
} else {
|
|
142
294
|
clearInterval(keepAliveIntervalId)
|
|
143
295
|
}
|
|
@@ -2,7 +2,7 @@ import {createExtensionsPageTab, handleFirstRun} from './define-initial-tab.js'
|
|
|
2
2
|
import {connect, disconnect, keepAlive} 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
|
chrome.tabs.query({active: true}, async ([initialTab]) => {
|
|
8
8
|
console.log(
|
|
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": 3,
|
|
6
6
|
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAolEJq/DBHxY5dBpOqBRWNCl7vRPBvJPlpEzF19fYFVzzaH44AF6+sKjN3jwIKlsgI82F3TIuwoNFiN1yBu5Unf8SVBE4BTO92P02/ACcGYQxicgCLFUGQKlq4uSrwSPaBYl7FHcYl5SERgxnIGCGnaGMdL2vC7waCj2/U/iKoBF9I1lBH9/aKCSjTd3h2UYo7gg6n5nY/ENbzylDt42T3ATmvnVJfYhSNKA9Dv/zryknfnHYYgBKHtz7pDZwWnYdxs78n2VEKwGj7TgbXuIPDpCkrMnU9PTKpHbXFYARA4H9qYORQmYazfIxUZRnKQNSR+GAOGrb8JK+ijeQdwzDAwIDAQAB",
|
|
7
7
|
"background": {
|
|
@@ -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
|
const TEN_SECONDS_MS = 10 * 1000
|
|
2
|
+
const INSTANT_MS = 100
|
|
2
3
|
let webSocket = null
|
|
3
4
|
|
|
4
5
|
export async function connect() {
|
|
@@ -7,38 +8,59 @@ export async function connect() {
|
|
|
7
8
|
return
|
|
8
9
|
}
|
|
9
10
|
|
|
10
|
-
|
|
11
|
+
// Get port from the placeholder that will be replaced during build
|
|
12
|
+
const port = '__RELOAD_PORT__'
|
|
11
13
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
webSocket.onopen = () => {
|
|
18
|
-
console.info(`[Reload Service] Connection opened.`)
|
|
19
|
-
}
|
|
14
|
+
let reconnectAttempts = 0
|
|
15
|
+
const maxReconnectAttempts = 10
|
|
16
|
+
const baseBackoffMs = 250
|
|
17
|
+
const maxBackoffMs = 5000
|
|
20
18
|
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
const establish = () => {
|
|
20
|
+
webSocket = new WebSocket(`ws://127.0.0.1:${port}`)
|
|
23
21
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
webSocket.onerror = (_event) => {
|
|
23
|
+
try {
|
|
24
|
+
webSocket && webSocket.close()
|
|
25
|
+
} catch {}
|
|
27
26
|
}
|
|
28
27
|
|
|
29
|
-
|
|
28
|
+
webSocket.onopen = () => {
|
|
29
|
+
reconnectAttempts = 0
|
|
30
30
|
console.info(
|
|
31
|
-
`[
|
|
31
|
+
`[Extension.js] Connection opened. Listening on port ${port}...`
|
|
32
32
|
)
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
let reloadDebounce
|
|
36
|
+
webSocket.onmessage = async (event) => {
|
|
37
|
+
const message = JSON.parse(event.data)
|
|
33
38
|
|
|
34
|
-
|
|
39
|
+
if (message.status === 'serverReady') {
|
|
40
|
+
await requestInitialLoadData()
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
if (message.changedFile) {
|
|
44
|
+
clearTimeout(reloadDebounce)
|
|
45
|
+
reloadDebounce = setTimeout(async () => {
|
|
46
|
+
await hardReloadAllExtensions(message.changedFile)
|
|
47
|
+
}, 200)
|
|
48
|
+
}
|
|
35
49
|
}
|
|
36
|
-
}
|
|
37
50
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
51
|
+
webSocket.onclose = () => {
|
|
52
|
+
webSocket = null
|
|
53
|
+
if (reconnectAttempts >= maxReconnectAttempts) return
|
|
54
|
+
reconnectAttempts++
|
|
55
|
+
const backoff = Math.min(
|
|
56
|
+
maxBackoffMs,
|
|
57
|
+
baseBackoffMs * 2 ** reconnectAttempts
|
|
58
|
+
)
|
|
59
|
+
setTimeout(establish, backoff)
|
|
60
|
+
}
|
|
41
61
|
}
|
|
62
|
+
|
|
63
|
+
establish()
|
|
42
64
|
}
|
|
43
65
|
|
|
44
66
|
export function disconnect() {
|
|
@@ -64,13 +86,21 @@ async function getDevExtensions() {
|
|
|
64
86
|
})
|
|
65
87
|
}
|
|
66
88
|
|
|
67
|
-
async function
|
|
68
|
-
//
|
|
69
|
-
const
|
|
89
|
+
async function hardReloadAllExtensions(changedFile) {
|
|
90
|
+
// For critical files like manifest.json, skip the delay entirely
|
|
91
|
+
const isCriticalFile =
|
|
92
|
+
changedFile === 'manifest.json' ||
|
|
93
|
+
changedFile === 'service_worker' ||
|
|
94
|
+
changedFile === 'declarative_net_request'
|
|
95
|
+
|
|
96
|
+
// Check if the external extension is ready with optimized timing
|
|
97
|
+
const isExtensionReady = await checkExtensionReadiness(isCriticalFile)
|
|
70
98
|
|
|
71
99
|
if (isExtensionReady) {
|
|
72
100
|
const devExtensions = await getDevExtensions()
|
|
73
|
-
const reloadAll = devExtensions.map((extension) => {
|
|
101
|
+
const reloadAll = devExtensions.map(async (extension) => {
|
|
102
|
+
await hardReloadExtension(extension.id)
|
|
103
|
+
|
|
74
104
|
chrome.runtime.sendMessage(extension.id, {changedFile}, (response) => {
|
|
75
105
|
if (response) {
|
|
76
106
|
console.info('[Reload Service] Extension reloaded and ready.')
|
|
@@ -122,9 +152,11 @@ async function requestInitialLoadData() {
|
|
|
122
152
|
}
|
|
123
153
|
}
|
|
124
154
|
|
|
125
|
-
async function checkExtensionReadiness() {
|
|
126
|
-
//
|
|
127
|
-
|
|
155
|
+
async function checkExtensionReadiness(isCriticalFile = false) {
|
|
156
|
+
// For critical files like manifest.json, use minimal delay
|
|
157
|
+
// For regular files, use 1 second delay to ensure stability
|
|
158
|
+
const delayTime = isCriticalFile ? INSTANT_MS : 1000
|
|
159
|
+
await delay(delayTime)
|
|
128
160
|
// Assume the extension is ready
|
|
129
161
|
return true
|
|
130
162
|
}
|
|
@@ -143,3 +175,128 @@ export function keepAlive() {
|
|
|
143
175
|
}
|
|
144
176
|
}, TEN_SECONDS_MS)
|
|
145
177
|
}
|
|
178
|
+
|
|
179
|
+
const toggleExtensionState = (extensionId, enabled) => {
|
|
180
|
+
if (extensionId === chrome.runtime.id) {
|
|
181
|
+
return Promise.resolve()
|
|
182
|
+
}
|
|
183
|
+
return new Promise((resolve) => {
|
|
184
|
+
chrome.management.setEnabled(extensionId, enabled, resolve)
|
|
185
|
+
})
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
// Smart reload strategy: Try standard method first, fallback to CDP if needed
|
|
189
|
+
async function hardReloadExtension(extensionId) {
|
|
190
|
+
try {
|
|
191
|
+
// Try the standard enable/disable reload first (feels natural)
|
|
192
|
+
await toggleExtensionState(extensionId, false)
|
|
193
|
+
await toggleExtensionState(extensionId, true)
|
|
194
|
+
|
|
195
|
+
// Verify it worked with a simple health check
|
|
196
|
+
const isHealthy = await verifyExtensionHealth(extensionId)
|
|
197
|
+
if (isHealthy) {
|
|
198
|
+
console.info(
|
|
199
|
+
`[Extension.js] Standard reload successful for ${extensionId}`
|
|
200
|
+
)
|
|
201
|
+
return true
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
// If we get here, the reload "succeeded" but extension isn't healthy
|
|
205
|
+
throw new Error('Extension reloaded but not responding')
|
|
206
|
+
} catch (error) {
|
|
207
|
+
console.warn(
|
|
208
|
+
`[Extension.js] Standard reload failed for ${extensionId}, trying CDP fallback: ${error.message}`
|
|
209
|
+
)
|
|
210
|
+
|
|
211
|
+
// Only use CDP when the natural approach fails
|
|
212
|
+
return await attemptCDPFallback(extensionId)
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
// CDP fallback for when standard reload fails
|
|
217
|
+
async function attemptCDPFallback(extensionId) {
|
|
218
|
+
try {
|
|
219
|
+
// Get extension info to find its source path
|
|
220
|
+
const extensionInfo = await new Promise((resolve) => {
|
|
221
|
+
chrome.management.get(extensionId, resolve)
|
|
222
|
+
})
|
|
223
|
+
|
|
224
|
+
if (!extensionInfo || !extensionInfo.path) {
|
|
225
|
+
console.warn(
|
|
226
|
+
`[Extension.js] No path info for ${extensionId}, CDP fallback not possible`
|
|
227
|
+
)
|
|
228
|
+
return false
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
// Use CDP client directly for seamless fallback
|
|
232
|
+
const cdpClient = await getCDPClient()
|
|
233
|
+
if (!cdpClient) {
|
|
234
|
+
console.warn(`[Extension.js] CDP client not available for ${extensionId}`)
|
|
235
|
+
return false
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
// Use CDP to force reload the extension
|
|
239
|
+
const success = await cdpClient.forceReloadExtension(extensionId)
|
|
240
|
+
if (success) {
|
|
241
|
+
console.info(`[Extension.js] CDP fallback successful for ${extensionId}`)
|
|
242
|
+
return true
|
|
243
|
+
} else {
|
|
244
|
+
console.warn(`[Extension.js] CDP fallback failed for ${extensionId}`)
|
|
245
|
+
return false
|
|
246
|
+
}
|
|
247
|
+
} catch (cdpError) {
|
|
248
|
+
console.error(
|
|
249
|
+
`[Extension.js] CDP fallback also failed for ${extensionId}: ${cdpError.message}`
|
|
250
|
+
)
|
|
251
|
+
return false
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
// Get CDP client instance
|
|
256
|
+
// This will be injected by the build process
|
|
257
|
+
async function getCDPClient() {
|
|
258
|
+
try {
|
|
259
|
+
// The CDP client will be available globally when injected
|
|
260
|
+
if (typeof window !== 'undefined' && window.cdpClient) {
|
|
261
|
+
return window.cdpClient
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
// Fallback for service worker context
|
|
265
|
+
if (typeof globalThis !== 'undefined' && globalThis.cdpClient) {
|
|
266
|
+
return globalThis.cdpClient
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
console.warn(`[Extension.js] CDP client not found in global scope`)
|
|
270
|
+
return null
|
|
271
|
+
} catch (error) {
|
|
272
|
+
console.warn(`[Extension.js] Failed to get CDP client: ${error.message}`)
|
|
273
|
+
return null
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
// Simple health check to verify extension is responsive
|
|
278
|
+
async function verifyExtensionHealth(extensionId) {
|
|
279
|
+
try {
|
|
280
|
+
// Simple ping to see if extension responds
|
|
281
|
+
await new Promise((resolve, reject) => {
|
|
282
|
+
const timeout = setTimeout(() => {
|
|
283
|
+
reject(new Error('Health check timeout'))
|
|
284
|
+
}, 2000)
|
|
285
|
+
|
|
286
|
+
chrome.runtime.sendMessage(extensionId, {type: 'PING'}, (response) => {
|
|
287
|
+
clearTimeout(timeout)
|
|
288
|
+
if (chrome.runtime.lastError) {
|
|
289
|
+
reject(new Error(chrome.runtime.lastError.message))
|
|
290
|
+
} else {
|
|
291
|
+
resolve(response)
|
|
292
|
+
}
|
|
293
|
+
})
|
|
294
|
+
})
|
|
295
|
+
return true
|
|
296
|
+
} catch (error) {
|
|
297
|
+
console.warn(
|
|
298
|
+
`[Extension.js] Health check failed for ${extensionId}: ${error.message}`
|
|
299
|
+
)
|
|
300
|
+
return false
|
|
301
|
+
}
|
|
302
|
+
}
|
|
@@ -2,7 +2,7 @@ import {createExtensionsPageTab, handleFirstRun} from './define-initial-tab.js'
|
|
|
2
2
|
import {connect, disconnect, keepAlive} 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
|
chrome.tabs.query({active: true}, async ([initialTab]) => {
|
|
8
8
|
console.log(
|
|
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": 3,
|
|
6
6
|
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAolEJq/DBHxY5dBpOqBRWNCl7vRPBvJPlpEzF19fYFVzzaH44AF6+sKjN3jwIKlsgI82F3TIuwoNFiN1yBu5Unf8SVBE4BTO92P02/ACcGYQxicgCLFUGQKlq4uSrwSPaBYl7FHcYl5SERgxnIGCGnaGMdL2vC7waCj2/U/iKoBF9I1lBH9/aKCSjTd3h2UYo7gg6n5nY/ENbzylDt42T3ATmvnVJfYhSNKA9Dv/zryknfnHYYgBKHtz7pDZwWnYdxs78n2VEKwGj7TgbXuIPDpCkrMnU9PTKpHbXFYARA4H9qYORQmYazfIxUZRnKQNSR+GAOGrb8JK+ijeQdwzDAwIDAQAB",
|
|
7
7
|
"background": {
|