Commit Graph

471 Commits

Author SHA1 Message Date
024ec83251 Reduce file size 2016-08-06 23:16:55 -07:00
9468797b87 Use entity data from dictionary 2016-08-06 23:04:03 -07:00
08d92a4ddb New Kanjidic data 2016-08-05 22:14:54 -07:00
02d679a461 Updating enamdict and edict, code to load dictionaries. 2016-08-03 21:09:21 -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
2b2e6cba3f Updating options page to include new tags 2016-07-25 20:15:56 -07:00
657b541e25 Bumping version 2016-07-25 20:13:53 -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
871acf7c2d Bumping version 2016-07-24 10:59:55 -07:00
25580a3e02 Add local permissions 2016-07-24 10:59:37 -07:00
e75d00f25b Bugfix 2016-07-23 23:04:39 -07:00
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
1574f79534 Updating options page for smaller layout 2016-07-06 22:16:18 -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
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
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
10226663bd Adding tabs 2016-05-21 20:17:12 -07:00
f1850defa6 Cleanup 2016-05-21 18:07:57 -07:00
5f97e8d16a WIP 2016-05-21 17:44:02 -07:00
ad54735a80 WIP 2016-05-21 17:11:17 -07:00
8b4d19c9f2 WIP 2016-05-21 16:36:41 -07:00
c2532a9fd0 WIP 2016-05-21 15:50:59 -07:00
0e6c9d70f6 WIP 2016-05-21 15:42:24 -07:00
07a90ec0f1 Show when the extension is disabled 2016-05-21 15:40:08 -07:00
e274659c97 Updating manifest 2016-05-18 13:28:50 -07:00
a306d73118 Revert "Fixing certain definitions not showing up"
This reverts commit 85015b1776.
2016-05-18 12:30:45 -07:00
85015b1776 Fixing certain definitions not showing up 2016-05-18 12:19:40 -07:00
7dcad6bd71 Adding link to homepage 2016-05-18 10:29:56 -07:00
aaf8bb43d1 Styling, switching port to one that is not likely to be used. 2016-05-18 10:24:11 -07:00
eaf5ded127 Revert "Reverse sort order"
This reverts commit a39feb66db.
2016-05-17 22:01:36 -07:00
a39feb66db Reverse sort order 2016-05-17 22:00:38 -07:00
3a656a8009 Consistant ordering with Anki 2016-05-17 20:32:08 -07:00
65346c18f8 Updating legal docs 2016-05-17 20:07:28 -07:00
f58877e8fa Style changes 2016-05-09 20:15:31 -07:00
84747e5502 Styling 2016-05-09 19:23:40 -07:00
8438a1fe32 Custom fonts for Japanese 2016-05-09 19:07:39 -07:00
5359ea983e Fixing term ordering bug 2016-05-09 14:33:28 -07:00
898c3eedb8 Adding some color 2016-05-07 18:43:39 -07:00
80f5699d86 Note adding now possible 2016-05-07 18:36:06 -07:00
4a6055d781 WIP 2016-05-07 18:24:31 -07:00
e6ea1ddb15 WIP 2016-05-07 14:53:50 -07:00
ef52c9c8b5 Update options page 2016-05-07 14:50:55 -07:00
c620b4ba36 Simplify options page 2016-05-07 14:02:54 -07:00
9b9985bd4b Improvements 2016-05-07 13:43:32 -07:00
8c1ebe6bcb WIP 2016-05-06 21:42:15 -07:00
7015b80469 Async pooling 2016-05-06 21:34:06 -07:00
f7db707dc2 WIP 2016-05-05 21:43:35 -07:00
f1e078c7d8 Removing flicker 2016-05-05 21:36:50 -07:00
cc33a30b5e Fixing options 2016-05-05 20:36:01 -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
22ff1f8695 Simplify templates 2016-05-04 19:10:28 -07:00
574b2251b7 Cleanup 2016-05-04 18:58:12 -07:00
36e9a332df WIP 2016-05-03 22:18:03 -07:00
8926eeab45 WIP 2016-05-03 22:07:05 -07:00
f535683e9b WIP 2016-05-03 20:53:53 -07:00
5eea27004c Optimization 2016-05-03 20:49:09 -07:00
29ebbe2bae Add missing icons 2016-05-03 20:25:48 -07:00
1e2a249c53 Show action icons 2016-05-03 20:25:35 -07:00
2b3550bd33 Async fix 2016-05-02 21:53:12 -07:00
0ed936438c WIP 2016-05-02 21:50:36 -07:00
57a426f4f2 Plumbing 2016-05-02 20:40:41 -07:00
c70aedc2ff WIP 2016-05-02 17:27:26 -07:00
eaa7291683 Updating options page 2016-05-01 21:18:28 -07:00
a7e5a23e2d Style cleanup 2016-04-28 20:36:55 -07:00
240aca8415 Kanji page cleanup 2016-04-28 20:32:04 -07:00
4ef620d74c Styling 2016-04-24 22:06:49 -07:00
f466fe7218 Styling work 2016-04-24 20:50:27 -07:00
62c2120286 Use KanjiStrokeOrders 2016-04-24 20:04:14 -07:00
46a2f0e87b WIP 2016-04-24 19:50:04 -07:00
8773ab991d WIP 2016-04-24 19:39:10 -07:00
6908d9e7e3 WIP 2016-04-24 19:23:13 -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
7ef0f4e881 Handle intermediate tags through addons 2016-04-19 22:04:55 -07:00
8c0ead7a3a Making suru verb work again 2016-04-19 21:37:11 -07:00
b02ec434f5 Fixing tag description 2016-04-18 20:45:14 -07:00
1d7802749e Stub 2016-04-18 20:42:50 -07:00
0c0271ae34 Tag sorting and sanitation 2016-04-18 20:35:40 -07:00
2495774891 Better tag rendering 2016-04-18 19:59:56 -07:00
c4e35fbf54 Display tooltips for tags 2016-04-18 19:38:03 -07:00
f8d2cc1b03 Get rid of lame spaces 2016-04-17 20:50:58 -07:00
94c30c83e6 Cleanup 2016-04-17 20:24:22 -07:00
d5170414af Adding kanji links 2016-04-17 19:06:57 -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
52a8e2207c Fixups 2016-04-17 18:35:22 -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
be43981e25 Adding dictionary switcher stubs 2016-04-17 17:23:53 -07:00
3a6d239c24 Fix options dialog 2016-04-17 09:39:14 -07:00
952de1fd3b Deleting unused files 2016-04-17 09:38:11 -07:00
1b3b33078e Appearance tweaking 2016-04-17 09:36:06 -07:00
c353ec04bc Styling 2016-04-16 22:54:19 -07:00
f7fa1bc51c Moving lib 2016-04-16 20:17:39 -07:00
9ceef4649f Fixes to deinflection logic 2016-04-16 20:11:27 -07:00
ccf5459190 WIP 2016-04-16 11:41:33 -07:00
80da71148a Adding better rule output 2016-04-16 11:24:03 -07:00
aa288d524b Styling 2016-04-15 22:33:13 -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
ba3e0c6532 Increase padding 2016-04-13 23:16:00 -07:00
e6365a10e4 Styling improvements 2016-04-13 21:59:11 -07:00
6e32b08d1c Updating styles and templates 2016-04-13 20:13:41 -07:00
18720aa150 Show definitions as lists 2016-04-13 18:55:31 -07:00
c198a0f919 Bugfix 2016-04-13 17:28:44 -07:00
972b945b4c Work on new dictionary format 2016-04-12 23:12:20 -07:00
bf28dea283 Updating dictionaries 2016-04-12 20:58:41 -07:00
bf7c476a72 Prevent popup from being shown for popup text 2016-04-10 22:04:58 -07:00
ae3d8d27d9 Options page improvements 2016-04-08 13:33:46 -07:00
26af561c12 . 2016-04-07 22:41:47 -07:00
5db0d5d59a WIP 2016-04-07 22:41:16 -07:00
edbb8086bc Optimization 2016-04-07 20:51:05 -07:00
fb46421737 Updating icons 2016-04-06 22:20:00 -07:00
fcd27179da Actually use lookahead option now 2016-04-06 22:02:49 -07:00
0acc0ad90c Autoload when needed 2016-04-06 21:04:38 -07:00
03b02070b7 Add load on startup checkbox 2016-04-06 21:02:31 -07:00
53b63e8ddc File reorg 2016-04-06 20:50:12 -07:00
7c9d64e95f Options now work 2016-04-06 20:48:36 -07:00
721a4dc661 WIP 2016-04-05 22:18:55 -07:00
8774c783f6 Cleanup 2016-04-04 22:07:57 -07:00
37ffcbf3ee File reorg 2016-04-04 22:02:26 -07:00
e5a3904cf7 Options loading and saving 2016-04-04 21:59:30 -07:00
074b1dc5f6 Work on options page 2016-04-04 20:52:07 -07:00
e5def1401c . 2016-04-03 22:42:44 -07:00
b4f846453a Options screen 2016-04-03 22:42:21 -07:00
44d2b5ec56 Refactor 2016-04-03 22:22:38 -07:00
aef347c67c Modifying options page 2016-04-03 20:05:22 -07:00
51cd2350df Fix typos 2016-04-03 10:48:59 -07:00
4367f057cf Reference bootstrap files 2016-04-03 10:46:36 -07:00
76792eb49d Add bootstrap 2016-04-02 22:55:43 -07:00
a6fda6c943 Work with new dictionary format 2016-04-02 12:56:47 -07:00
036639aeaf Fixes 2016-04-01 22:30:30 -07:00
92e62c798d WIP 2016-04-01 22:13:37 -07:00
7eadff3457 Moving large files to CSV format, deleting unused kradfile 2016-03-31 20:03:39 -07:00
6d1fc8a20e Don't use JQuery in content script 2016-03-29 22:32:40 -07:00
93eaed39c1 Fixing styles 2016-03-28 21:44:39 -07:00
002e009168 Reorg and add stub options page 2016-03-28 20:09:30 -07:00
98170a71ed Hide popup on scroll and resize 2016-03-28 20:01:53 -07:00
baec1dd58a Fixes 2016-03-28 19:53:55 -07:00
a8c7a8602f Use partials 2016-03-28 19:44:28 -07:00
149e22baac Styling 2016-03-28 19:30:03 -07:00
7ec9e6fd88 Don't send up events to window 2016-03-28 19:09:39 -07:00
537d91dd10 WIP 2016-03-28 19:06:01 -07:00
d77319e328 WIP 2016-03-28 13:00:48 -07:00
43d4abf317 Updating styling 2016-03-27 22:27:30 -07:00
c8d0a8624f Improved styling 2016-03-27 20:15:23 -07:00
a9fcc0cde6 Switch to handlebars for templating 2016-03-27 20:00:41 -07:00
2bdb576378 Better output 2016-03-27 18:24:04 -07:00
70faa9e87f Make the z-index high enough for everyone. 2016-03-27 17:13:17 -07:00
43d14c0c81 Updates 2016-03-27 17:04:49 -07:00
4b35a6c556 Popup stub now working. 2016-03-27 13:21:52 -07:00
8e2134bb56 WIP 2016-03-26 18:10:22 -07:00
ced7bf5f27 File reorg 2016-03-26 14:21:51 -07:00
12696d3e6b Reorg 2016-03-26 14:16:21 -07:00