1,025 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Best practices
0
votes
2
replies
122
views
Manifest v3 service workers: how to set up webrequest listeners for URLs defined by the users and stored in the storage?
This question is related to my question here, but it is still slightly different. However, it still concerns the problem that listeners must be registered during the first synchronous run, while the ...
1
vote
1
answer
97
views
How to display notifications in manifest v3 service worker?
I'm having trouble displaying notifications from a chrome extension service worker while migrating from manifest v2 to v3.
chrome.notifications.create appears to be deprecated and throws an Unknown ...
0
votes
1
answer
75
views
Manifest v3 couldn't load the script file
I'm trying to inject my script into the sender tab but in service worker console there is an error:
Uncaught (in promise) Error: Could not load file: 'chrome-extension://...'.
But when I fetch() this ...
0
votes
0
answers
60
views
The sender sent an invalid JSON message; message ignored
I'm attempting to migrate a v2 chrome extension to manifest v3. The extension communicates with a Native Host application.
Apart from the Native Host messaging, the extension is rather simple, and ...
2
votes
1
answer
114
views
Can’t Debug background.js in Safari App Extension (Manifest V3)
I’m developing a Safari App Extension and I want to debug the background.js script.
However, I can’t find any tool or option to do this.
When I run the extension from Xcode using the ProjectName ...
0
votes
0
answers
41
views
Jest/Puppeteer test for a Chrome Extension fails with timeout on Firestore getDoc, but manual tests and Cloud Function succeed
I am building a Manifest V3 Chrome Extension using Firebase and testing it with Jest and Puppeteer. My manual testing works perfectly, but one specific automated test consistently fails with a 30-...
1
vote
0
answers
91
views
How to dynamically disable "chrome_url_overrides" in a Chrome extension?
I am building a Chrome extension where I want to provide a toggleable custom New Tab page.
I have explored two approaches:
Programmatic override with chrome.tabs.update:
chrome.tabs.update(tab.id, { ...
0
votes
0
answers
80
views
Cross-Browser Extension OAuth2 with Google Calendar API: Avoiding client_secret and redirect_uri_mismatch while keeping token refresh possible?
Problem
I'm building a browser extension that needs to authenticate with Google Calendar API across Chrome, Brave, Edge, and Firefox. I want persistent authentication with refresh tokens, but I'm ...
2
votes
1
answer
135
views
Connecting firebase RTDB to chrome extension with manifest V3
I'm developing a Chrome Extension using Manifest V3 and Firebase Realtime Database. I'm experiencing intermittent CSP (Content Security Policy) violations that only occur randomly, sometimes the ...
0
votes
1
answer
126
views
Getting around X-Frame-Options DENY in a Chrome extension? (2)
I have an iframe loading inside an extension page but unfortunately the document inside the iframe embeds its own iframes whose Content-Security-Policy I still can't circumvent with ...
0
votes
0
answers
92
views
Chrome Extension Rejected: "Including remotely-hosted code" — Is ReactGA violating Manifest V3?
We are working on an Open Source (AGPL) Chrome extension: Digital Assistant Client
We recently submitted an update to our Chrome Extension (built with React + TypeScript) and it was rejected with this ...
1
vote
0
answers
81
views
How to click button from javascript extension with manifest v3?
I'm developing an extension for chrome and at some point it needs to click a button on the web page.
Up until now I used to just use the following code, but it doesn't work anymore with manifest v3 (...
1
vote
0
answers
96
views
How to prevent Firebase Auth from injecting remote scripts in a Manifest V3 Chrome Extension?
Summary:
I am building a Chrome Extension (Manifest V3) that uses Firebase Auth, but my extension is rejected due to this violation:
Violation reference ID: Blue Argon
Technical Requirements - ...
0
votes
0
answers
42
views
Chrome Extension Window Design
I am trying to design my Chrome extension window, but I don't have much control over it. However, I've noticed that Loom has created a custom-designed window that appears when you click on their ...
3
votes
2
answers
285
views
Chrome Extension: Google Photos API Returns "Insufficient Scopes" Despite Correct Setup
I’m building a Chrome extension that integrates with Google Photos API, but I keep hitting a 403 PERMISSION_DENIED error with the message:
"Request had insufficient authentication scopes"
...