+ 1

Is this something wrong with this code?

{ "manifest_version": 2, "name": "Override", "description": "New Tab Override", "version": "1.0", "browser_action": { "default_icon": "icon.png" }, "chrome_url_overrides" : { "pageToOverride": "focus.html" } } for some reason, when i try to load the extension to chrome, this message pop up Invalid value for 'chrome_url_overrides'. Could not load manifest.

12th Jul 2021, 4:40 AM
Me?
Me? - avatar
2 Respostas
+ 2
I am not sure about the exact error. I haven't worked on developing a chrome extension using the chrome_url_overrides key. However, pageToOverride in the JSON might be an incorrect key. You might need to replace pageToOverride with "bookmarks", "history" or "newtab" key. Refer Documentation: https://developer.chrome.com/docs/extensions/mv3/override/
13th Jul 2021, 7:51 AM
Art1mis
0
Thanks, it works
13th Jul 2021, 12:50 PM
Me?
Me? - avatar