Questions for development related to Google Chrome extension using manifest version 2. Questions related to it should specify what manifest version being used as each version has its own syntax that is not supported by other version.
Questions tagged [chrome-extension-manifest-v2]
76 questions
0
votes
0 answers
React Typescript "npm run build" command removed line from manifest.json file
I'm using ReactJS + Typescript to create a chrome extension, but when I use the "npm run build" the manifest.json removes one line '"permissions": ["history" ],' when the build is finished.
Before the command "npm run build":
{
"name": "Hello…

David Radianu
- 129
- 1
- 9
0
votes
0 answers
How can I inject CSS before content script is loaded in Chrome Extension MV2?
I am trying to use user-session recording tools (like FullStory or Livesession) in my Chrome Extension.
The way those tools work is that during the session capture, they make a copy of the page CSS to recreate the playback in the future.
The problem…

amiregelz
- 1,833
- 7
- 25
- 46
0
votes
1 answer
Chrome Extension Disappears while clicking outside of its resolution
Is there anyway that I can make Chrome Extension's window stick in window even while clicking outside of its resolution?
I'm trying to make it Sticky on the window for one simple google login so that I don't need to go back again to click extension…
0
votes
0 answers
chrome.downloads download a folder with multiple urls
Hello I am trying to build a chrome extension for downloading multiple images in folder.
chrome.runtime.onMessage.addListener( (request, sender, sendResponse ) => {
if ( request.action === "download") {
for (let i = 0; i < request.data.length;…

Adi Elron
- 37
- 6
0
votes
0 answers
Dom Content not loading in chrome extension manifest version 3
I'm trying to create a Chrome extension in manifest version 3,
I want to crawl data from Dom in Chrome Extension. When I load the chrome Extension Dom is not loading so crawling is not possible, after I reload the Dom page then Chrome Extension…

Manish Parmar
- 1
- 1
0
votes
0 answers
Dom manipulation not working in chrome extension manifest version 3
I built a chrome extension to extract data from a medical site. It works fine with manifest version 2. But when I tried to deploy on chrome store, it said that I need to upgrade to manifest version 3. When I was migrating from version 2 to manifest…

Shalin Jirawla
- 489
- 1
- 5
- 24
0
votes
0 answers
Stuck# in selecting textarea in my chrome extension from DOM
Overflow Developes: I have search a lot about the textarea selection but have't found the proper solution.
Goal: I am going to build my own extension in which I want to perform some functionality. I have accessed the DOM. And further cannot able to…

OnlyCOde
- 1
- 3
0
votes
0 answers
Automatically load script for website match without needing to reload
I'm currently making a Chrome extension that contains two different scripts. For some reason when I navigate in and out of a website listed explicitly in the matches property, the script will not function unless I refresh the page. Is there a way to…

SamuelC00
- 61
- 6
0
votes
1 answer
Chrome Native Messaging - Host App should be packed with extension?
I am new to Chrome Extension.
I have a project to create a chrome extension that can help our web app to communicate with other team's desktop applications.
So I know I need to use native messaging, so I need to create a native host. But I am…

Tian Qin
- 153
- 1
- 3
- 15
0
votes
1 answer
JavaScript executeScript on tabs.onUpdated
In my code I need to execute the same script every time I update a google tab.
I wrote this code;
chrome.tabs.onActivated.addListener((tab) => {
chrome.tabs.get(tab.tabId, (current_tab_info) => {
if (
…

Tasarruflu Fare
- 1
- 4
0
votes
1 answer
How to automatically right click on YouTube for "stats for nerds" using chrome extension?
I'm developing a Chrome Extension which blocks the ads & get the Ad Video ID.
But I'm facing a problem that to do all of that I've to right click on video for menu & click on "stats for nerds". By doing so the HTML Elements for Ad Video ID & Video…

Zain Khalid
- 31
- 6
0
votes
1 answer
What is the best way to sign in a user using Auth0 for a Google Chrome Extension (Manifest v3)
In Google Chrome manifest v2, the background script had persistent store which allowed the Auth0.js to store the auth token in memory. To augment this, the developer could store the authentication token in local storage. Storing the auth token alone…

DeepBreather
- 1
- 1
0
votes
0 answers
Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist only on production mode in ReactJS application
I'm building a chrome extension. My target is to sync data from my React web application to the Chrome extension. I used externally_connectable to send the data from my web app to the extension.
Web app:
window.chrome.runtime.sendMessage(
…

Pham Minh Tan
- 2,076
- 7
- 25
- 37
0
votes
0 answers
How to create a chrome webRequest to validate response code
I want to check if my Linkedin Pixel tag is installed properly inside my webpages.
To validate, I would need to get a 302 response when the tag is fired.
Trying to create a chrome extension that could perform this validation.
…

Shaun Peh
- 15
- 3
0
votes
0 answers
Uncaught ReferenceError: Audio is not defined
Heyo, I wanted to publish an extention to the google store but I couldn't with manifest v2.
Currently trying to migrate to v3 but i'm getting Uncaught ReferenceError: Audio is not defined in my background.js.
Only using JS / HTML / CSS
EDIT : I also…

stax
- 33
- 5