mirror of
https://github.com/Jonnyan404/memos-bber.git
synced 2026-04-25 03:58:37 +09:00
ed5fc86e39
Replace the old <select> language picker with a custom toggle button and dropdown menu. Updates include new popup HTML (langToggle button, langMenu with menuitemradio buttons), new CSS for .lang-toggle/.lang-menu/.lang-menu-item (styling, hover/active states, shadow, rounded corners), and JS to manage label sync, menu state, click handlers, outside-click and Escape to close, and applying the selected UI language. Also update references in i18n code (setTitle target and language init flow) and persist language selection. Bump manifest version from 2026.03.24 to 2026.03.25.
41 lines
1002 B
JSON
41 lines
1002 B
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "__MSG_extName__",
|
|
"default_locale": "en",
|
|
"version": "2026.03.25",
|
|
"version_name": "Supports 0.15.0 - 0.26.x",
|
|
"action": {
|
|
"default_popup": "popup.html",
|
|
"default_icon": "assets/logo_24x24.png",
|
|
"default_title": "__MSG_actionTitle__"
|
|
},
|
|
"description": "__MSG_extDescription__",
|
|
"homepage_url": "https://github.com/Jonnyan404/memos-bber",
|
|
"icons": {
|
|
"128": "assets/logo.png",
|
|
"16": "assets/logo.png",
|
|
"48": "assets/logo.png"
|
|
},
|
|
"background": {
|
|
"service_worker": "js/background.js"
|
|
},
|
|
"permissions": [
|
|
"tabs",
|
|
"scripting",
|
|
"windows",
|
|
"storage",
|
|
"activeTab",
|
|
"contextMenus"
|
|
],
|
|
"host_permissions": ["http://*/*", "https://*/*"],
|
|
"commands": {
|
|
"open-extension": {
|
|
"description": "Open my extension",
|
|
"suggested_key": {
|
|
"default": "Ctrl+Shift+F",
|
|
"mac": "MacCtrl+Shift+F"
|
|
}
|
|
}
|
|
}
|
|
}
|