Commit Graph

1072 Commits

Author SHA1 Message Date
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
19c9a16e46 Option stubs 2016-06-14 20:44:38 -07:00
3ed5b90ccb Improved text scanning 2016-06-14 20:44:38 -07:00
061cbb0141 Better selection handling, fixing scan length being treated as a string. 2016-06-14 20:44:38 -07:00
14fd0d6514 Option preference page on install. 2016-06-14 20:44:38 -07:00
e19f955399 Version bump 2016-06-14 20:44:38 -07:00
3bf1e909fa Updating homepage url 2016-06-14 20:44:38 -07:00
Alex Yatskov
3ab9b3b85b Merge pull request #1 from ispedals/patch-1
Document build requirements
2016-06-11 16:32:36 -07:00
ispedals
64c3a501f8 Document build requirements 2016-06-11 19:01:32 -04:00
c249d24b60 Updating README 2016-05-30 11:46:15 -07:00
bf575293bf Bumping version 2016-05-29 21:32:07 -07:00
c73641ec77 Better glossary formatting 2016-05-29 15:00:19 -07:00
6f63999dce Adding version checking 2016-05-29 14:20:13 -07:00
9ab95e6602 Delete unused functions 2016-05-29 13:32:31 -07:00
d479107eb5 Cleanup 2016-05-29 13:26:09 -07:00
4995135657 Cleanup 2016-05-29 12:58:51 -07:00
8c944c6294 New fact creation 2016-05-29 12:46:37 -07:00
17f0282b09 Display supported field tags 2016-05-28 19:01:42 -07:00
a936bc0088 Fixing field table 2016-05-28 18:53:06 -07:00
7a37c10aed Options page now works as intended 2016-05-28 18:27:26 -07:00
b229295688 More cleanup 2016-05-28 15:21:01 -07:00
9c51f2ecda More work on options page 2016-05-28 14:45:10 -07:00
5f8cd06533 Show proper options 2016-05-28 14:18:43 -07:00
281b8018a6 Cleanup 2016-05-28 14:00:35 -07:00
4103b09893 Improvements to options page 2016-05-28 13:35:46 -07:00
e7b6b171cb WIP 2016-05-22 20:51:06 -07:00
bd17b05eef Cleanup 2016-05-22 16:53:28 -07:00
ca13c947bb Adding default options 2016-05-22 14:26:12 -07:00
7c06a22451 Field selector working 2016-05-22 13:41:52 -07:00
997947caed Cleanup 2016-05-21 22:59:29 -07:00
f65e9f2570 WIP 2016-05-21 20:44:18 -07:00
21b0507e36 Styling 2016-05-21 20:26:54 -07:00