aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/frontend.js
Commit message (Collapse)AuthorAge
* Add support for a popup previewtoasted-nutbread2019-10-12
|
* Don't pass options around for calls to termsShow, kanjiShow, etc.toasted-nutbread2019-10-12
|
* Make popups store optionstoasted-nutbread2019-10-12
|
* Frontend updatestoasted-nutbread2019-10-11
|
* Create utility function for logging errorstoasted-nutbread2019-10-08
|
* Merge pull request #234 from toasted-nutbread/remove-frontend-event-listenersAlex Yatskov2019-10-05
|\ | | | | Remove event listeners when scanning is disabled
| * Remove event listeners when scanning is disabledtoasted-nutbread2019-10-05
| |
* | Make the window.onresize handler not change focustoasted-nutbread2019-10-05
| |
* | Rename Popup.setVisible to setVisibleOverridetoasted-nutbread2019-10-05
|/
* Merge pull request #233 from toasted-nutbread/static-handlersAlex Yatskov2019-10-05
|\ | | | | Static handlers
| * Use static object for frontend message handlerstoasted-nutbread2019-10-02
| |
* | Fix inconsistent return typetoasted-nutbread2019-10-01
|/
* Fix tab focus being changed due to settings changestoasted-nutbread2019-09-29
|
* Merge pull request #218 from toasted-nutbread/settings-profile-conditionsAlex Yatskov2019-09-23
|\ | | | | Settings profile conditions
| * Add support for using optionsContext to select which profile to usetoasted-nutbread2019-09-18
| |
* | Use a Promise to trigger callback when delay is 0 or lesstoasted-nutbread2019-09-19
|/
* 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
|