Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
We are doing migration manifest v2 to v3.
but we are facing issue.
what is exact steps to resolve.

{
  "name": "UNO Web Inspector",
  "description": "Retrieve attributes of web elements.",
  "version": "1.0",
  "manifest_version": 2,
  "permissions": [
    "activeTab",
    "nativeMessaging"
  ],
  "content_scripts": [
    {
      "all_frames": true,
      "js": [ "scripts/common.js", "scripts/contentScript.js" ],
      "css": [ "css/common.css" ],
      "matches": [ "http://*/*", "https://*/*" ]
    }
  ],
  "background": {
    "persistent": false,
    "scripts": [ "scripts/common.js", "scripts/eventPage.js" ]
  },
  "browser_action": {
	"default_popup": "WebInspect.html",
    "default_icon": {
      "16": "images/Inspect.png"
    }
  }
}


What I have tried:

we tried migrate but getting some issues.
Posted
Updated 15-Nov-23 22:49pm
Comments
CHill60 16-Nov-23 4:49am    
What are the issues??
Richard MacCutchan 16-Nov-23 5:34am    
Do you not have a CodeProject crystal ball?
CHill60 16-Nov-23 5:35am    
:laugh: I do but I've loaned it out to a passing circus
Richard Deeming 17-Nov-23 4:04am    
If I had a crystal ball, I'd sit down very carefully! :)
Richard MacCutchan 17-Nov-23 4:07am    
:laugh:

1 solution

I'd suggest to read this: Migrate to Manifest V3 - Chrome for Developers[^]
As is stated here: Update the manifest - Chrome for Developers[^] - you have to make some changes in manifest.json file

The content you showed us is related to version 2. I do not see obligatory changes.
 
Share this answer
 
Comments
Member 15418280 17-Nov-23 0:28am    
IN background we have now only string not array how can we pass 2 common.js and eventpage.js

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900