Commit Graph

235 Commits

Author SHA1 Message Date
5b66afde74 wtf firefox 2017-02-26 19:33:11 -08:00
dfe97a2b77 fixup of gecko polyfill 2017-02-26 12:14:22 -08:00
da124f6c27 fix wonky scanning logic 2017-02-26 12:06:37 -08:00
ec0aded9bb mouse event fixes for firefox 2017-02-26 12:01:14 -08:00
32f95e59a9 Merge branch 'dev' into firefox 2017-02-26 11:05:41 -08:00
465a8e21c0 usability improvements 2017-02-25 19:14:44 -08:00
64db42d536 switch to new ankiconnect interface 2017-02-19 10:09:15 -08:00
1a52a2d8d5 fix not being able to play audio for kana only terms 2017-02-18 19:12:39 -08:00
701c91ea66 block placeholder audio with a short audio clip 2017-02-11 12:16:14 -08:00
7398e74d71 delete dead code 2017-02-10 21:11:34 -08:00
78d5b51127 fix url and sentence tags on kanji cards 2017-02-10 20:45:01 -08:00
caa09c63a1 destroy imposters earlier 2017-02-08 21:30:00 -08:00
2e3aec9ba1 fix "url" not being set on kanji cards, add more fields 2017-02-08 20:13:45 -08:00
f3fe0994f5 add option to disable imposters, bump version 2017-02-08 09:24:14 -08:00
e73d2d96c9 add support for looking up definitions for textareas and textboxes 2017-02-07 21:46:37 -08:00
4e3792aba3 handle content script and background script desync on version update 2017-02-05 16:39:40 -08:00
a13c32a784 updating libraries 2017-01-31 21:27:38 -08:00
2a29429104 WIP 2017-01-28 20:36:58 -08:00
944be5fa64 adding more polyfill goodness for firefox 2017-01-28 19:22:28 -08:00
8efe5b1fbf workaround for broken const in firefox 2017-01-28 18:46:15 -08:00
78f738b34c WIP 2017-01-27 21:23:55 -08:00
1d49473c1f fixing enabled state 2017-01-27 21:21:05 -08:00
f808221470 wip 2017-01-22 19:22:53 -08:00
e8840465f0 WIP 2017-01-15 22:17:49 -08:00
8fe82573cc WIP 2017-01-13 21:06:33 -08:00
20c5ca1bf5 fix annoying popup window behavior near window borders 2017-01-10 19:26:31 -08:00
40838790d5 WIP 2017-01-09 19:42:54 -08:00
89070c6096 cleanup 2017-01-09 09:30:56 -08:00
60e23ab42c simplify templates 2017-01-08 22:44:13 -08:00
3b83f8b7fe styling 2017-01-08 19:03:48 -08:00
67ca7adc4c WIP 2017-01-08 18:39:59 -08:00
53a8e9061c styling 2017-01-08 18:10:38 -08:00
148291d3a7 WIP 2017-01-08 15:33:45 -08:00
a5efe50322 add dictionary tags 2017-01-07 21:11:52 -08:00
d770030688 WIP 2017-01-07 18:52:51 -08:00
fab7a03b6c WIP 2017-01-07 18:39:36 -08:00
dc4162eeed WIP 2017-01-07 18:07:15 -08:00
519f48c7ff anki stuff 2017-01-07 17:25:01 -08:00
614bea05c0 cleanup 2017-01-07 16:49:29 -08:00
15ebc06fb3 WIP 2017-01-07 12:21:47 -08:00
8615d5f497 show spinner when adding notes (resolves #25) 2017-01-04 19:44:50 -08:00
8049c6083e don't show add buttons till we know card state for #25 2017-01-03 22:17:53 -08:00
3c6b9eb91b glossary in vl-gothic 2016-12-29 11:12:54 -08:00
37d61b35d0 fix glossary lists with one item 2016-12-28 19:28:59 -08:00
ef24b4f236 prevent popup from going off the window 2016-12-28 19:13:19 -08:00
22128a948a adding files to normal git 2016-12-23 16:53:20 -08:00
4c5f93c7a7 better output for epwing 2016-12-21 19:47:50 -08:00
238c9e340e WIP 2016-12-18 22:24:34 -08:00
4e89d27fda WIP 2016-11-14 20:42:45 -08:00
ba02ae7f8d Improved error handling 2016-10-19 21:21:00 -07:00
7618b8e909 Cleanup 2016-10-19 20:57:08 -07:00
7d93587acb Conditionally show add buttons 2016-10-19 08:52:22 -07:00
0afc4579c5 WIP 2016-10-17 09:17:10 -07:00
f22fcb0a5d Cleanup, reset scroll position on definition lookup (#20) 2016-10-17 09:14:49 -07:00
aa1a2b0176 Make text easier to select in hover mode (#18) 2016-10-17 09:01:43 -07:00
66fe5018cf Don't hide popup when scrolling (resolves #21) 2016-10-12 21:12:21 -07:00
a6dd997122 Pressing keys other than escape no longer closes definition popup 2016-10-09 12:33:02 -07:00
f34b512522 Revert "Allow bootstrap in popup templates"
This reverts commit da0cb81801.
2016-10-08 19:40:19 -07:00
da0cb81801 Allow bootstrap in popup templates 2016-10-08 18:47:24 -07:00
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
29135ff84f Updating kanji display 2016-08-07 19:56:50 -07:00
a9e86544c1 Work on tags 2016-08-07 13:42:10 -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