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

67 lines
2.1 KiB
JSON

{
"id": "wta-reading-mode",
"name": "Reading Mode",
"description": "Strip a page down to its readable content: hides sidebars, ads, sticky bars and footers, then re-centres the article with comfortable typography. Three themes (light / sepia / dark) and three font sizes. Toggle from the floating panel.",
"icon": "menu_book",
"category": "READING",
"tags": ["reader", "article", "typography", "focus", "official"],
"version": {
"code": 2,
"name": "1.1.0",
"changelog": "Improved article extraction (ad/sidebar penalty), reading time estimate, custom font size."
},
"author": {
"name": "shiaho",
"url": "https://github.com/shiaho777"
},
"runAt": "DOCUMENT_END",
"urlMatches": [
{ "pattern": "*", "isRegex": false, "exclude": false }
],
"permissions": ["DOM_ACCESS", "CSS_INJECT", "STORAGE"],
"configItems": [
{
"key": "theme",
"name": "Theme",
"description": "Background and text colours used in reader mode.",
"type": "SELECT",
"defaultValue": "light",
"required": false,
"options": ["light", "sepia", "dark"]
},
{
"key": "fontSize",
"name": "Font size (px)",
"description": "Article body font size in pixels.",
"type": "NUMBER",
"defaultValue": "18",
"required": false
},
{
"key": "fontFamily",
"name": "Font family",
"description": "Reading-mode body typeface.",
"type": "SELECT",
"defaultValue": "serif",
"required": false,
"options": ["serif", "sans", "mono"]
},
{
"key": "maxWidth",
"name": "Reading column width (px)",
"description": "Maximum article width. 720 is comfortable for most languages; lower for narrower lines.",
"type": "NUMBER",
"defaultValue": "720",
"required": false
},
{
"key": "autoEnter",
"name": "Auto-enter on article pages",
"description": "Automatically enter reader mode when the page contains a long-form article (>800 words).",
"type": "BOOLEAN",
"defaultValue": "false",
"required": false
}
]
}