toasted-nutbread
4d7940e8e4
Optimize dictFieldFormat
2019-11-08 22:25:03 -05:00
siikamiika
83460bcdad
refactoring and optimization
2019-11-04 02:15:33 +02:00
siikamiika
f4a987912a
prevent accidental lookup on glossary text select
2019-11-03 18:56:22 +02:00
toasted-nutbread
1039536cfb
Create promise version of setTimeout
2019-10-28 17:03:42 -04:00
siikamiika
a716a52cab
make non-hotkey keys focus input on search page
...
The issue was that scanning on search page introduced a way to lose
focus of the query input, and the new feature that the search page
hotkey focuses an existing search page instead of opening a new one made
it more obvious.
Now every key that isn't a hotkey focuses the query input, and typing
text into the box scrolls it into view in case it wasn't there when
searching.
There is an accessibility issue that this can cause, because now tab
also focuses the query input before it focuses the next element. I
didn't implement a workaround for that because it would have been more
complicated than this simple fix.
Fixes #263
2019-10-26 01:26:56 +03:00
toasted-nutbread
dbec4bffda
Make the search button reuse an open search tab if it exists
2019-10-19 22:28:23 -04:00
toasted-nutbread
598cd32946
Update *show* APIs to unified showContent and setContent
2019-10-17 18:40:43 -04:00
toasted-nutbread
7bae3824e7
Add support for text-to-speech playback
2019-10-13 12:21:19 -04:00
toasted-nutbread
54d4c65854
Rename audioGetFromSources's createAudioObject argument to download
2019-10-13 12:20:56 -04:00
toasted-nutbread
21a2730cde
Add option for text-to-speech
2019-10-13 12:20:56 -04:00
toasted-nutbread
b34ff7ebe9
Change #yomichan-float to .yomichan-float
...
Since there can be more than one popup, using a class makes more sense than an ID.
2019-10-13 12:12:52 -04:00
toasted-nutbread
57db18c31b
Leave default stylesheet enabled by default
2019-10-12 19:00:24 -04:00
toasted-nutbread
883226b045
Update how custom CSS is applied
2019-10-12 19:00:24 -04:00
toasted-nutbread
c90bc75eb8
Create themes
2019-10-12 19:00:24 -04:00
toasted-nutbread
ceaeeb32dd
Remove bootstrap styles from float.html
2019-10-12 19:00:21 -04:00
toasted-nutbread
537d2ef532
Remove Display.dependencies
2019-10-12 15:31:29 -04:00
toasted-nutbread
6da7683552
Don't pass options around for calls to termsShow, kanjiShow, etc.
2019-10-12 15:31:29 -04:00
toasted-nutbread
a5b208fb89
Check if objects are properly initialized before showing content
2019-10-12 15:31:29 -04:00
toasted-nutbread
3e249e19ac
Update Display initialization process
2019-10-12 15:31:29 -04:00
toasted-nutbread
89a8494208
Add function for (de)activating event listeners in Display
2019-10-12 11:25:24 -04:00
toasted-nutbread
50252ec627
Update title with info about what the audio source was
2019-10-10 21:30:38 -04:00
toasted-nutbread
1d516b3b24
Implement audio fallbacks
2019-10-10 21:30:38 -04:00
toasted-nutbread
8ae1da4277
Update audio options format
2019-10-10 21:30:35 -04:00
toasted-nutbread
22b218d172
Pass optionsContext to audioBuildUrl handlers
2019-10-09 22:03:56 -04:00
toasted-nutbread
7ce54864f3
Show the viewer button for anki notes which already exist
2019-10-09 20:31:09 -04:00
toasted-nutbread
c5d6b9452d
Create utility function for logging errors
2019-10-08 22:38:05 -04:00
toasted-nutbread
6a6e200ef9
Update rejections to use Error
2019-10-08 21:44:25 -04:00
toasted-nutbread
88de427184
Throw Error instead of string
2019-10-08 21:32:08 -04:00
toasted-nutbread
9d488e1916
Validate that key is a string
...
On Chrome, when clicking an autocomplete dropdown menu option, a keydown event is generated which is not of type KeyboardEvent.
2019-10-08 19:32:44 -04:00
toasted-nutbread
205c7d88d0
Remove PNG icons
2019-10-06 21:28:43 -04:00
toasted-nutbread
69b9cac8af
Create SVG icons
2019-10-06 21:28:42 -04:00
toasted-nutbread
cd6d4e7ee1
Update how popup visibility works
2019-10-05 21:59:37 -04:00
toasted-nutbread
2255fadf52
Rename Popup.setVisible to setVisibleOverride
2019-10-05 21:40:10 -04:00
toasted-nutbread
7380ada1f1
Simplify onWheel handler
2019-10-02 21:12:24 -04:00
toasted-nutbread
a628610cbd
Use KeyboardEvent.key for onKeyDown handlers
2019-10-02 19:49:52 -04:00
Alex Yatskov
3c3a2c9474
Merge pull request #230 from toasted-nutbread/edge-fixes
...
Use toIterable for cross-window origin objects
2019-09-30 19:54:27 -07:00
toasted-nutbread
8b7558a757
Use toIterable for cross-window origin objects
2019-09-29 15:26:57 -04:00
toasted-nutbread
e358c94882
Clean up event listeners
2019-09-27 21:41:00 -04:00
toasted-nutbread
8db830b468
Change how current entry is indicated
2019-09-27 21:41:00 -04:00
toasted-nutbread
3ca84e3a85
Remove jQuery calls from adderButtonFind and viewerButtonFind
2019-09-27 21:41:00 -04:00
toasted-nutbread
946e577e42
Implement custom window scroll
2019-09-27 21:41:00 -04:00
toasted-nutbread
9fc69395c5
Use raw event listeners
2019-09-27 21:41:00 -04:00
toasted-nutbread
95a7fd81f5
Use raw element references for container and spinner
2019-09-27 21:41:00 -04:00
toasted-nutbread
355fb29c3b
Use entryIndexFind without jQuery
2019-09-27 21:40:59 -04:00
odehjoseph
62b95a656f
Add option to enable Alt+B lookup
2019-09-26 21:33:33 -07:00
toasted-nutbread
6d3037f3d6
Remove destructuring from searchAt, containsPoint, docRangeFromPoint
2019-09-14 14:27:25 -04:00
toasted-nutbread
bc8793eb56
Add a context object for all calls to fetch options
2019-09-10 20:09:33 -04:00
toasted-nutbread
171e3f1097
Add option for enabling deep scanning
2019-09-02 11:43:48 -04:00
toasted-nutbread
ad0dca7bb1
Make the imposter element tracked using TextSourceRange
2019-08-31 14:57:50 -04:00
Alex Yatskov
cd75f5b97d
Merge pull request #188 from toasted-nutbread/edge-support
...
Add support for Edge browser
2019-08-28 19:41:30 -07:00
toasted-nutbread
a39a1fa9e4
Add support for Edge browser
2019-08-26 21:58:03 -04:00
Alex Yatskov
9ec711b780
Merge pull request #176 from toasted-nutbread/selection-touch-scan-disable
...
Don't scan when touching the current selection
2019-08-17 14:12:11 -07:00
Alex Yatskov
8ebac935e8
Merge pull request #182 from toasted-nutbread/anki-screenshot
...
Anki screenshot
2019-08-17 09:05:33 -07:00
toasted-nutbread
c22f8252b9
Handle case where docRangeFromPoint returns null
2019-08-16 17:44:35 -04:00
toasted-nutbread
cd1f367798
Focus if context is falsy or focus field isn't false
2019-08-16 17:36:55 -04:00
toasted-nutbread
3a5b06bd10
Add screenshot settings
2019-08-15 19:56:14 -04:00
toasted-nutbread
0f0adf750c
Add ability to save screenshot to anki cards
2019-08-15 19:39:58 -04:00
toasted-nutbread
345b9c6f9d
Disable focus of popup when using touch
...
Context menu on Firefox will not target the text properly if the focus is on the popup window.
2019-08-09 22:29:14 -04:00
siikamiika
3b07a9000c
add source term button to terms
2019-08-03 19:54:01 +03:00
siikamiika
683bb5b620
scroll back to exact position in source term view
2019-08-03 19:46:54 +03:00
siikamiika
ec1441434f
allow multi level context
2019-08-03 15:50:49 +03:00
siikamiika
afc771de9f
inject doc functions as dependencies
2019-08-03 15:06:28 +03:00
siikamiika
0ee6d05cb1
Revert "use ES6 import and export"
...
This reverts commit 04f4607922
.
2019-08-03 14:57:17 +03:00
siikamiika
04f4607922
use ES6 import and export
2019-08-02 00:04:39 +03:00
siikamiika
e500a647a2
fix term lookup for terms with one gloss only
2019-08-01 20:41:06 +03:00
siikamiika
b8df9896e6
allow looking up terms from within terms
...
resolves #167 , resolves #139 , resolves #75 , resolves #151
2019-08-01 02:20:09 +03:00
guidocella
15b93060c7
Add option to play audio automatically
2017-12-16 19:56:53 +01:00
0b602925ab
cleanup
2017-10-28 08:11:33 -07:00
siikamiika
9697c9a65b
terms.html: rename classes, remove inline css
2017-10-24 23:30:55 +03:00
siikamiika
7913b094b7
scrap tagLineBreak option
2017-10-15 10:38:30 +03:00
siikamiika
0404b42f61
compact glossaries, line break after tags: on/off
2017-10-15 09:45:00 +03:00
siikamiika
4203fda906
rename pos to partOfSpeech
2017-10-13 03:14:06 +03:00
siikamiika
6523b77ca1
pos tag color
2017-10-12 08:23:28 +03:00
siikamiika
b9d589374c
merged mode: support audio hotkey Alt+P
2017-10-10 04:13:36 +03:00
siikamiika
9f277b6a20
merged mode: support frequencies
2017-10-10 00:56:47 +03:00
siikamiika
7b9ad61352
merged mode: fix regression (voice), tweak hover
...
Alt+P now works again in grouped/split mode
In merged mode, 「、」 is added even after the last term, but it's
hidden for that. This ensures consistent behavior with voice button and
tags
2017-10-08 03:37:28 +03:00
siikamiika
94d590fc85
merged mode: support audio and tags for terms
2017-10-07 07:02:50 +03:00
siikamiika
69ad4a7c9b
merged mode: implement missing stuff, refactoring
...
- use correct tags
- indicate popular and rare terms
- indicate definitions restricted to specific terms
- frequencies (Innocent Corpus)
2017-10-03 07:20:02 +03:00
siikamiika
b24c705234
basic structure for feature-merge-similar-results
2017-09-29 05:41:29 +03:00
siikamiika
62c881cfeb
Go to next and previous result with Alt+wheel
...
Analogous to Alt+up/down which does the same thing
2017-09-25 23:47:53 +03:00
8ba8397170
update error handling
2017-09-22 19:39:05 -07:00
d9d16613f8
wip
2017-09-17 19:16:08 -07:00
e044f0107a
style fixes
2017-09-15 14:03:05 -07:00
7f55f1c8d2
display term frequencies
2017-09-15 13:32:49 -07:00
f6df5db556
.
2017-08-26 12:21:28 -07:00
190c749527
improved furigana support
2017-08-26 11:57:34 -07:00
a4c3ba434a
fixing syntax issues
2017-08-23 20:56:52 -07:00
Yoitsumi
c89678f5db
Improve {furigana} marker for anki export
2017-08-20 16:07:55 +02:00
0c650dac82
don't show busy spinner while waiting for card info
...
smoother cursor movement in firefox
2017-08-17 19:05:31 -07:00
8ed3ca6fd4
cleanup
2017-08-15 21:40:41 -07:00
e19933f980
jisho.org audio support
2017-08-15 21:36:30 -07:00
61dde5b3b7
upgrade to wanikana 2.2.3 ( fixes #42 )
2017-08-14 23:10:59 -07:00
bdf231082f
lots of fixes to backend
2017-08-14 21:43:09 -07:00
82863cd861
renaming files
2017-08-14 19:55:04 -07:00
a202817b98
wip
2017-08-13 20:50:43 -07:00
aac2a58b5f
wip
2017-08-13 16:11:51 -07:00
32680c58b8
cleanup
2017-07-23 22:48:33 -07:00
fe137e94c9
cleanup
2017-07-19 21:28:09 -07:00
26e1cc517f
refactor
2017-07-18 23:07:46 -07:00
39f1f30dc9
refactor bg/js/util.js
2017-07-16 13:14:28 -07:00