summaryrefslogtreecommitdiff
path: root/ext/fg/js/frontend.js
Commit message (Collapse)AuthorAge
* Remove redundant call of popupTimerCleartoasted-nutbread2019-09-14
| | | | Also use explicit null checks rather than truthy checks.
* Rename type to causetoasted-nutbread2019-09-14
|
* Remove destructuring from searchAt, containsPoint, docRangeFromPointtoasted-nutbread2019-09-14
|
* Remove unused variabletoasted-nutbread2019-09-14
|
* Remove mouseDownLeft and mouseDownMiddletoasted-nutbread2019-09-14
| | | | MouseEvent.buttons can be used instead.
* Add a context object for all calls to fetch optionstoasted-nutbread2019-09-10
|
* Ensure both Popup and PopupProxy have valid depthtoasted-nutbread2019-09-10
|
* Change how options updates are handled on the frontendtoasted-nutbread2019-09-10
| | | | Only an 'optionsUpdate' signal is now sent to the frontend with empty data. The frontend then responds by performing apiOptionsGet to update the options. This makes it so that there is only a single function which is responsible for requesting options from the backend.
* Merge pull request #204 from toasted-nutbread/settings-improvementsAlex Yatskov2019-09-08
|\ | | | | Settings improvements
| * Use consistent structure for paramstoasted-nutbread2019-09-06
| |
* | Merge pull request #201 from toasted-nutbread/omit-contains-point-checkAlex Yatskov2019-09-05
|\ \ | |/ |/| Omit containsPoint check on searchAt
| * Omit containsPoint check on searchAttoasted-nutbread2019-09-03
| | | | | | | | The range returned by docRangeFromPoint is now guaranteed to contain the point due to the addition of isPointInRange checks.
* | Move static DOM scanning functions into TextSourceRangetoasted-nutbread2019-09-02
| |
* | simplified if statement back to single linesiikamiika2019-09-02
| |
* | prevent closing new child popup on parent mouseoutsiikamiika2019-09-02
| |
* | make containsPoint async everywheresiikamiika2019-09-02
| |
* | Add option to enable/disable scanning of source expressions in popupstoasted-nutbread2019-09-02
| |
* | Update nested initialization parameters passed via message rather than using ↵toasted-nutbread2019-09-02
| | | | | | | | the URL query string
* | Fix messaging issues when iframes are present in the documenttoasted-nutbread2019-09-02
| |
* | Add support for showing recursive popupstoasted-nutbread2019-09-02
|/
* Add option for enabling deep scanningtoasted-nutbread2019-09-02
|
* Merge pull request #196 from toasted-nutbread/vertical-text-popup-positionAlex Yatskov2019-09-02
|\ | | | | Vertical text popup position
| * Improve popup position for vertical texttoasted-nutbread2019-08-31
| |
* | Make the imposter element tracked using TextSourceRangetoasted-nutbread2019-08-31
|/
* Merge pull request #176 from toasted-nutbread/selection-touch-scan-disableAlex Yatskov2019-08-17
|\ | | | | Don't scan when touching the current selection
| * Disable focus of popup when using touchtoasted-nutbread2019-08-09
| | | | | | | | Context menu on Firefox will not target the text properly if the focus is on the popup window.
| * Don't scan when touching the current selectiontoasted-nutbread2019-08-09
| |
* | Merge pull request #182 from toasted-nutbread/anki-screenshotAlex Yatskov2019-08-17
|\ \ | | | | | | Anki screenshot
| * | Add ability to save screenshot to anki cardstoasted-nutbread2019-08-15
| |/
* / Don't process touchmove events if they can't be canceledtoasted-nutbread2019-08-09
|/ | | | If the event cannot be canceled, the browser will continue to scroll while looking up results, which makes it very difficult to control where the lookup cursor is. Chrome also logs error messages that this is invalid.
* Make error loging unintrusivetoasted-nutbread2019-05-04
| | | | This alert can show up under normal use circumstances on mobile
* Update frontend.jstoasted-nutbread2019-02-20
|
* Add support for touch inputtoasted-nutbread2019-02-10
|
* Add option to play audio automaticallyguidocella2017-12-16
|
* improved error reportingAlex Yatskov2017-09-22
|
* more improvements to automatic search result hiding (#71)Alex Yatskov2017-09-17
|
* add option to automatically hide search results (fixes #71)Alex Yatskov2017-09-16
|
* don't show busy spinner while waiting for card infoAlex Yatskov2017-08-17
| | | | smoother cursor movement in firefox
* frontend cleanupAlex Yatskov2017-08-15
|
* cleanupAlex Yatskov2017-08-14
|
* lots of fixes to backendAlex Yatskov2017-08-14
|
* wipAlex Yatskov2017-08-13
|
* wipAlex Yatskov2017-08-13
|
* wipAlex Yatskov2017-08-13
|
* cleanupAlex Yatskov2017-07-22
|
* cleanupAlex Yatskov2017-07-20
|
* cleanupAlex Yatskov2017-07-20
|
* cleanupAlex Yatskov2017-07-20