summaryrefslogtreecommitdiff
path: root/dev/data
Commit message (Collapse)AuthorAge
* Remove hardcoded version from manifestDarius Jahandarie2023-09-23
| | | | | | * Dynamically set version as argument to build script * Set version using tag ref_name in CI * [Cleanup] gitignore ext/manifest.json as it's dynamically generated
* fix #173praschke2023-08-17
| | | | | | | | `declarativeNetRequest.updateDynamicRules()` returns with an unexpected error in Firefox, but only after the browser has been restarted. On a fresh install of Yomitan it works, causing bug flakiness. `declarativeNetRequest` can be disabled in the manifest as a workaround.
* fix script and style injection in Firefoxpraschke2023-08-17
| | | | | | | | | | | | Firefox added the scripting API in 102. This should fix the majority of warnings listed in #96: - insertCSS - executeScript - getRegisteredContentScripts - contentScripts.register - registerContentScripts - unregisterContentScripts
* fix libraries in README and Firefox CSPpraschke2023-08-17
|
* 23.4.7.023.4.7.0Darius Jahandarie2023-04-07
|
* Merge remote-tracking branch 'yomitan/master' into rename_licenseAustin Siew2023-03-23
|\
| * fix: properly removed service worker and re-added background.html to firefoxAustin Siew2023-03-22
| |
* | fixed eslint, changed header to only use 2 spaces, added missing headers to testAustin Siew2023-03-22
| |
* | Updated LICENSE to full license, added Yomitan 2023 to all license headersAustin Siew2023-03-21
|/
* 23.3.18.0Darius Jahandarie2023-03-18
|
* Fix Firefox manifestsDarius Jahandarie2023-03-18
|
* Update manifest scripts to only support v3, and yomichan->yomitanDarius Jahandarie2023-03-11
|
* Change URL Firefox testing builds use to locate updates.jsonAlex Yatskov2022-10-30
|
* Update version22.10.23.0toasted-nutbread2022-10-23
|
* Update version22.9.9.2toasted-nutbread2022-09-25
|
* Version update22.9.9.1toasted-nutbread2022-09-20
|
* Version update22.9.9.0toasted-nutbread2022-09-09
|
* New StringUtil (#2216)toasted-nutbread2022-08-20
| | | | | | | * Create new StringUtil * Use StringUtil in DOMTextScanner * Fix order
* Update version22.6.6.0toasted-nutbread2022-06-06
|
* More Safari support (#2171)toasted-nutbread2022-06-01
| | | | | | | * Add support for not building a zip * Update gitignore * Add safari variant
* Audio request errors (#2161)toasted-nutbread2022-05-28
| | | | | | | | | | | | | | | | | | | | | * Generalize _onBeforeSendHeadersAddListener * Simplify filter assignment * Use requestId rather than done * Properly support Firefox addListener without arguments * Add details to fetchAnonymous errors * Refactor * Enable support for no header modifications * Update MV3 support for error details * Expose errors in downloadTermAudio * Throw an error if audio download fails due to potential permissions reasons
* Add firefox-mv3 build target (#2155)toasted-nutbread2022-05-22
|
* Add new structured content features: lists and the HTML `lang` attribute (#2129)Stephen Kraus2022-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for structured content lists and `list-style-type` style A full list of supported style types is documented here: https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type There's nothing in this code preventing a term bank from assigning, for example, a `list-style-type` style to a `div` element, but it doesn't seem like browsers will complain about things like that. * Add support for `lang` attribute in structured content Support added for the following node types: "ruby", "rt", "rp", "table", "thead", "tbody", "tfoot", "tr", "td", "th", "span", "div", "ol", "ul", "li", "a" I couldn't get it to work for the alt-hover text on "img" tags. Tests are included in the file "test/data/dictionaries/valid-dictionary/term_bank_1.json" * Add styles for structured content lists * Add override rules for new structured-content list styles see: https://github.com/FooSoft/yomichan/pull/2129 Co-authored-by: stephenmk <stephenmk@users.noreply.github.com>
* Update version22.4.4.0toasted-nutbread2022-04-04
|
* Theme updates (#2105)toasted-nutbread2022-04-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Change siteColor to siteTheme * Fix potential null exception * Simplify * Update display theme assignment * Add a data-browser-theme attribute * Add "browser" option for theme * Create ThemeController * Add theme-controller.js to relevant pages * Use ThemeController * Simplify * Fix 'light' being used instead of 'default' * Update the settings values to more accurately reflect their usage * Change default site theme in display.js * Remove async * Restore async for consistency
* Structured content links (#2089)toasted-nutbread2022-03-17
| | | | | | | | | | | | | | | | | * Update CSS to JSON converter to generalize the remove-property comment * Fix navigation not being updated when _clearContent is run * Add structured content schema for link tags * Add test links * Add external-link icon * Pass Display instance to DisplayContentManager * Update structured content generation * Update link styles
* Update version22.2.2.0toasted-nutbread2022-02-02
|
* Update copyright date (#2062)toasted-nutbread2022-02-02
| | | | | | | * Update eslint settings * Update 2021 files * Update other files
* Add AccessibilityController class, which dynamically registers (#2024)toasted-nutbread2021-11-23
| | | and unregisters the google-docs.js content script
* Google Docs accessibility refactor (#2023)toasted-nutbread2021-11-23
| | | | | | | | | | | | | | | | | * Skip urlRegex if it's used as a filter * Add getRequiredContentScriptRegistrationPermissions function * Add a reentrant check to google-docs.js * Remove script node * Move forceGoogleDocsHtmlRendering check into google-docs.js * Replace document-start.js usage with google-docs.js * Remove documentStart handling * Add missing parameter descriptions
* ScriptManager updates (#2022)toasted-nutbread2021-11-23
| | | | | | | | | | | * Fix spacing * Add more parameters to injectStylesheet * Add more parameters to injectScript * Update ScriptManager to support content script registration * Add webNavigation as an optional permission
* Update version21.10.31.0toasted-nutbread2021-10-31
|
* Update version21.9.30.0toasted-nutbread2021-09-30
|
* Update document-start.js to only run for docs.google.com (#1964)toasted-nutbread2021-09-26
| | | | | * Update document-start.js to only run for docs.google.com * Update manifest
* Update version21.8.31.0toasted-nutbread2021-08-31
|
* Google Docs accessibility (#1875)toasted-nutbread2021-08-07
| | | | | | | | | | | | | * Add accessibility option for forcing Google Docs HTML-based rendering * Update settings * Send a documentStart message at document start * Add accessibility script for Google Docs * Set up accessibility * Update tests
* Update version21.7.31.0toasted-nutbread2021-07-31
|
* CSS JSON styles generalization (#1838)toasted-nutbread2021-07-17
| | | | | | | * Rename files * Generalize custom CSS generation and testing * Add CSS JSON file for display pronunciation
* More CssStyleApplier updates (#1785)toasted-nutbread2021-07-02
| | | | | | | * Update eslint rules for css-style-applier.js * Don't use chrome.runtime.getURL * Update CSP to allow inline styles
* Update version21.6.30.0toasted-nutbread2021-06-30
|
* Update dictionary image link color (#1778)toasted-nutbread2021-06-28
|
* Structured content style json (#1771)toasted-nutbread2021-06-27
| | | | | | | | | | | | | * Install css * Remove unnecessary rule * Create CSS overrides file * Create script to generate CSS JSON file * Generate JSON * Add test
* Update version21.5.31.0toasted-nutbread2021-05-31
|
* Revert "Auto update manifest version (#1724)"toasted-nutbread2021-05-31
| | | | This reverts commit e637408b4af41a5c2b74b160fb37438d4e56cccc.
* Auto update manifest version (#1724)toasted-nutbread2021-05-31
| | | | | * Update manifest to auto-fill the version based on most recent git tag * Install git in the CI pipeline
* Update build script (#1722)toasted-nutbread2021-05-31
| | | | | | | | | | | | | | | | | | | | | | | * Add support for making non-buildable variants * Add support for running a command to assign a value * Update chrome-dev inheritance * Add base variant * Update manifest to auto-fill the version based on most recent git tag * Add support for changing the default manifest * Change the default manifest * Move some manifest utility functions into manifest-util.js * Move more manifest functionality into ManifestUtil * Revert "Update manifest to auto-fill the version based on most recent git tag" This reverts commit 2a66e40ff24f9dc545783503bcf3404f21148356.
* Update versionAlex Yatskov2021-05-08
|
* Update version21.4.30.0toasted-nutbread2021-04-30
|
* Update version21.3.31.0toasted-nutbread2021-04-01
|
* Fix dictionary image support (#1526)toasted-nutbread2021-03-14
| | | | | | | | | | | | | * Fix content security policy for images * Add createBlobFromBase64Content to MediaUtil * Update MediaLoader to use MediaUtil * Use blob URLs when importing dictionaries * Update VM's URL to support createObjectURL and revokeObjectURL * Fix test