| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
|
|
| |
- Use ES modules
- Remove vendored libs and build them from npm using esbuild
- Switch from JSZip to zip.js
|
|\
| |
| |
| | |
search.html clipboard monitor, Anki add note Playwright tests
|
| |
| |
| |
| |
| |
| | |
prep tests for cicd
reorganize exports in playwright utils
|
| |
| |
| |
| | |
this is the only blocker to Firefox for Android.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
firefox was previously unable to use declarativeNetRequest, as some
browser state (ExtensionDNRStore) wasn't correctly initialized wrt
yomitan's use of the DNR API. this bug manifested as an unexpected
error on calls to updateDynamicRules(), specifically after the browser
has been restarted.
switching to the use of session rules instead of dynamic rules fixes
this bug. i have tested audio info requests (custom JSON, JPod
Alternate, Jisho) that exhibited the bug after browser restart on
version 115 and 118, and the audio plays instead of the request
failing.
webRequest can now be entirely removed.
|
|/ |
|
| |
|
|
|
|
|
|
|
| |
`webRequest` is used on Chrome/MV3 to surface error information from
failed requests. it was added back to the declarative path by
toasted-nutbread in FooSoft/yomichan#2161, but the permissions
documentation did not reflect `webRequests` continued necessity.
|
| |
|
| |
|
|
|
|
|
|
|
| |
implement getImage for offscreen requests
move offscreen files, offscreen prep is done in sw prep
update permissions document for offscreen
rearrange permissions
|
|
|
|
| |
on chromium, backend calls to clipboardGet are forwarded to an offscreen script
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
| |
`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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Firefox added the scripting API in 102. This should fix the majority
of warnings listed in #96:
- insertCSS
- executeScript
- getRegisteredContentScripts
- contentScripts.register
- registerContentScripts
- unregisterContentScripts
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* Create new StringUtil
* Use StringUtil in DOMTextScanner
* Fix order
|
| |
|
|
|
|
|
|
|
| |
* Add support for not building a zip
* Update gitignore
* Add safari variant
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
| |
and unregisters the google-docs.js content script
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 document-start.js to only run for docs.google.com
* Update manifest
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 eslint rules for css-style-applier.js
* Don't use chrome.runtime.getURL
* Update CSP to allow inline styles
|
| |
|
| |
|
|
|
|
| |
This reverts commit e637408b4af41a5c2b74b160fb37438d4e56cccc.
|
|
|
|
|
| |
* Update manifest to auto-fill the version based on most recent git tag
* Install git in the CI pipeline
|