-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to Chrome Extension Manifest v3 #13
Comments
Here is the official migration guide:
And this may also be potentially useful:
|
It seems like Chrome 127 is when MV2 extensions will start getting disabled, and according to the release timeline, that will hit stable release tomorrow (Jul 17 2024):
Edit: At 4:11pm on 17/07/2024, it says stable will release in ~8hrs; which would basically be at midnight/the start of 18/07/2024 (AEST) |
I tried running the It seems to have merged all of the existing
It also made the following minimal changes to diff --git a/manifest.json b/manifest.json
index 404abe8..a4494be 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,10 +1,12 @@
{
"name": "New Window With Tabs To Right",
"version": "1.0.1",
- "manifest_version": 2,
+ "manifest_version": 3,
"description": "This extension creates a new window with the tabs to the right of the currently selected tab.",
"homepage_url": "http://devalias.net/dev/chrome-extensions/",
- "content_security_policy": "script-src 'self' https://ssl.google-analytics.com; object-src 'self'",
+ "content_security_policy": {
+ "extension_pages": "script-src 'self' https://ssl.google-analytics.com; object-src 'self'"
+ },
"permissions": [
"tabs",
"contextMenus"
@@ -16,12 +18,8 @@
},
"default_locale": "en",
"background": {
- "scripts": [
- "js/googleAnalytics.js",
- "js/chromeExtensionApiAbstractions.js",
- "src/bg/background.js"
- ],
- "persistent": true
+ "persistent": true,
+ "service_worker": "service_worker.js"
},
"commands": {
"newWindowWithCurrentAndTabsToRight": { Given the simplicity of this extension, I assume there probably won't be a lot of changes to be made to convert it; and so it's not all that surprising that the changes this conversion tool made were so minimal; but now we really need to go through the migration checklist to figure out more specifically what needs to be done; and if these changes are required/optimal:
|
Last time I was working on this, I was exploring a way to implement 'options toggles' in the And tangentially this issue: Here is the (private) ChatGPT reference that I was exploring that in for context: My notes from then was that "it is seeming like it might be more effort than it's worth, and maybe implementing a proper options page would be a better choice"; though I this was before the ChatGPT Here is a new (private) ChatGPT |
I'm exploring some ideas for refactoring everything into more modular code files/patterns in this (private) ChatGPT |
I'm exploring some ideas for implementing settings / context menu options toggles for changing the default This relates to the following issues: |
The text was updated successfully, but these errors were encountered: