Commit Graph

1703 Commits

Author SHA1 Message Date
282ada3b91 Fixing exception 2016-07-23 23:02:55 -07:00
e062ae2063 Support looking up definitions for buttons and inputs. 2016-07-23 19:06:33 -07:00
b2c19ab9c9 Deleting dead code, bumping version. 2016-07-23 15:21:22 -07:00
fc17c6a603 Use document.write to populate IFRAME, as this avoids flicker on navbar
buttons and performs better. Will have to conditionally do the old
behavior for Firefox.
2016-07-23 15:17:35 -07:00
22d73228ca Cleanup 2016-07-23 15:14:13 -07:00
6d9b4392e2 Renaming classes 2016-07-23 13:12:24 -07:00
a72e958ebf Support looking up image tags 2016-07-23 13:06:09 -07:00
a889e1ffaa WIP 2016-07-23 12:47:42 -07:00
6099de71d8 Work on supporting different text sources 2016-07-22 22:14:59 -07:00
4e46f4bded Stub 2016-07-22 21:47:12 -07:00
9589a68def Fixing range optimization 2016-07-21 09:13:38 -07:00
e4ecf11fc7 Version bump 2016-07-20 09:01:59 -07:00
ab27ef0096 Fixing audio not working on some pages 2016-07-20 09:01:40 -07:00
e32f31fa43 Formatting legal page 2016-07-19 22:19:54 -07:00
a9a694358f Fixing Kanji behavior, bumping version 2016-07-18 08:41:46 -07:00
a567ef3605 Pronounce => Play Audio 2016-07-18 08:08:31 -07:00
cea8471290 More error updates 2016-07-17 11:01:17 -07:00
7d5e8b9b8c Better error message 2016-07-17 10:57:51 -07:00
09ec4af3c1 Audio support 2016-07-17 10:35:16 -07:00
f2bd0ec7bb Add option to enable and disable audio playback 2016-07-15 23:29:36 -07:00
361dd47f0a Simplify requests 2016-07-14 22:06:47 -07:00
22219693c9 Bumping version number 2016-07-10 18:24:10 -07:00
0eccd89f14 Support additional replacement fields 2016-07-10 18:16:51 -07:00
1476ed4b71 Updating README.md 2016-07-10 13:39:47 -07:00
183c4115d5 Updating README.md 2016-07-09 22:46:16 -07:00
1574f79534 Updating options page for smaller layout 2016-07-06 22:16:18 -07:00
b856633bce Updating README.md 2016-07-06 20:48:19 -07:00
abb3d74142 Temporarily removing gecko code from master until everything works in
firefox branch.

This reverts commit 30585892b8, reversing
changes made to bd89db4ec5.
2016-07-06 19:56:13 -07:00
80d2eac33c Revert "Remove firefox related warning for chrome branch"
This reverts commit 125877a653.
2016-07-06 19:42:01 -07:00
125877a653 Remove firefox related warning for chrome branch 2016-07-05 22:31:15 -07:00
738db5c961 Updating README.md 2016-07-04 23:09:39 -07:00
1e6a6cdc3a Deleting images 2016-07-03 00:27:16 -07:00
30585892b8 Merge branch 'master' of https://github.com/FooSoft/yomichan-chrome 2016-07-02 19:51:13 -07:00
bd89db4ec5 Updating README.md 2016-07-02 19:50:06 -07:00
Alex Yatskov
261914328f Merge pull request #7 from ispedals/firefox
Firefox
2016-06-20 10:00:01 -07:00
ispedals
a9863de95e Request permission to access localhost
Permission is required to do XHR request to the domain. Otherwise
Gecko attempts to use CORS to negotiate the request, which AnkiConnect
does not expect.
2016-06-19 12:54:35 -04:00
ispedals
099d48ef48 Polyfill caretRangeFromPoint()
Gecko did not implment the older caretRangeFromPoint() and instead
implemented the newer caretPositionFromPoint()
2016-06-19 12:54:32 -04:00
ispedals
651231fbc1 Use iFrame srcdoc attribute to set the content of the popup
Previously the contentdocument of the iFrame was opened and
document.write() was being used set the contents of the popup.
In Gecko, content scripts do not have the same security context
as of the embedded page, so the call to document.open() results in
a SecurityError.
2016-06-19 12:54:30 -04:00
ispedals
28de6a4d6e Add mimetype to XHR call
This silences warnings about the JSON files being ill-formed
2016-06-19 12:54:27 -04:00
ispedals
5e0ac4e8ea Workaround spidermonkey bug so dictionary data loads
We need to make a copy of the iteration variable in the for-of
loop so that the distinct values are available in the callback.
2016-06-19 12:54:22 -04:00
ispedals
b4fe1f1fa6 Add polyfills for Gecko's WebExtension implementation
Gecko currently does not support chrome.storage.sync and
chrome.runtime.onInstalled. Use chrome.storage.local instead of
sync and ignore calls to onInstalled. The implication of not
having runtime.onInstalled is that the options page is not shown
on first-run.
2016-06-19 12:54:12 -04:00
ispedals
f12660af91 Use non-deprecated options_ui instead of options_page in manifest 2016-06-18 19:45:28 -04:00
ispedals
db5befcf45 Add Gecko as a supported application to manifest 2016-06-18 19:14:14 -04:00
b7901945b3 Support tagging 2016-06-14 20:44:38 -07:00
b91c79e321 Cache audio samples 2016-06-14 20:44:38 -07:00
ad61722130 Use let instead of const in for loops. 2016-06-14 20:44:38 -07:00
caf0678832 Cleanup 2016-06-14 20:44:38 -07:00
15f2744f04 Audio 2016-06-14 20:44:38 -07:00
e0f91b9a8a Elementary audio playback support 2016-06-14 20:44:38 -07:00
96dd2d45f9 Removing HTML option 2016-06-14 20:44:38 -07:00