summaryrefslogtreecommitdiff
path: root/ext/bg/background.html
Commit message (Collapse)AuthorAge
* Fix fetch requests (#708)toasted-nutbread2020-08-02
| | | | | | | | | | | | | | | | | * Revert audio fetching functionality to use XMLHttpRequest * Replace requestJson * Replace requestJson * Replace requestJson * Replace requestJson and requestText * Fix tests * Include support for vulgar word searches * Remove request.js
* Pitch accent Anki field templates (#701)toasted-nutbread2020-08-01
| | | | | | | | | | | | | | | | | | | * Template helper updates * Add pitch data to exported field formatting data * Reuse note data * Add no-op * Set up pitch accent templates * Refactor version update functions * Implement upgrade process for new Anki templates * Consistency * Update README and anki.js to have matching markers
* Rename GenericDatabase to Database (#634)toasted-nutbread2020-06-28
|
* Rename Database to DictionaryDatabase (#633)toasted-nutbread2020-06-28
|
* Yomichan object separation (#627)toasted-nutbread2020-06-28
| | | | | | | | | | | | | * Move "yomichan" object setup to a separate file * Update script imports * Align message handlers * Rename Yomichan.prepare to Yomichan.ready * Add new prepare function * Improve isExtensionUrl
* Generic database (#600)toasted-nutbread2020-06-21
| | | | | | | | | | | | | | | | | | | * Update test * Rename db to _db * Create GenericDatabase class * Catch prepare error * Allow database to be purged even if it was not open * Remove unused functions * Change static functions to non-static * Delete and count using the media object store * Update tests
* Template renderer class (#574)toasted-nutbread2020-06-15
| | | | | | | | | | | | | | | * Convert handlebars.js to a class * Move/rename function * Update helper registration * Rename helper functions * Limit cache size * Make render() async * Rename and move
* Use cross frame API (#553)toasted-nutbread2020-06-07
| | | | | | | | | * Use new CrossFrameAPI for popup proxy communication * Remove use of old cross-frame communication classes * Remove use of old cross-frame communication files * Make the crossFrame object a member of the api object
* Update background global object usage (#556)toasted-nutbread2020-05-24
| | | | | | | * Omit global window object for scripts used on the background page * Validate document exists before using * Remove dom.js from background.html
* Modifier key platform names (#519)siikamiika2020-05-09
| | | | | | | | | | | | | | | | | | | | | * wip * add environment class * use Environment class * use Environment for scanning modifier options * remove Environment in favor of API * await promise * use modifier symbols on macOS * fix key separator issues * if else to switch * simplify variable names
* Japanese util refactor (#510)toasted-nutbread2020-05-06
| | | | | | | | | | | * Convert mixed japanese.js to utility class * Copy functions from bg/js/japanese.js into mixed/js/japanese.js * Remove bg/js/japanese.js * Make wanakana dependency optional * Update tests
* Add apiModifySettings (#501)toasted-nutbread2020-05-06
| | | | | | | | | | | | | | | | | * Update getProfile/getProfileFromContext to store this.options in a variable * Add useSchema parameter to options getter functions * Add apiModifySettings * Use apiModifySettings instead of apiOptionsSet * Remove apiOptionsSet * Fix incorrect deleteCount check * Require explicit scope for options * Throw on invalid scope
* Add Yomichan icon SVG (#478)toasted-nutbread2020-04-26
| | | | | | | * Create Yomichan icon SVG and 32x32 PNG * Update icons * Add 32x32 icon definition to HTML pages
* Create background-main.jstoasted-nutbread2020-04-19
|
* Add support for importing and storing media filestoasted-nutbread2020-04-18
|
* Merge pull request #424 from toasted-nutbread/dictionary-importertoasted-nutbread2020-04-05
|\ | | | | Dictionary importer
| * Move dictionary import functionality into a new classtoasted-nutbread2020-03-30
| |
* | Create simplified source map classtoasted-nutbread2020-03-28
|/
* Move basic string/character testing functions into a mixed/js/japanese.jstoasted-nutbread2020-03-21
|
* Rename audio.js to audio-uri-builder.jstoasted-nutbread2020-03-07
|
* Remove bg/js/api.jstoasted-nutbread2020-03-07
|
* Move Anki note generation functionality into a new classtoasted-nutbread2020-03-07
|
* Rename audio.js to audio-system.jstoasted-nutbread2020-03-07
|
* query parser html templatessiikamiika2020-02-10
|
* use ClipboardMonitor in Backendsiikamiika2020-02-09
|
* Move japanese.js into bgtoasted-nutbread2020-02-08
|
* Use schema to validate optionstoasted-nutbread2019-12-29
|
* Remove contenteditable="true" from textareatoasted-nutbread2019-12-22
|
* Make apiClipboardGet use plaintexttoasted-nutbread2019-12-22
| | | | Also clear the value before returning
* Fix missing API functions being used on the background pagetoasted-nutbread2019-12-20
|
* Use a single api.jstoasted-nutbread2019-12-13
|
* Create DOM utility filetoasted-nutbread2019-11-26
|
* Rename extension.js to core.js to better reflect its usetoasted-nutbread2019-11-26
|
* add mecab supportsiikamiika2019-11-23
|
* Remove dexietoasted-nutbread2019-11-10
|
* Add faviconstoasted-nutbread2019-11-02
|
* add workaround to Chrome clipboard.readTextsiikamiika2019-10-27
| | | | | For some reason this doesn't work on Firefox, so keep using the new API for Firefox
* Implement audio fallbackstoasted-nutbread2019-10-10
|
* Add support creating profile usage conditionstoasted-nutbread2019-09-18
|
* Add support for showing recursive popupstoasted-nutbread2019-09-02
|
* Add support for Edge browsertoasted-nutbread2019-08-26
|
* Add meta viewport tag to all html pagestoasted-nutbread2019-05-04
|
* cleanupAlex Yatskov2017-08-15
|
* unify filesAlex Yatskov2017-08-13
|
* wipAlex Yatskov2017-08-13
|
* more cleanupAlex Yatskov2017-08-05
|
* cleanupAlex Yatskov2017-07-23
|
* cleanupAlex Yatskov2017-07-20
|
* cleanupAlex Yatskov2017-07-19
|
* cleanupAlex Yatskov2017-07-19
|