Alex Yatskov
ba2858309e
Merge pull request #218 from toasted-nutbread/settings-profile-conditions
...
Settings profile conditions
2019-09-23 17:03:00 -07:00
toasted-nutbread
f022ee4eca
Use a Promise to trigger callback when delay is 0 or less
2019-09-19 19:00:26 -04:00
toasted-nutbread
dcfe722ba6
Add support for using optionsContext to select which profile to use
2019-09-18 19:14:04 -04:00
toasted-nutbread
0067dfeacc
Remove redundant call of popupTimerClear
...
Also use explicit null checks rather than truthy checks.
2019-09-14 15:29:43 -04:00
toasted-nutbread
7dddcb8dca
Rename type to cause
2019-09-14 14:31:21 -04:00
toasted-nutbread
6d3037f3d6
Remove destructuring from searchAt, containsPoint, docRangeFromPoint
2019-09-14 14:27:25 -04:00
toasted-nutbread
89941d404c
Remove unused variable
2019-09-14 14:11:25 -04:00
toasted-nutbread
721248c821
Remove mouseDownLeft and mouseDownMiddle
...
MouseEvent.buttons can be used instead.
2019-09-14 14:11:06 -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
99ca60d4c1
Ensure both Popup and PopupProxy have valid depth
2019-09-10 20:09:33 -04:00
toasted-nutbread
91bc31d758
Change how options updates are handled on the frontend
...
Only an 'optionsUpdate' signal is now sent to the frontend with empty data. The frontend then responds by performing apiOptionsGet to update the options. This makes it so that there is only a single function which is responsible for requesting options from the backend.
2019-09-10 20:09:33 -04:00
Alex Yatskov
cc53510883
Merge pull request #204 from toasted-nutbread/settings-improvements
...
Settings improvements
2019-09-08 19:34:39 -07:00
toasted-nutbread
7db2c66105
Use consistent structure for params
2019-09-06 21:23:35 -04:00
Alex Yatskov
155986db46
Merge pull request #201 from toasted-nutbread/omit-contains-point-check
...
Omit containsPoint check on searchAt
2019-09-05 19:46:43 -07:00
toasted-nutbread
5c793180d0
Omit containsPoint check on searchAt
...
The range returned by docRangeFromPoint is now guaranteed to contain the point due to the addition of isPointInRange checks.
2019-09-03 19:17:50 -04:00
toasted-nutbread
fad5332488
Move static DOM scanning functions into TextSourceRange
2019-09-02 19:33:52 -04:00
siikamiika
834f14e808
simplified if statement back to single line
2019-09-02 19:33:52 -04:00
siikamiika
3d28a3a405
prevent closing new child popup on parent mouseout
2019-09-02 19:33:52 -04:00
siikamiika
87ff5cb19b
make containsPoint async everywhere
2019-09-02 19:33:52 -04:00
toasted-nutbread
71471d08e5
Add option to enable/disable scanning of source expressions in popups
2019-09-02 19:33:52 -04:00
toasted-nutbread
3491affcf1
Update nested initialization parameters passed via message rather than using the URL query string
2019-09-02 19:33:28 -04:00
toasted-nutbread
53aad0bef6
Fix messaging issues when iframes are present in the document
2019-09-02 19:33:28 -04:00
toasted-nutbread
5c4614f585
Add support for showing recursive popups
2019-09-02 19:31:42 -04:00
toasted-nutbread
171e3f1097
Add option for enabling deep scanning
2019-09-02 11:43:48 -04:00
Alex Yatskov
3c9f7ba152
Merge pull request #196 from toasted-nutbread/vertical-text-popup-position
...
Vertical text popup position
2019-09-02 08:33:10 -07:00
toasted-nutbread
ad0dca7bb1
Make the imposter element tracked using TextSourceRange
2019-08-31 14:57:50 -04:00
toasted-nutbread
68af0d86c3
Improve popup position for vertical text
2019-08-31 11:57:07 -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
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
toasted-nutbread
710ffb88fc
Don't scan when touching the current selection
2019-08-09 21:45:29 -04:00
toasted-nutbread
70e9f4922b
Don't process touchmove events if they can't be canceled
...
If the event cannot be canceled, the browser will continue to scroll while looking up results, which makes it very difficult to control where the lookup cursor is. Chrome also logs error messages that this is invalid.
2019-08-09 21:38:52 -04:00
toasted-nutbread
884be644ec
Make error loging unintrusive
...
This alert can show up under normal use circumstances on mobile
2019-05-04 13:02:56 -04:00
toasted-nutbread
0b8ae6c53a
Update frontend.js
2019-02-20 22:05:07 -05:00
toasted-nutbread
01f611d189
Add support for touch input
2019-02-10 20:44:16 -05:00
guidocella
15b93060c7
Add option to play audio automatically
2017-12-16 19:56:53 +01:00
7a6e2925bd
improved error reporting
2017-09-22 19:57:00 -07:00
5476c10046
more improvements to automatic search result hiding ( #71 )
2017-09-17 10:09:48 -07:00
9280985306
add option to automatically hide search results ( fixes #71 )
2017-09-16 23:08:43 -07: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
3362a68e06
frontend cleanup
2017-08-15 20:04:15 -07:00
211e5d1155
cleanup
2017-08-14 23:22:37 -07:00
bdf231082f
lots of fixes to backend
2017-08-14 21:43:09 -07:00
a202817b98
wip
2017-08-13 20:50:43 -07:00
3ca28a9374
wip
2017-08-13 16:42:22 -07:00
aac2a58b5f
wip
2017-08-13 16:11:51 -07:00
edf1c0ff6d
cleanup
2017-07-22 23:19:38 -07:00
611b4420af
cleanup
2017-07-20 21:34:10 -07:00
a0e2d9cb72
cleanup
2017-07-20 21:32:17 -07:00