| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
* Fix for chrome.commands not being present on Firefox's embedded float.html
* Fix _getSearchContext mishandling _optionsContextOverride
|
| |
|
|
|
|
|
|
|
| |
* Add support for frontend hotkeys; add scanSelectedText action
* Remove unused global
* Remove duplicate hotkey handler script
|
|
|
|
|
|
|
|
|
| |
* Add support for allowing HotkeyHandler to forward hotkeys
* Update hotkey registration
* Pass HotkeyHandler instance into Display* constructor
* Implement hotkey forwarding
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add support for allowing TextScanner.search to force focus
* Simplify query parser searched event forwarding
* Defer fallback creation
* Simplify event listeners
* Change type to pointerType
* Change cause to eventType
* Change empty to passive; make .search function passive
* Remove unused input index
|
|
|
|
|
| |
* Add collapse function to TextSource*
* Add isConnected getter to TextSource*
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Pass url into setContent
* Update where url is checked from
* Add documentTitle to state information
* Update how _getNoteContext gets the document title
* Update how url is fetched for options context
* Pass document title in to 'searched' event
|
|
|
|
|
| |
* Refactor how options context is created and updated
* Udpate TextScanner/QueryParser to use getSearchContext instead of getOptionsContext
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add new sentenceParsing options
* Update TextScanner.setOptions
* Assign terminator/quote maps
* Pass sentence parsing info to extractSentence
* Simplify setting
* Add setting for enableTerminationCharacters
* Create new settings for sentence termination characters
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Rename sentenceExtent with sentenceScanExtent
* Update TextScanner.setOptions
* Change function argument order
* Rename quote map variables
* Fix edge case quote handling
* Update terminator maps to support character inclusion
|
|
|
|
|
|
|
| |
* Rename options.anki.sentenceExt to options.sentenceParsing.scanExtent
* Create sentence parsing icon
* Create new sentence parsing section
|
|
|
|
|
| |
* Update copyright year
* Remove redundant Author info
|
|
|
|
|
|
|
|
|
|
|
| |
* Expose Display.displayGenerator
* Update search when assigning options context
* Don't clear selection unless the popup changes
* Merge search styles
* Create panel for changing the profile
|
|
|
|
|
|
|
|
|
| |
* Improve styles for #content-scroll-focus
* Create new class to manage and control document focus
* Use new focus class
* Add a check to prevent redundant .blur calls
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add popup functions for getting/setting the frame size
* Add frontend functions for getting/setting popup frame size
* Expose display mode attribute on display HTML
* Disable resizer on iframe
* Add custom frame resizer handle
* Add support for custom frame resizer
|
|
|
|
|
| |
* Use JapaneseUtil as a class which is manually instantiated
* Use alias function for toKana
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Rename classes yomichan-float to yomichan-popup
* Use attributes instead of classes
* Refactor
* Update popup outer scaling
* Update outer theme usage
* Move client.css to popup-outer.css in /mixed
|
|
|
|
|
|
|
|
|
|
|
| |
* Replace compactGlossaries option with new glossaryLayoutMode option
* Update attributes
* Update attributes
* Update color definitions
* Fix default theme scrollbar
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix history assignment on the search page
* Use clear instead of assigned
* Simplify definitions assignment
* Organize
* Fix query not being cleared
* Fix media loading
* Fix potential issue with options not being assigned
* Catch error when frameId is null, causing infinite loop
* Fix frontend construction parameters
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Only ignore nodes on non-web pages
* Fix issue where options might not be assigned on nested frontends
* Refactor default TextScanner options
* Add option to enable search only on click
* Simplify restore state assignment
* Update options context passing
* Fix empty title
* Use TextScanner to scan content inside of Display
* Rename ignoreNodes to excludeSelector(s)
* Fix options update incorrectly triggering a re-search
* Fix copy throwing an error on the search page
* Replace _onSearchQueryUpdated with _search
* Use include selector instead of exclude selector
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Pass childrenSupported as a parameter to Frontend/Popup constructors
* Remove setChildrenSupported
* Use event listener instead of function override
* Update options order
* Expand options and use object for clarity
* Fix childrenSupported not being fully propagated
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update audio play delay
* Move frame endpoint to Display
* Move _invokeOwner and close implementation
* Move browser info assignment
* Move window message handler setup
* Move copy implementation
* Move document title function
* Move extension unload handler
* Move close handler
* Move history event handlers
* Remove DisplayFloat
* Remove unused
* Organize
* Move event listeners into prepare
|
| |
|
|
|
|
|
|
|
|
|
| |
* Add close function to Display
* Add new sidebar with navigation and close buttons
* Set up new navigation functionality
* Remove old navigation
|
|
|
|
|
|
|
| |
* Fix an entry not always being focused
* Fix typo
* Fix copy action not working on Firefox
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update Display.setOptionsContext to update options
* Update how options context is updated in Popup
* Omit optionsContext for some _showPopupContent calls
* Remove extension unload
* Disable modifier keys in frontend's options context
* Update how text scanner passes modifiers to options context
* Update how options context is passed to display
* Update how display uses options context
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Update event order
* Update inputs
* Add type and cause to input info
* Update input info args
* Simplify arguments
* Update argument name
* Change order
|
|
|
|
|
| |
* Update how options context overriding works
* Make function private
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Use same selectors
* Use consistent stylesheet declaration
* Fix query parser not being cleared
* Set property upon load
* Don't focus for Enter key press
* Update search page styles
* Update indent and nodes
* Support dark style
* Add missing var
|
|
|
|
|
|
|
|
|
|
|
| |
* Rename functions for better clarity
* Remove unused properties
* Add getNodesInRange function
* Improve ignore nodes check
* Use private fields
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move CSS
* Update indent
* Refactor HTML/CSS
* Add support for editing the source text
* Add WanaKana binding for input
* Rename file
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Add preventMiddleMouse option to TextScanner
* Add preventMiddleMouse options
* Add options
* Apply preventMiddleMouse options
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add option pointerEventsEnabled
* Add _pointerEventsEnabled option to TextScanner
* Add additional options
* Mouse pointer events
* Touch pointer events
* Pen pointer events
|
|
|
|
|
| |
* Rename _searchAtFromMouse to _searchAtFromMouseMove
* Rename cause 'mouse' to 'mouseMove' for clarity
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add inputs to options.scanning
* Update CSS for mouse buttons
* Update list counters
* Set up HTML/CSS
* Add input controller
* Use new inputs
* Include mouse buttons
* Update how button inputs are detected
* Add index/empty fields to the input details object
* Update none check for scanning modifier
* Remove old settings
* Remove unused global
|
|
|
|
|
|
|
| |
* Use more consistent style for injectScreenshot
* Move screenshot generation into AnkiNoteBuilder/Backend
* Get optionsContext before await
|
|
|
|
|
|
|
|
|
|
|
| |
* Add hideDelay option
* Add _clearSelection
* Use hideDelay
* Prevent repeated delayed selection clears
* Fix popup hide timer being cleared when the cursor is moved into the frame
|
|
|
|
|
|
|
| |
* Fix incorrect argument being passed
* Clear causeCurrent
* Change cause string to a more general input object
|
| |
|
|
|
|
|
|
|
| |
* Add option usePopupWindow
* Add PopupWindow class
* Add support for creating PopupWindow
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Create searchAt wrappers
* Add optional support for searching on the click event
* Update QueryParser to use TextScanner's searchOnClick functionality
* Move/rename searchAt
* Move pendingLookup checks
* Add 'searched' event to TextScanner
* Use common searched event for Frontend and QueryParser
* Move functions, make private
|
|
|
|
|
|
|
|
|
| |
* Fix incorrect function invocations
* Ignore setVisibleOverride when it returns null
* Omit redundant async
* Change default return value
|