-
I use the popup, but it's annoying to open the popup each time I reload the server and reopen chromium. runner: {
chromiumArgs: ['--user-data-dir=./.wxt/chrome-data'],
startUrls: ['chrome-extension://gppniminfdpggjnapojieikjfnodlpnp/popup.html'],
} Here I got a strange behavior. Chromium open with the url, but it's blocked (ERR_BLOCKED_BY_CLIENT). If I click on the button to actualize, nothing happen. If I place the cursor in the address bar and type Enter, it works ! Any idea to open the browser on the popup page ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Also, can we got the extension hash |
Beta Was this translation helpful? Give feedback.
-
ERR_BLOCKED_BY_CLIENT is what happens when a non-user action tries to open an extension URL, that's just how chrome works unfortunately. As for the extension ID, you can make it consistent: https://developer.chrome.com/docs/extensions/reference/manifest/key#keep-consistent-id To speed up opening your popup, I'd suggest adding a keyboard shortcut to open the popup during development. These are called "commands" in extensions: https://stackoverflow.com/questions/70795720/chrome-extension-open-popup-by-command#72646720 |
Beta Was this translation helpful? Give feedback.
ERR_BLOCKED_BY_CLIENT is what happens when a non-user action tries to open an extension URL, that's just how chrome works unfortunately.
As for the extension ID, you can make it consistent: https://developer.chrome.com/docs/extensions/reference/manifest/key#keep-consistent-id
To speed up opening your popup, I'd suggest adding a keyboard shortcut to open the popup during development. These are called "commands" in extensions: https://stackoverflow.com/questions/70795720/chrome-extension-open-popup-by-command#72646720