| Commit message (Collapse) | Author | Age |
... | |
|\ \ \
| | | |
| | | | |
Use `lychee` to check for broken links in CI & fix broken links
|
| |/ / |
|
|/ / |
|
|\ \
| | |
| | | |
README.md: yomichan → yomitan; add announcement
|
|/ /
| |
| | |
Add a basic banner at the top to explain what this fork is, its goal, and how people can contact us. Also replace all references to yomichan with yomitan.
|
|/ |
|
|
|
|
| |
branch instead.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* Fix ajv validation errors
* Update error format
|
|
|
|
|
|
|
| |
* Document Backend
* Document RequestBuilder
* Document some of AnkiConnect
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Rename
* Rename vars
* Refactor paste target
* Prevent most CSS url() properties from loading
* Add helper function to clear rich function
* Add useRichText argument
* Update condition for using readText
* Fix indent
* Update CSS
|
|
|
|
|
|
|
|
|
| |
* Update dependencies
* Rebuild parse5
* Update version info
* Audit fix
|
|
|
|
|
| |
* Update ignore to use directories
* Add lint ignore files
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix spacing
* Update lint dependencies
* Disable false positive rule
* Update header rule
* Install eslint-plugin-jsonc
* Update lint rules to include jsonc extension
|
| |
|
|
|
|
|
| |
* Refactor error throwing and change ID
* Show a notification when an audio download fails due to an expired cert
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove unused ignoreSelectors
* Remove unused isMouseButtonPressed
* Update getWritingMode to use the immediate element if possible
* Move static functions to DocumentUtil
* Fix documentation
|
|
|
|
|
|
|
|
|
| |
* Document TextSourceRange
* Document TextSourceElement
* Document DocumentUtil
* Document DocumentFocusController
|
| |
|
| |
|
|
|
|
|
|
|
| |
* Use getAttribute instead of dataset, in case SVG node APIs are unusual
* Use pointer-events instead of fill
* Use elementFromPoint instead of elementsFromPoint
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move TextSourceRange static functions to DocumentUtil
getWritingMode is also simplified
* Update Google Docs range to be empty to match other range sources
* Rename imposterContainer to imposterElement
* Add static creation functions
* Add static creation function
* Remove unused collapse function
* Don't select imposter elements
* Refactor setEndOffset
* Adjust argument order for setEndOffset
* Update TextSourceRange constructor
* Remove unused isConnected
* Cache rects
* Fix test
* Remove unused getRect
* Revert "Fix test"
* Remove cachedRect
* Use the source element rect to handle scroll differences
* Writing mode update
* Remove _cachedRects update
This shouldn't be necessary as the imposter is usually detached
almost immediately after scanning, giving no time for the window
to be resized or scrolled.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update Google Docs injection script
* Create GoogleDocsUtil
* Update Frontend.js to register GoogleDocsUtil's getRangeFromPoint handler
* Update setting name and description
* Add comment
* Fix Firefox support
|
|
|
|
|
| |
* Update DocumentUtil.getRangeFromPoint to be extensible
* Add documentation
|
|
|
|
|
| |
* Inject MV3 scripts immediately
* Add api.loadExtensionScripts
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Make all methods static
The two non-static methods are kept for temporary compatibility
* Use this instead of class name now that functions are static
* Update test
* Don't instantiate DocumentUtil
* Remove temporary non-static methods
* Remove unused global declaration
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Exclude documentElement from zoom calculation
* Add an option
* Refactor zoom coordinate conversion functions
* Convert zoom coordinates for text sources
* Rename variable
* Convert rect coordinate spaces
* Handle shadow DOM
|
| |
|
| |
|
|\
| |
| | |
Remove old dictionaries
|
| | |
|
|/ |
|
|
|
|
|
|
|
| |
* Update StringUtil
* Refactor
* Handle UTF-16 surrogate pairs
|
|
|
|
|
|
|
| |
* Create new StringUtil
* Use StringUtil in DOMTextScanner
* Fix order
|
|
|
|
|
|
|
| |
* Rename StringUtil to ArrayBufferUtil
* Update docs
* Rename file string-util.js to array-buffer-util.js
|
|
|
|
|
| |
* Add _layoutAwareScan option to TextSourceElement.setEndOffset for parity
* Remove default param
|
| |
|
|
|
|
|
|
|
|
|
| |
* Update settings controller to consistently initialize
* Allow profile index to be reset if an error occurs
* Update message handler to be async
* Fix error when deleting the current profile
|
|
|
|
|
|
|
| |
* Use for loop rather than map
* Add _getNoteQuery
* Optimize findNoteIds to reduce repeat queries
|
| |
|
|
|
|
|
| |
* Fix invalid default values for popupTheme and popupOuterTheme
* Options update
|
|
|
|
|
| |
* Refactor
* Handle CSS zoom when scanning
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add support for an idle timeout when downloading audio
* Update eslint rules
* Pass idleTimeout to the downloader from DisplayAnki
* Add anki.downloadTimeout setting
* Update tests
* Assign _audioDownloadIdleTimeout using settings
* Show info about cancelled downloads
* Handle Firefox bug
* Improve audio errors
* Refactor
* Move functions to RequestBuilder
|
| |
|
|
|
|
|
|
|
|
|
| |
Allow for arbitrary string assignment to the font-size property.
https://developer.mozilla.org/en-US/docs/Web/CSS/font-size
Add support for the text-align property.
https://developer.mozilla.org/en-US/docs/Web/CSS/text-align
Co-authored-by: stephenmk <stephenmk@users.noreply.github.com>
|