Commit Graph

103 Commits

Author SHA1 Message Date
siikamiika
48776145d6 add workaround to Chrome clipboard.readText
For some reason this doesn't work on Firefox, so keep using the new API
for Firefox
2019-10-27 15:46:27 +02:00
toasted-nutbread
7a3315d75d Use chrome.runtime.getURL instead of chrome.extension.getURL 2019-10-22 20:23:03 -04:00
toasted-nutbread
362a1ed9e4 Catch exception thrown on Edge 2019-10-20 10:58:22 -04:00
toasted-nutbread
ce92591b63 Fix window focus not always working 2019-10-19 22:55:32 -04:00
toasted-nutbread
205498ef3b Validate chrome.windows exists before usage 2019-10-19 22:45:29 -04:00
toasted-nutbread
ffb6ff9325 Allow multiple options pages to be opened on middle click 2019-10-19 22:34:47 -04:00
toasted-nutbread
d9ae34821c Add support for middle clicks opening new tabs on the context buttons 2019-10-19 22:30:16 -04:00
toasted-nutbread
dbec4bffda Make the search button reuse an open search tab if it exists 2019-10-19 22:28:23 -04:00
toasted-nutbread
cb236a7430 Add apiGetEnvironmentInfo function 2019-10-13 17:20:55 -04:00
toasted-nutbread
69b28571bd audioBuildUrl => audioGetUrl and simplify 2019-10-13 12:20:56 -04:00
toasted-nutbread
c9158a37b5 Allow outer popup stylesheets to be injected 2019-10-13 12:12:51 -04:00
toasted-nutbread
8ae1da4277 Update audio options format 2019-10-10 21:30:35 -04:00
toasted-nutbread
22b218d172 Pass optionsContext to audioBuildUrl handlers 2019-10-09 22:03:56 -04:00
toasted-nutbread
7ce54864f3 Show the viewer button for anki notes which already exist 2019-10-09 20:31:09 -04:00
toasted-nutbread
0d6177398d Use static object for api command handlers 2019-10-02 21:12:24 -04:00
toasted-nutbread
dcfe722ba6 Add support for using optionsContext to select which profile to use 2019-09-18 19:14:04 -04:00
toasted-nutbread
6c571bf828 Add UI for profiles 2019-09-15 15:56:53 -04:00
toasted-nutbread
84bd9ff93b Update settings if a different source triggers optionsUpdate 2019-09-10 21:58:53 -04:00
toasted-nutbread
87e513dd77 Fix options reference being changed 2019-09-10 21:44:32 -04:00
toasted-nutbread
05ce350792 Use apiOptionsSave instead of optionsSave 2019-09-10 20:09:33 -04:00
toasted-nutbread
8175f80183 Remove calls to apiOptionsGetSync
Use apiOptionsGet everywhere to ensure options is initialized.
2019-09-10 20:09:33 -04:00
toasted-nutbread
1b2a1e50eb Add getOptions function to backend 2019-09-10 20:09:33 -04:00
toasted-nutbread
bc8793eb56 Add a context object for all calls to fetch options 2019-09-10 20:09:33 -04:00
toasted-nutbread
aae971a09e Pass options directly to translator.findTerms* 2019-09-10 20:09:33 -04:00
toasted-nutbread
eb98dfb1a8 Simplify logic for how option updates are propagated 2019-09-06 21:23:35 -04:00
toasted-nutbread
13b184707b Remove unnecessary functions
apiOptionsSet not required in bg/js/api.js after optionsSave; optionsSave already invokes apiOptionsSet.
apiOptionsSet not required in fg/js/api.js since it's never invoked by the foreground.
optionsSet handler not required in bg/js/backend.js since the message is never sent by the foreground.
2019-09-06 21:23:35 -04:00
toasted-nutbread
35ca0f35dd Create common function for utilBackend().options 2019-09-06 21:23:35 -04:00
toasted-nutbread
53aad0bef6 Fix messaging issues when iframes are present in the document 2019-09-02 19:33:28 -04:00
317a7a1538 pr fixes 2019-08-17 15:42:36 -07:00
toasted-nutbread
0f0adf750c Add ability to save screenshot to anki cards 2019-08-15 19:39:58 -04:00
siikamiika
803ccc1661 merged: first draft, only supports JMdict 2017-10-01 04:17:02 +03:00
siikamiika
b24c705234 basic structure for feature-merge-similar-results 2017-09-29 05:41:29 +03:00
f5009cd63c cleanup 2017-09-13 23:22:41 -07:00
5f46006e8d scrap sandbox 2017-09-09 12:59:49 -07:00
9a5a9aa47f better error handling 2017-09-09 11:36:50 -07:00
9efe7bfe1b work on sandbox 2017-09-06 13:35:18 -07:00
083999212e work on sandbox 2017-09-05 21:10:19 -07:00
722ddf1638 work on sandbox 2017-09-05 20:35:39 -07:00
112bf36f88 cleanup 2017-08-18 21:33:30 -07:00
30fe3d2506 fix anki network error dialog on search page, cleanup template
workaround
2017-08-18 21:14:09 -07:00
6367894df0 fixing broken firefox object behavior 2017-08-17 19:11:23 -07:00
84d2204d96 firefox fixes 2017-08-15 21:51:48 -07:00
e19933f980 jisho.org audio support 2017-08-15 21:36:30 -07:00
bdf231082f lots of fixes to backend 2017-08-14 21:43:09 -07:00
7e635d6382 more cleanup 2017-08-05 19:23:17 -07:00
dfecef1f23 more cleanup 2017-08-05 19:11:06 -07:00
8e1c6776d1 more cleanup 2017-08-05 19:02:03 -07:00
257c864bb5 fix anki 2017-08-05 14:57:33 -07:00
b2003a0a56 cleanup 2017-08-05 13:13:06 -07:00
fea35435b2 cleanup 2017-07-29 08:55:29 -07:00
ba155e7706 cleanup 2017-07-27 23:26:36 -07:00
adbc7a32cc cleanup 2017-07-27 21:42:14 -07:00
32680c58b8 cleanup 2017-07-23 22:48:33 -07:00