Files
wehub-resource-sync f4ed7901c3
Module Market Check / Validate modules/ (push) Failing after 1s
Android CI Build / check (push) Failing after 1s
Module Market Publish / Generate submissions.json (push) Failing after 1s
Android CI Build / package-apks (push) Has been skipped
chore: import upstream snapshot with attribution
2026-07-13 12:29:44 +08:00

86 lines
2.4 KiB
JSON

{
"id": "wta-selection-actions",
"name": "Selection Actions",
"description": "A floating action bar that appears when you select text on a page. Search (5 engines), copy, open as URL, translate, or share. Fully configurable — choose which actions appear and which search engine to use. A superset of the former Floating Search module.",
"icon": "text_select_start",
"category": "INTERACTION",
"tags": ["search", "selection", "clipboard", "translate", "official"],
"version": {
"code": 1,
"name": "1.0.0",
"changelog": "Initial release. Replaces Floating Search with translate + share actions."
},
"author": {
"name": "shiaho",
"url": "https://github.com/shiaho777"
},
"runAt": "DOCUMENT_END",
"urlMatches": [
{ "pattern": "*", "isRegex": false, "exclude": false }
],
"permissions": ["DOM_ACCESS", "DOM_OBSERVE", "CSS_INJECT", "CLIPBOARD", "WINDOW_OPEN"],
"configItems": [
{
"key": "engine",
"name": "Search engine",
"description": "Engine used by the Search action.",
"type": "SELECT",
"defaultValue": "google",
"required": false,
"options": ["google", "duckduckgo", "bing", "baidu", "wikipedia"]
},
{
"key": "translateEngine",
"name": "Translate engine",
"description": "Engine used by the Translate action.",
"type": "SELECT",
"defaultValue": "google",
"required": false,
"options": ["google", "deepl", "mymemory"]
},
{
"key": "showSearch",
"name": "Show Search action",
"type": "BOOLEAN",
"defaultValue": "true",
"required": false
},
{
"key": "showCopy",
"name": "Show Copy action",
"type": "BOOLEAN",
"defaultValue": "true",
"required": false
},
{
"key": "showOpen",
"name": "Show Open as URL action",
"type": "BOOLEAN",
"defaultValue": "true",
"required": false
},
{
"key": "showTranslate",
"name": "Show Translate action",
"type": "BOOLEAN",
"defaultValue": "true",
"required": false
},
{
"key": "showShare",
"name": "Show Share action",
"type": "BOOLEAN",
"defaultValue": "false",
"required": false
},
{
"key": "minLength",
"name": "Minimum selection length",
"description": "Ignore selections shorter than this many characters.",
"type": "NUMBER",
"defaultValue": "2",
"required": false
}
]
}