yomichan/ext/bg/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
..
settings Script ready state change (#672) 2020-07-18 17:11:38 -04:00
anki-note-builder.js Optimize anki note field generation (#611) 2020-06-21 15:54:34 -04:00
anki.js Fix Anki CORS requests (#666) 2020-07-17 14:27:57 -04:00
audio-uri-builder.js Remove debug log (#603) 2020-06-13 10:42:59 -04:00
backend.js Fix search popup mode (#687) 2020-07-25 13:23:51 -04:00
background-main.js Merge BackendEventHandler into Backend class (#632) 2020-06-28 17:22:44 -04:00
clipboard-monitor.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
conditions.js Fix modifier key condition data (#506) 2020-05-06 19:44:56 +03:00
context-main.js Script ready state change (#672) 2020-07-18 17:11:38 -04:00
database.js Rename GenericDatabase to Database (#634) 2020-06-28 17:29:16 -04:00
deinflector.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
dictionary-database.js Rename GenericDatabase to Database (#634) 2020-06-28 17:29:16 -04:00
dictionary-importer.js Dev dependencies updates (#679) 2020-07-19 22:05:37 -04:00
dictionary.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
json-schema.js Make JsonSchemaProxyHandler.unconstrainedSchema public and non-configurable (#636) 2020-07-03 11:55:39 -04:00
mecab.js Error logging refactoring (#454) 2020-04-26 16:55:25 -04:00
media-utility.js Add documentation 2020-04-19 10:24:59 -04:00
options.js Shadow DOM container for popup iframes (#623) 2020-06-24 21:46:13 -04:00
profile-conditions.js Move private function definitions inside of IIFE (#641) 2020-07-03 12:00:13 -04:00
query-parser-generator.js Query parser refactor (#683) 2020-07-24 16:03:11 -04:00
query-parser.js Query parser refactor (#683) 2020-07-24 16:03:11 -04:00
request.js Fix Anki CORS requests (#666) 2020-07-17 14:27:57 -04:00
search-main.js Script ready state change (#672) 2020-07-18 17:11:38 -04:00
search.js Display history refactor (#691) 2020-07-26 16:51:54 -04:00
template-renderer.js Add eachUpTo function (#690) 2020-07-26 16:50:56 -04:00
text-source-map.js Refactor text source map (#649) 2020-07-03 15:57:17 -04:00
translator.js Move util database modification functions (#499) 2020-05-06 19:28:26 -04:00
util.js Util refactor and fix (#638) 2020-07-03 11:57:15 -04:00