Commit Graph

329 Commits

Author SHA1 Message Date
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
f1e078c7d8 Removing flicker 2016-05-05 21:36:50 -07:00
809e4f855f More cleanup 2016-05-05 20:27:04 -07:00
22cbafb7b7 Cleanup 2016-05-05 20:23:06 -07:00
9cb099e5f6 Optimization 2016-05-05 20:06:13 -07:00
dd4b2f7365 Cleanup 2016-05-05 18:55:43 -07:00
e74386faa4 WIP 2016-05-04 20:43:29 -07:00
bc11e7cbe3 Add note links 2016-05-04 20:08:22 -07:00
320d9bca0e Adding indices 2016-05-04 19:31:06 -07:00
36e9a332df WIP 2016-05-03 22:18:03 -07:00
8926eeab45 WIP 2016-05-03 22:07:05 -07:00
eaa7291683 Updating options page 2016-05-01 21:18:28 -07:00
f466fe7218 Styling work 2016-04-24 20:50:27 -07:00
cac6fc1427 Basic kanji output 2016-04-24 18:59:29 -07:00
a192a8d8b5 Plumbing 2016-04-24 18:34:31 -07:00
8143e372cd Stub handler for kanji click 2016-04-24 16:48:30 -07:00
59989cd78c File management 2016-04-24 16:18:47 -07:00
d6a92e7b7b Fixing spacing 2016-04-24 11:40:21 -07:00
b421b435fa Fixing selection bug 2016-04-24 11:31:55 -07:00
7f661fdd81 Cleanup 2016-04-24 11:26:42 -07:00
709094455e Improvements 2016-04-24 11:04:24 -07:00
75d5d84811 WIP 2016-04-23 22:34:56 -07:00
4b46a2988b Get rid of flicker 2016-04-23 22:22:58 -07:00
896cd7960c Misc fixes 2016-04-23 22:11:29 -07:00
659bb87a59 Mostly working 2016-04-23 21:24:45 -07:00
c8d0ef5004 WIP 2016-04-23 21:13:34 -07:00
defe4e5759 WIP 2016-04-23 21:09:33 -07:00
8b097221db WIP 2016-04-23 10:10:34 -07:00
b8df875e03 WIP 2016-04-22 22:25:12 -07:00
85594f4def WIP 2016-04-22 21:01:39 -07:00
77e404bbda WIP 2016-04-22 20:48:00 -07:00
f30f9b9d2b Work on range 2016-04-21 22:03:06 -07:00
626a86682d Work on popup script 2016-04-21 20:11:17 -07:00
1ce6a00faf WIP 2016-04-20 22:28:26 -07:00
1d7802749e Stub 2016-04-18 20:42:50 -07:00
de268e73a6 Rethinking dictionary switching 2016-04-17 18:42:44 -07:00
5bebf3ed2c Revert "Support switching between edict and enamdict"
This reverts commit f079db0471.
2016-04-17 18:38:29 -07:00
6f45cc2871 Splitting out header and footer templates 2016-04-17 18:20:39 -07:00
f079db0471 Support switching between edict and enamdict 2016-04-17 18:13:20 -07:00
bcd34149ab Plumbing 2016-04-17 17:36:15 -07:00
77761a9538 Handle events 2016-04-14 21:55:21 -07:00
0cd7830281 Optimization 2016-04-14 21:49:34 -07:00
5f74c473ce Switch to iframe 2016-04-14 20:36:00 -07:00
bf7c476a72 Prevent popup from being shown for popup text 2016-04-10 22:04:58 -07:00
5db0d5d59a WIP 2016-04-07 22:41:16 -07:00
edbb8086bc Optimization 2016-04-07 20:51:05 -07:00
fcd27179da Actually use lookahead option now 2016-04-06 22:02:49 -07:00
53b63e8ddc File reorg 2016-04-06 20:50:12 -07:00