chore: update word counter mod.json w/ configurable speeds

This commit is contained in:
dragonwocky 2024-01-31 23:29:46 +11:00
parent b55e74a2c5
commit d8b6aef698
Signed by: dragonwocky
GPG Key ID: 7998D08F7D7BD7A8
2 changed files with 20 additions and 13 deletions

View File

@ -1,23 +1,29 @@
{ {
"name": "word counter", "name": "Word Counter",
"version": "0.4.0",
"id": "b99deb52-6955-43d2-a53b-a31540cd19a5", "id": "b99deb52-6955-43d2-a53b-a31540cd19a5",
"version": "0.3.0", "description": "Adds word, character, sentence and block counts with average reading and speaking times to the panel.",
"description": "view word/character/sentence/block count & speaking/reading times in the side panel.", "thumbnail": "word-counter.jpg",
"preview": "word-counter.jpg", "tags": ["panel"],
"tags": ["extension", "panel"],
"authors": [ "authors": [
{ {
"name": "dragonwocky", "name": "dragonwocky",
"email": "thedragonring.bod@gmail.com",
"homepage": "https://dragonwocky.me/", "homepage": "https://dragonwocky.me/",
"avatar": "https://dragonwocky.me/avatar.jpg" "avatar": "https://dragonwocky.me/avatar.jpg"
} }
], ],
"js": { "options": [
"client": ["client.mjs"] {
}, "type": "number",
"css": { "key": "readingSpeed",
"client": ["client.css"] "description": "The average number of words read per minute, used in calculating a page's reading time.",
}, "value": 275
"options": [] },
{
"type": "number",
"key": "speakingSpeed",
"description": "The average number of words spoken per minute, used in calculating a page's speaking time.",
"value": 180
}
]
} }

View File

@ -3,6 +3,7 @@
"extensions/titlebar", "extensions/titlebar",
"extensions/topbar", "extensions/topbar",
"extensions/outliner", "extensions/outliner",
"extensions/word-counter",
"extensions/scroll-to-top", "extensions/scroll-to-top",
"themes/classic-dark" "themes/classic-dark"
] ]