yomichan/ext/mixed/js
toasted-nutbread 208217198e
Display history refactor (#691)
* Create DisplayHistory

* Change arguments for _setContentTermsOrKanji

* Set up history-driven content updates

* Use new history only

* Load definitions if missing

* Refactor definitions getting

* Add support for wildcards

* Move definitions setup

* Add events

* Allow state change even if there is no history state

* Update search page to use history

* Fix history overwriting

* Fix search page not seeing state chang events during prepare

* Update state if necessary

* Don't reassign query text if the same

* Remove DisplayContext

* Initialize with real history state

* Track URL

* Update DisplayHistory to support pseudo-history

* Configure history settings on search page

* Fix state

* Use full URL

* Change data format of setContent

* Rename details to content

* Update event arguments

* Fix animation

* Remove old state changes

* Clear content properly

* Remove set/clear content overrides

* Fix setting up event listeners for content clear

* Make clearContent private

* Make focus opt-in

* Validate source

* Add unloaded type

* Generalize content params

* Update how extension unload content is assigned

* Restore query blurring
2020-07-26 16:51:54 -04:00
..
api.js Reusable backend popup window (#673) 2020-07-18 20:30:10 -04:00
audio-system.js Replace XMLHttpRequest (#562) 2020-06-13 10:23:04 -04:00
comm.js Force targetTabId to be null if not a number (#678) 2020-07-19 12:26:57 -04:00
core.js Util refactor and fix (#638) 2020-07-03 11:57:15 -04:00
display-generator.js API refactor (#532) 2020-05-24 13:30:40 -04:00
display-history.js Display history refactor (#691) 2020-07-26 16:51:54 -04:00
display.js Display history refactor (#691) 2020-07-26 16:51:54 -04:00
dom-data-binder.js DOM binder fixes (#564) 2020-05-29 19:44:53 -04:00
dom.js Frontend initialization refactor (#610) 2020-06-21 16:14:05 -04:00
dynamic-loader-sentinel.js Create dynamic script/CSS loader utility 2020-04-21 21:16:26 -04:00
dynamic-loader.js Shadow DOM container for popup iframes (#623) 2020-06-24 21:46:13 -04:00
environment.js Update browser compatibility and Edge detection (#629) 2020-06-28 12:40:02 -04:00
frame-client.js Generalized frame connections (#654) 2020-07-08 19:58:06 -04:00
frame-endpoint.js Generalized frame connections (#654) 2020-07-08 19:58:06 -04:00
japanese.js Japanese util refactor (#510) 2020-05-06 19:37:36 -04:00
media-loader.js API refactor (#532) 2020-05-24 13:30:40 -04:00
object-property-accessor.js Object property accessor API update (#485) 2020-05-02 12:57:42 -04:00
scroll.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
task-accumulator.js Settings binder (#542) 2020-05-24 13:50:34 -04:00
template-handler.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
text-scanner.js Frontend initialization refactor (#610) 2020-06-21 16:14:05 -04:00
timer.js Refactor timer privates (#639) 2020-07-03 11:58:12 -04:00
yomichan.js Script ready state change (#672) 2020-07-18 17:11:38 -04:00