aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/frontend.js
Commit message (Collapse)AuthorAge
* Frontend refactor (part 1) (#484)toasted-nutbread2020-04-27
| | | | | | | | | | | | | | | | | | | * Remove _getVisualViewportScale * Use super's mouse event listener definitions * Remove redundant override * Remove getTouchEventListeners override * Rename Display.onSearchClear to onEscape * Change onSearchClear to clearSelection and use an event * Update how text is marked for selection and deselection * Replace onError with yomichan.logError * Update setEnabled to refresh all event listeners
* Update Popup and DisplayFloat optionsContext from Frontend (#464)siikamiika2020-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | * set optionsContext from Frontend * update Popup+Display options on Frontend change * remove popup setOptions * only update DisplayFloat options from Frontend * fix optionsContext usage * fix preview frame arguments * keep Frontend URL up to date * cache url * fix preview frame * trigger modifyingProfileChange in correct places * remove async from function not using await * refactor optionsContext in Frontend
* Merge pull request #439 from siikamiika/popup-live-togglesiikamiika2020-04-17
|\ | | | | Popup live toggle
| * fix _canEnable being used before setting optionssiikamiika2020-04-14
| |
| * don't focus tab when changing settingssiikamiika2020-04-14
| |
| * simplify frontend disable overridesiikamiika2020-04-11
| |
| * use setters instead of EventDispatchersiikamiika2020-04-11
| |
| * fix preview frame errorsiikamiika2020-04-11
| |
| * change iframe popup livesiikamiika2020-04-11
| |
| * allow disabling scan on search page livesiikamiika2020-04-11
| |
| * limit popup depth livesiikamiika2020-04-11
| |
* | Fix default value of _orphanedtoasted-nutbread2020-04-11
|/
* Merge pull request #437 from toasted-nutbread/backend-api-handler-changestoasted-nutbread2020-04-11
|\ | | | | Backend api handler changes
| * apiBroadcast => apiBroadcastTabtoasted-nutbread2020-04-10
| |
| * Rename apiForward to apiBroadcasttoasted-nutbread2020-04-07
| |
* | Update license author field to broader to explicitly reflect thatAlex Yatskov2020-04-10
|/ | | | | Yomichan is an ongoing community project. It really does take a village, and everyone who contributes code owns a part of it :)
* Add support for getting the document titletoasted-nutbread2020-04-06
|
* move broadcastRootPopupInformation to Frontendsiikamiika2020-04-05
|
* refactorsiikamiika2020-04-05
|
* fix and simplifysiikamiika2020-04-05
|
* show iframe popups in root framesiikamiika2020-04-05
|
* remove targetPopupId 'all'siikamiika2020-03-21
| | | | Make unset targetPopupId mean the same thing instead
* apply all options on profile changesiikamiika2020-03-21
|
* Update global declarationstoasted-nutbread2020-03-10
|
* Use .bind instead of () => {}toasted-nutbread2020-02-26
|
* Move event handler definitionstoasted-nutbread2020-02-26
|
* Simplify process to wait for iframe prepare completiontoasted-nutbread2020-02-16
|
* Rename optionsUpdate event to optionsUpdatedtoasted-nutbread2020-02-14
| | | | | | Past tense better indicates that the options were changed, but no data is being included as part of the event. It is also more consistent with the other event names the yomichan object currently provides.
* Merge pull request #357 from siikamiika/simplify-display-preparesiikamiika2020-02-14
|\ | | | | Simplify display prepare
| * use sendMessage to notify about initializationsiikamiika2020-02-14
| |
* | Define more globalstoasted-nutbread2020-02-11
|/
* Remove window.onscroll handler since it causes a warningtoasted-nutbread2020-01-22
|
* Update popup position on scrolltoasted-nutbread2020-01-22
|
* Implement scale relative to visual viewporttoasted-nutbread2020-01-22
|
* Add settings to control popup content scaletoasted-nutbread2020-01-22
|
* Scale popup based on current page zoom factortoasted-nutbread2020-01-22
|
* Remove redundant window resize handlertoasted-nutbread2020-01-22
|
* Create single function for how the frontend shows popup contenttoasted-nutbread2020-01-22
|
* use TextScanner in QueryParsersiikamiika2020-01-16
|
* Update license info URLtoasted-nutbread2020-01-01
|
* Update copyrighttoasted-nutbread2020-01-01
|
* Update initializationtoasted-nutbread2019-12-21
|
* Update how orphan state is observedtoasted-nutbread2019-12-20
|
* Move optionsUpdate message handler into Yomichan classtoasted-nutbread2019-12-20
|
* Don't return promises for frontend message handlerstoasted-nutbread2019-12-16
|
* isVisibleAsync => isVisibletoasted-nutbread2019-12-16
|
* Add Popup.isProxytoasted-nutbread2019-12-16
|
* Add getContainer to popuptoasted-nutbread2019-12-16
|
* Remove redundant getUrl handlerstoasted-nutbread2019-12-13
|
* Update frontend message handlerstoasted-nutbread2019-12-13
|