Repository navigation
v1.4.0.24
Only manifest.json needs to change. Here's the exact diff:
- Bump the manifest version
"manifest_version": 3
- Move host permissions out of permissions
Remove:
"permissions": ["http://*.444.hu/", "https://*.444.hu/"],
Add:
"host_permissions": ["*://*.444.hu/*"],
- Replace page_action with action
Remove:
"page_action": {
"show_matches": ["*://*.444.hu/*"],
"hide_matches": ["*://kor.444.hu/*", "*://membership.444.hu/*"],
"default_icon": { ... }
},
Add:
"action": {
"default_icon": { ... }
},
The icon sizes stay the same. show_matches/hide_matches are dropped — they don't exist in MV3. The toolbar icon will now always be visible instead of only on 444.hu pages, but since there's no popup or click handler it makes no functional difference.
- Add matches to web_accessible_resources
Remove:
"web_accessible_resources": [
"444hu_comments_inject.js",
"444hu_comments_inject_legacy.js",
...
]
Add:
"web_accessible_resources": [
{
"resources": [
"444hu_comments_inject.js",
"444hu_comments_inject_legacy.js",
"backburner.js",
"444hu_comments.css",
"444hu_comments_legacy.css",
"images/444hsz.svg",
"images/view_sidebar_black_24dp.svg",
"images/settings_black_24dp.svg"
],
"matches": ["*://*.444.hu/*"]
}
]
No JavaScript files need any changes.