Commit Graph

97 Commits

Author SHA1 Message Date
1e9906c624 Automatically look up Kanji when cannot find definitions.
Allow text scanning without holding Shift key (resolves #18).
2016-10-08 17:39:21 -07:00
1d573f4179 Add visibility query 2016-09-29 21:04:03 -07:00
004a0d5281 Fix activation bug 2016-09-28 20:14:21 -07:00
2a65060b73 Hold down ctrl to search for kanji, fixes #13 2016-09-18 17:32:57 -07:00
dc273c0c73 Cleanup 2016-09-15 22:44:33 -07:00
b969e8952c Cleanup 2016-09-15 21:03:58 -07:00
b87611cfdd Bugfixes 2016-09-15 20:16:23 -07:00
0eb54e24c6 Deleting dead options 2016-09-14 22:34:05 -07:00
f4314497e4 Cleanup 2016-09-11 20:59:42 -07:00
fa446f540a WIP 2016-09-11 20:41:41 -07:00
f653195aed Cleanup 2016-09-11 20:35:53 -07:00
8f776cf759 Cleanup 2016-09-11 20:18:34 -07:00
6183864f16 Cleanup 2016-09-11 19:47:40 -07:00
8416c9d633 More cleanup 2016-08-20 19:32:50 -07:00
5cc989b87f Rename references of "vocab" to "term" 2016-08-10 08:44:52 -07:00
e6d821b731 Cleanup using promises 2016-08-09 21:23:05 -07:00
43e2024529 Cleanup 2016-07-25 20:43:35 -07:00
3ffcf184bb Fix typo 2016-07-25 20:32:45 -07:00
80fedc4f7a Hook up sentence search extent to options 2016-07-25 20:28:56 -07:00
f88f8dc97f Sentence and URL support 2016-07-25 20:07:54 -07:00
d26ecab0b5 Adding sentence extraction code 2016-07-24 21:22:03 -07:00
19cc8fda33 Better range handling. 2016-07-24 21:18:17 -07:00
e062ae2063 Support looking up definitions for buttons and inputs. 2016-07-23 19:06:33 -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
ab27ef0096 Fixing audio not working on some pages 2016-07-20 09:01:40 -07:00
a567ef3605 Pronounce => Play Audio 2016-07-18 08:08:31 -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
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
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
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
d479107eb5 Cleanup 2016-05-29 13:26:09 -07:00
4995135657 Cleanup 2016-05-29 12:58:51 -07:00
997947caed Cleanup 2016-05-21 22:59:29 -07:00
f1850defa6 Cleanup 2016-05-21 18:07:57 -07:00
80f5699d86 Note adding now possible 2016-05-07 18:36:06 -07:00
9b9985bd4b Improvements 2016-05-07 13:43:32 -07:00
f7db707dc2 WIP 2016-05-05 21:43:35 -07:00