Migrate to Manifest V3: Update the manifest file

- Set manifest version to 3.
- Bump major version of extension from 0 to 1.
- Add all widely known and used Gerrit host names.
- Adjust the symtax for `content_security_policy` to V3.
- Remove unsupported <all_urls> pattern.

Google-Bug-Id: b/287605771
Change-Id: Ib586f6248b80915078a9786d14778e8318abeaf7
diff --git a/.gitignore b/.gitignore
index 3b0e926..4681569 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
+.DS_Store
+.vscode
 dist
 node_modules
 gerrit_fe_dev_helper.zip
\ No newline at end of file
diff --git a/src/manifest.json b/src/manifest.json
index 77d9eb6..f47f58a 100644
--- a/src/manifest.json
+++ b/src/manifest.json
@@ -1,8 +1,8 @@
 {
-  "manifest_version": 2,
+  "manifest_version": 3,
   "name": "Gerrit FE Dev Helper",
-  "description": "This extension can help you development on gerrit sites, frontend specifically",
-  "version": "0.0.14",
+  "description": "This extension can help you development on Gerrit sites, frontend specifically",
+  "version": "1.0.0",
   "browser_action": {
     "default_icon": "gray-32.png",
     "default_title": "Gerrit FE Dev Helper"
@@ -20,20 +20,37 @@
         "https://*.git.corp.google.com/*",
         "https://*.staging-git.corp.google.com/*",
         "https://*.googlesource.com/*",
-        "https://gerrit.wikimedia.org/r/*"
+        "https://gerrit.libreoffice.org/*",
+        "https://gerrit.linuxfoundation.org/*",
+        "https://gerrit.wikimedia.org/*",
+        "https://mo-repo.de/*",
+        "https://review.gerrithub.io/*",
+        "https://review.opendev.org/*"
       ],
       "js": [
         "content_script.js"
       ]
     }
   ],
-  "content_security_policy": "script-src 'self'; object-src 'self';",
+  "content_security_policy": {
+    "extension_pages": "script-src 'self'; object-src 'self';"
+  },
   "permissions": [
     "activeTab",
-    "<all_urls>",
     "storage",
     "tabs",
     "webRequest",
     "webRequestBlocking"
+  ],
+  "host_permissions": [
+    "https://*.git.corp.google.com/*",
+    "https://*.staging-git.corp.google.com/*",
+    "https://*.googlesource.com/*",
+    "https://gerrit.libreoffice.org/*",
+    "https://gerrit.linuxfoundation.org/*",
+    "https://gerrit.wikimedia.org/*",
+    "https://mo-repo.de/*",
+    "https://review.gerrithub.io/*",
+    "https://review.opendev.org/*"
   ]
 }
\ No newline at end of file