Questions tagged [chrome-extension-manifest-v3]
ManifestV3-specific questions about development of Google Chrome extensions. Make sure to add the main tag `google-chrome-extension`.
chrome-extension-manifest-v3
1,045
questions
0
votes
1
answer
6
views
Chrome MV3 extension: Getting "Site has updated in the background" notification even though userFacing: false flag is set
We're using WebPush in our newly migrated extension to MV3. It's both for user-facing notifications and background updates. Some users have been complaining that they are seeing "Site has updated ...
0
votes
0
answers
15
views
Why can't the icon for the Chrome extension I developed be displayed?
I am developing a Chrome extension that is displayed in the Developer Tools, similar to Network. I used the chrome.devtools.panels.create method and passed the iconPath parameter, but it didn't work. ...
0
votes
0
answers
15
views
How to load/embed PDF file in Chrome Extension?
I'm trying to develop a Google Chrome extension capable of generating PDF files and showing them to the user. I have a sidePanel defined which makes use of the object tag to attempt to embed the PDF ...
0
votes
0
answers
18
views
Does taking input of the user's Codeforces handle in a Chrome extension require a privacy policy to be published by the developer?
I have build a chrome extension which is used to monitor user's and their friends codeforces rating and to fetch their rating I am taking input from user of their codeforces handle. So does it ...
1
vote
0
answers
29
views
Trouble with Chrome Extension in Manifest V3: Executing Script in to Fetch Translation from Google Translate
I'm working on a Chrome extension that allows users to highlight a word, right-click to translate it using Google Translate, and then log the translation pair to Chrome's local storage. I have ...
0
votes
0
answers
31
views
How to execute simple script like auto scroll on local file
When I put code on console (F12) on normal page this code works, normally has https:// address. But when it comes to local file or when i open pdf on browser, the F12 code doent work, but when you ...
0
votes
0
answers
26
views
Chrome extention - Calling a content function from a non content js file
I am trying to build a chrome extension and I am having a hard time trying to call a function that is inside "content.js" from another regular js file.
the purpose function inside content.js ...
0
votes
0
answers
19
views
Chrome Extensions MV3 - Running missed alarms on startup
My Chrome Extension has alarms permission.
During my testing, I set up an alarm in my service-worker (background script) to fetch some data every 10 min. It works as expected.
For the release, I ...
0
votes
1
answer
22
views
chrome.scripting.executeScript to load dynamic files (plugin system for a browser extension)
I have a Chrome browser extension using Manifest V3.
The Manifest.json file declares the following permissions:
"permissions": ["storage", "tabs", "scripting"]
...
0
votes
0
answers
11
views
React Chrome Extension - value from Storage isn't shown in Component
I have a problem that one of my input fields isn't showing the value from the Storage that I saved beforehand with a context menu option. Any ideas? :)
I oriented myself on a chrome extension tutorial ...
-2
votes
0
answers
30
views
Is it against Chrome Web Store Policies to run Remotely Hosted Code via userScripts API (which infact allows code added by users)?
We have an MV3 extension where we run arbitrary js string using userScipts ,entered by user. We take input from user via a textarea in popup.html.
Now we have a usecase where we would like to also ...
0
votes
0
answers
24
views
Content Script Function running multiple times after being called once from popup
I have a popup script that servers multiple pages.
document.addEventListener('DOMContentLoaded', function() {
if (eventOne) {
loadPage('start.html');
} else if (...
0
votes
1
answer
63
views
How can I pass messages in a Chrome Extension from content.js to background.js to popup.js?
I want to write a Chrome extension that essentially has to pass an information (1) from the content.js script to background.js, where it sends the information to an external Node.js server, and then (...
0
votes
0
answers
33
views
How to update Google Docs in real-time using Chrome Extension content scripts?
I'm working on a task in my chrome extension that should replace certain words (shortcuts) with values assigned to them in real-time (like Grammerly or TextBlaze).
For example, when the user enters &...
0
votes
0
answers
51
views
Keyboard shortcut to open the sidepanel of a Chrome extension not working
I am developing a Chrome extension. How do you add a keyboard shortcut to open the sidepanel of this Chrome extension (using manifest v3)?
I have added this to manifest.json:
"action": {
...