chrome-extension-manifest-v3 Questions

1

I'm migrating my extension from Manifest 2 to 3. Sometimes I get the following errors: Uncaught TypeError: Cannot read properties of undefined (reading 'local') at the such lines chrome.storage.l...
Climax asked 10/7, 2022 at 13:42

1

There are a bunch of similar threads on here however I cannot seem to find anything that works for me. I am building a chrome extension where I'd like to connect to a websocket. I have found a proj...
Billetdoux asked 3/5, 2022 at 13:23

3

Solved

My extension creates zip archive with images inside. And I used chrome.downloads.download to download my archive to device. const url = URL.createObjectURL(archiveBlob); chrome.downloads.download(...

3

I am trying to use axios in React chrome extension module, but I am facing this issue. Uncaught (in promise) Error: Error: Adapter 'http' is not available in the build // background.ts import axio...

3

I'm migration my extension from V2 to V3. Now all is working fine except for one thing. In my V2 version I did const actualCode = '(' + function () { 'console.log("demo");' } + `)();`; co...

2

Solved

I'm new in chrome extensions developing and during developing i get this error in console when i try to open my extension on start page in chrome browser. link for image Uncaught (in promise) Error...

2

I am trying to create a chrome extension that downloads a file with text inside. Some examples for doing this I've seen need to create a URL to pass to chrome.downloads.download({ url: url, filenam...

2

I am trying to migrate my chrome extension from manifest version 2 to 3. Now that background scripts are replaced by service workers in manifest v3, I can no longer use a html file and refer js fil...

2

In order to capture output audio stream from a tab in manifest v2 one could use chrome.tabCapture.capture API in the background script to get the stream. But, in manifest v3 tabCapture has been mov...

1

Solved

I created an extension based off https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite project. In manifest I set background type to module background: { service_worker: "bac...
Cleland asked 5/10, 2023 at 9:31

1

I'm trying to call an external function inside the function passed in the 'func' parameter in the chrome.scripting.executeScript call: await chrome.scripting.executeScript({ target: {tabId: ...
Barquentine asked 29/3, 2022 at 15:45

1

I've tried everything in here: Golang to wasm compilation And I can't get past: WebAssembly.instantiate(buffer, {wasi_snapshot_preview1: ""}) WebAssembly.instantiate(buffer, {go: {debug: ...

3

Solved

I am migrating a functioning browser extension to manifest v3. The problem: I want the content script to be loaded only upon clicking on the browser extension icon. However, the script is always lo...
Epiboly asked 18/5, 2022 at 20:10

2

Solved

Link to a repo with the Xcode project to test the issue: Test CORS Issue This extension uses Manifest v3 and I have example.com in host_permissions "host_permissions": [ "*://exampl...

3

When Migrating MV2 to MV3, Chrome is throwing this error: Insecure CSP value "" in directive 'script-src' Here's my content security policy: "content_security_policy": { &quo...

1

I'm trying to migrate my Chrome extension from Manifest 2 to Manifest 3 but I'm getting the following error Refused to execute inline script because it violates the following Content Security Poli...
Northumberland asked 10/7, 2022 at 8:3

2

I have developped an extension to scrape some content from web page and up to now it was working fine but since I switched to manifest v3, the parsing doesn't work anymore. I use the following scri...
Circassian asked 28/8, 2021 at 12:52

1

As of January 17, Firefox now supports Manifest v3 in Firefox 109.0. I have an add-on I am testing with Manifest v3 and it requires access to a variable on reddit.com. I want to make the "Acce...

1

I'm trying to build a chrome extension that updates its badge every time some event happens on my server- in this case, my server is receiving a webhook from Zoom and then informing my chrome exten...

4

Solved

I'm getting a CORS error when I try to do a request from my Chrome Extensions's background script. The background script is bundled with webpack. Note: If I convert manifest.json to version 2 - all...

1

Solved

So I am in the process of migrating a MV2 extension which used persistent Background pages to MV3. In the Chrome migration guide [https://developer.chrome.com/docs/extensions/mv3/migrating_to_servi...

1

I tried to access information stored in chrome.storage.session in my content script, but the browser keeps informing me that "Access to storage is not allowed from this context" even thou...
Strikebreaker asked 13/11, 2022 at 21:1

2

In Chrome extension, I have a javascript function that I need to reuse both from content script and from background worker JS files. How can I organize scripts for that? So far I only managed to d...

2

I am following how to make chrome extension getting started that is posted in chrome official site https://developer.chrome.com/docs/extensions/mv3/getstarted/ And I copied and pasted all code and ...

0

I am trying to add content security policy to my V3 manifest file for applying reCaptcha v3 to my chrome extension but I keep getting the following error 'content_security_policy.extension_pages':...
Detrusion asked 19/9, 2022 at 17:20

© 2022 - 2024 — McMap. All rights reserved.