aboutsummaryrefslogtreecommitdiff
path: root/ext/js
Commit message (Collapse)AuthorAge
* update JSDoc comments (#387)Cashew2023-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lesen-tan initial commit * update README.md * tidy up code * opt for Map<K, V> instead of Object * Document dev/* * add docs for deinflector.js * update deinflector example * Annotate * Revert "Merge branch 'development' of https://github.com/Scrub1492/lesen-tan into development" This reverts commit b92348f702bc031b36f24462adfa940d17f9ecdd, reversing changes made to 3255e6d963281af3533dcf1e893df39032d29fec. * Lint error fix * Lint error fix * update JSDoc comments --------- Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
* IIFE updates (#384)toasted-nutbread2023-12-19
| | | | | | | * Remove most IIFEs * Move IIFEs into functions * Don't await background-main
* Remove dynamic-loader scripts, simplify script loading (#383)toasted-nutbread2023-12-19
|
* Refactor bulk delete function (#382)toasted-nutbread2023-12-19
|
* Fix welcome page not having certain elements (#379)toasted-nutbread2023-12-19
|
* capture all terminators and quotes in the sentence (#360)Cashew2023-12-19
| | | | | | | | | | | | | * capture all terminators and quotes in the sentence * fix negative position, add documents and tests * fix comments giving wrong semantics * add test case coverage * remove cursor namespace for possible performance penalties * while loop optimization
* Add some JSDoc annotations to describe code functionality. (#355)Cashew2023-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | * lesen-tan initial commit * update README.md * tidy up code * opt for Map<K, V> instead of Object * Document dev/* * add docs for deinflector.js * update deinflector example * Annotate * Revert "Merge branch 'development' of https://github.com/Scrub1492/lesen-tan into development" This reverts commit b92348f702bc031b36f24462adfa940d17f9ecdd, reversing changes made to 3255e6d963281af3533dcf1e893df39032d29fec. * Lint error fix * Lint error fix
* Fix Non JP Scanning Option for Kanji Dictionaries (#372)marv2023-12-18
| | | | | | | * Fix non JP scanning option for kanji dictionaries * Fix trailing comma * Add removeNonJapaneseCharacters to test inputs
* Mock updates (#370)toasted-nutbread2023-12-18
| | | | | | | | | * Move DictionaryImporterMediaLoader mock * Move TemplateRendererProxy mock * Simplify mock * Remove ignore rule because it seems unused
* Update eslint spacing rules (#366)toasted-nutbread2023-12-17
| | | | | | | | | * Add space-infix-ops rule * Add no-multi-spaces --------- Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
* Safer query selector (#364)toasted-nutbread2023-12-17
| | | | | | | | | | | | | | | | | | | | | * Add querySelectorNotNull helper function * Use querySelectorNotNull * Updates * Update settings * Remove unused * Update * Update function calls * More updates * Update types * Remove obsolete code
* Fix usage of any (*) type in DocumentUtil (#361)toasted-nutbread2023-12-16
|
* Change no-console to error, only for ext files (#352)toasted-nutbread2023-12-11
|
* Update how ts comments are handledtoasted-nutbread2023-12-04
|
* Fix some import orderingstoasted-nutbread2023-12-03
|
* Fix nametoasted-nutbread2023-11-30
|
* Fix bugtoasted-nutbread2023-11-29
|
* Update library typestoasted-nutbread2023-11-27
|
* Revert "Use import map"toasted-nutbread2023-11-27
|
* Update timer types and suchtoasted-nutbread2023-11-27
|
* Use import maptoasted-nutbread2023-11-27
|
* Update offscreentoasted-nutbread2023-11-27
|
* Update request buildertoasted-nutbread2023-11-27
|
* Update dictionary importertoasted-nutbread2023-11-27
|
* Update typestoasted-nutbread2023-11-27
|
* Update typestoasted-nutbread2023-11-27
|
* Update typestoasted-nutbread2023-11-27
|
* Update some common typestoasted-nutbread2023-11-27
|
* Updatestoasted-nutbread2023-11-27
|
* Add extension error importstoasted-nutbread2023-11-27
|
* Remove unneeded referencestoasted-nutbread2023-11-27
|
* Add JSDoc type annotations to project (rebased)toasted-nutbread2023-11-27
|
* Fix text replacements offscreenjbukl2023-11-17
|
* whitespacepraschke2023-11-12
|
* separate offscreen proxies from backend.jspraschke2023-11-12
|
* Merge branch 'master' into offscreen-dbDarius Jahandarie2023-11-12
|\
| * Merge branch 'master' into replace-yomichanDarius Jahandarie2023-11-12
| |\
| * | Fix LintJSstarxeras2023-11-10
| | |
| * | `yomichan` -> `yomitan`starxeras2023-11-10
| | |
| * | Replaced `iframe.yomichan-popup`starxeras2023-11-10
| | |
* | | Move dictionary db to offscreenjbukl2023-11-11
| |/ |/|
* | Fix dexie import and exportjbukl2023-11-10
| |
* | Fix dynamic loader esmjbukl2023-11-10
|/ | | | Fix dynamic loader script check
* Fix hb import for media providerjbukl2023-11-09
|
* Switch to vitest for ESM support; other fixesDarius Jahandarie2023-11-08
|
* Modernize codebaseDarius Jahandarie2023-11-04
| | | | | | - Use ES modules - Remove vendored libs and build them from npm using esbuild - Switch from JSZip to zip.js
* Replace JsonSchema with ajv for dictionary validationDarius Jahandarie2023-11-03
|
* nativeMessaging can always be optionalpraschke2023-10-29
| | | | this is the only blocker to Firefox for Android.
* remove webRequest and webRequestBlockingpraschke2023-10-29
| | | | | | | | | | | | | | | | firefox was previously unable to use declarativeNetRequest, as some browser state (ExtensionDNRStore) wasn't correctly initialized wrt yomitan's use of the DNR API. this bug manifested as an unexpected error on calls to updateDynamicRules(), specifically after the browser has been restarted. switching to the use of session rules instead of dynamic rules fixes this bug. i have tested audio info requests (custom JSON, JPod Alternate, Jisho) that exhibited the bug after browser restart on version 115 and 118, and the audio plays instead of the request failing. webRequest can now be entirely removed.
* fix: session rules should be used instead of dynamic rulespraschke2023-10-29
| | | | | | session rules are less persistent than dynamic rules, and the intention of RequestBuilder is to only have rules active for the lifetime of specific requests.