Manifest version 2 is deprecated.. How to resolve?

10,209 views
Skip to first unread message

Marwan Bou Sleiman

unread,
Apr 28, 2022, 11:04:44 AM4/28/22
to Chromium Extensions
extension isnt properly working. 

Extension error say: 
{ "name": "__MSG_extName__", "short_name": "__MSG_extShortName__", "description": "__MSG_extDesc__", "version": "1.6.0", "default_locale": "en", "content_security_policy": "script-src 'self' https://www.gstatic.com https://www.google.com/recaptcha/api.js; object-src 'self'", "icons": { "256": "/images/icons/256.png", "128": "/images/icons/128.png", "32": "/images/icons/32.png" }, "browser_action": { "default_icon": "/images/icons/128.png", "default_title": "__MSG_extShortName__", "default_popup": "/html/browserActionPopup.html" }, 

  "manifest_version": 2, "update_url": "https://engagedhits.localhost.com/extension/updates", "key": "mofmjlemkconpdjmgbgbcpbnlmacmhoe", "web_accessible_resources": [ "images/*", "html/*" ], "background": { "scripts": [ "js/libraries/jquery.min.js", "js/libraries/moment.min.js", "js/config.js", "js/utils.js", "js/store.js", "js/api.js", "js/models/settings.js", "js/models/user.js", "js/helpers.js", "js/models/task.js", "js/models/videoRanks.js", "js/background.js" ] }, "content_scripts": [ { "matches": [ "*://mail.google.com/*" ], "css": [ "css/gmail.css" ], "js": [ "/js/libraries/jquery.min.js", "/js/libraries/moment.min.js", "/js/libraries/jquery.blockUI.js", "/js/config.js", "/js/utils.js", "/js/googleAccAge/finder.js" ], "run_at": "document_end" }, { "matches": [ "https://*/*" ], "js": [ "/js/libraries/jquery.min.js", "/js/libraries/moment.min.js", "/js/libraries/jquery.blockUI.js", "/js/libraries/jquery.simulate.js", "/js/libraries/chance.min.js", "/js/helpers.js", "/js/config.js", "/js/utils.js", "/js/store.js", "/js/pr/pr.js" ], "run_at": "document_end" }, { "matches": [ "*://www.youtube.com/*", "*://youtube.com/*" ], "js": [ "/js/libraries/jquery.min.js", "/js/libraries/jquery.simulate.js", "/js/libraries/jquery.modal.min.js", "/js/libraries/chance.min.js", "/js/libraries/ifvisible.js", "/js/config.js", "/js/utils.js", "/js/store.js", "/js/api.js", "/js/models/settings.js", "/js/models/user.js", "/js/helpers.js", "/js/models/task.js", "/js/ehPopup.js", "/js/youtube/youtube.js", "/js/youtube/searchHelper.js", "/js/youtube/videoTracker.js", "/js/youtube/verificationChecker.js" ], "css": [ "/css/jquery.modal.min.css", "/css/ehPopup.css", "/css/ytTracker.css" ], "run_at": "document_end" }, { "matches": [ "*://www.google.com/*", "*://google.com/*" ], "js": [ "/js/libraries/jquery.min.js", "/js/libraries/jquery.simulate.js", "/js/libraries/jquery.modal.min.js", "/js/libraries/chance.min.js", "/js/config.js", "/js/utils.js", "/js/store.js", "/js/api.js", "/js/models/settings.js", "/js/models/user.js", "/js/helpers.js", "/js/models/task.js", "/js/ehPopup.js", "/js/youtube/googleSearchHelper.js" ], "css": [ "/css/jquery.modal.min.css", "/css/ehPopup.css", "/css/ytTracker.css" ], "run_at": "document_end" }, { "matches": [ "*://engagedhits.localhost.com/user/*" ], "js": [ "/js/libraries/jquery.min.js", "/js/libraries/moment.min.js", "/js/config.js", "/js/utils.js", "/js/googleAccAge/supplier.js" ], "run_at": "document_end" }, { "matches": [ "*://reddit.com/*", "*://www.reddit.com/*", "*://facebook.com/*", "*://www.facebook.com/*", "*://twitter.com/*", "*://www.twitter.com/*" ], "js": [ "/js/libraries/jquery.min.js", "/js/libraries/jquery.modal.min.js", "/js/libraries/jquery.simulate.js", "/js/config.js", "/js/utils.js", "/js/store.js", "/js/api.js", "/js/models/settings.js", "/js/models/user.js", "/js/models/task.js", "/js/ehPopup.js", "/js/helpers.js", "/js/store.js" ], "css": [ "/css/jquery.modal.min.css", "/css/ehPopup.css" ], "run_at": "document_end" }, { "matches": [ "*://reddit.com/*", "*://www.reddit.com/*" ], "js": [ "/js/reddit/reddit.js" ], "run_at": "document_end" }, { "matches": [ "*://facebook.com/*", "*://www.facebook.com/*" ], "js": [ "/js/facebook/facebook.js" ], "run_at": "document_end" }, { "matches": [ "*://twitter.com/*", "*://www.twitter.com/*" ], "js": [ "/js/twitter/twitter.js" ], "run_at": "document_end" } ], "permissions": [ "tabs", "notifications", "unlimitedStorage", "storage", "activeTab", "webRequest", "webNavigation", "<all_urls>" ] }  

Please help.

hrg...@gmail.com

unread,
Apr 28, 2022, 5:36:42 PM4/28/22
to Chromium Extensions, marwan...@gmail.com
That's not an error, it's just a warning made it look like an error. Manifest V2 extensions will keep working till January 2023. You don't need to do anything for now.

marwan...@gmail.com

unread,
Apr 29, 2022, 3:55:54 AM4/29/22
to Chromium Extensions, hrg...@gmail.com, marwan...@gmail.com
Its making the extension not to always function properly, so how to resolve and how to update to manifest version 3?

Ibrahim

unread,
Apr 29, 2022, 4:15:43 AM4/29/22
to Chromium Extensions, marwan...@gmail.com, hrg...@gmail.com
If the extension is not yours, then there is nothing you can do. The author of it must migrate it to manifest v3.

If the extension is created by you, then you could start following this guide: https://developer.chrome.com/docs/extensions/mv3/intro/mv3-migration/
Reply all
Reply to author
Forward
0 new messages