Commit Graph

1943 Commits

Author SHA1 Message Date
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
42ec3e2a43 Add support for popup on the search page 2019-09-02 19:33:28 -04:00
toasted-nutbread
1a9348ec27 Add option for maximum nested popup depth 2019-09-02 19:32:08 -04:00
toasted-nutbread
5c4614f585 Add support for showing recursive popups 2019-09-02 19:31:42 -04:00
4ac55da7dd version bump 2019-09-02 11:46:00 -07:00
Alex Yatskov
e92af787d2
Merge pull request #198 from toasted-nutbread/ignore-transparent-overlay-elements
Deep DOM scanning through transparent elements
2019-09-02 10:41:49 -07:00
toasted-nutbread
33076e9db9 Fix typo 2019-09-02 11:43:49 -04:00
toasted-nutbread
c0bf6ff033 Fix issues caused by scanning ranges which don't start with a text node
The rects returned by range.getClientRects() could include the entire start element's bounding box.
2019-09-02 11:43:49 -04:00
toasted-nutbread
a2139213c8 Fix issue with whitespace ranges
The size of the rects for these ranges will sometimes be excessively large on Firefox, leading to false positives.
2019-09-02 11:43:49 -04:00
toasted-nutbread
ee59b3ab8b Reduce amount of isPointInRange calls for repeated ranges 2019-09-02 11:43:49 -04:00
toasted-nutbread
171e3f1097 Add option for enabling deep scanning 2019-09-02 11:43:48 -04:00
toasted-nutbread
737a5ee8a8 Allow elements behind other transparent elements to be scanned 2019-09-02 11:43:33 -04:00
toasted-nutbread
d296ebd593 Improve definition of caretRangeFromPoint 2019-09-02 11:41:00 -04:00
toasted-nutbread
548607ea7f Destructure point to {x, y} only once 2019-09-02 11:40:21 -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
Alex Yatskov
037363e3a7
Merge pull request #197 from toasted-nutbread/imposter-improvements
Imposter element improvements
2019-09-02 08:30:19 -07:00
siikamiika
eee89fa185
Merge pull request #199 from toasted-nutbread/deinflect-json-update
Update deinflect.json
2019-09-02 07:11:15 +03:00
toasted-nutbread
e812e76e93 Update deinflect.json 2019-09-01 22:14:32 -04:00
toasted-nutbread
e3d7ec8db7 Create container for imposter element
The container will prevent the imposter element's size from affecting the document's primary scrollbars.
2019-09-01 16:06:22 -04:00
toasted-nutbread
e3e7dad2cc Use important CSS priority for imposter element styles 2019-08-31 15:30:32 -04:00
toasted-nutbread
9b46fe70de Fix imposter issues with <input type="text"> 2019-08-31 15:10:46 -04:00
toasted-nutbread
ad0dca7bb1 Make the imposter element tracked using TextSourceRange 2019-08-31 14:57:50 -04:00
toasted-nutbread
e47e041217 Disable pointer events on hidden imposter 2019-08-31 14:57:50 -04:00
toasted-nutbread
62d66d93f7 Remove rounding 2019-08-31 14:57:50 -04:00
toasted-nutbread
9e9040178d Fix some size and positioning issues related to imposter element 2019-08-31 14:57:49 -04:00
toasted-nutbread
707d2569cc Group options onto the same line 2019-08-31 12:04:32 -04:00
toasted-nutbread
85472d9407 Add option for position of popup for horizontal text 2019-08-31 11:57:09 -04:00
toasted-nutbread
68af0d86c3 Improve popup position for vertical text 2019-08-31 11:57:07 -04:00
Alex Yatskov
3bf8a9ab00
Merge pull request #193 from toasted-nutbread/fix-is-point-in-range
Update isPointInRange to be more accurate
2019-08-29 18:00:36 -07:00
Alex Yatskov
ccb0c0610c
Merge pull request #194 from toasted-nutbread/fix-storage-stats-quotes
Replace double quotes with single quotes
2019-08-29 17:57:44 -07:00
Alex Yatskov
6d4bede50c
Merge pull request #195 from toasted-nutbread/readme-anki-screenshot-info
Add info about the {screenshot} marker to README
2019-08-29 17:57:16 -07:00
toasted-nutbread
ac344cb6f2 Add info about the {screenshot} marker to README 2019-08-29 20:50:14 -04:00
toasted-nutbread
7ba71de5e7 Replace double quotes with single quotes 2019-08-29 20:45:07 -04:00
toasted-nutbread
ea9c5ad867 Update isPointInRange to be more accurate 2019-08-29 20:35:23 -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
7bf215617c
Merge pull request #187 from toasted-nutbread/suppress-runtime-lasterror-messages
Suppress messages about unchecked runtime.lastError
2019-08-26 17:26:30 -07:00
toasted-nutbread
c49f3c7838 Suppress messages about unchecked runtime.lastError on Firefox Mobile 2019-08-25 11:09:10 -04:00
toasted-nutbread
a50ce724eb Suppress messages about unchecked runtime.lastError 2019-08-23 15:41:41 -04:00
6c3671b3d9 version bump 2019-08-19 19:40:33 -07:00
b1ed90920d Merge branch 'stable' 2019-08-19 19:39:54 -07:00
b7e3ded74e version bump 2019-08-19 19:33:30 -07:00
siikamiika
39b2456ce9 fix off by one error 2019-08-19 19:47:45 +03:00
1d6eb1c3d9 version bump 2019-08-18 12:29:14 -07:00
521aeee2bc fix manifest to contain proper values for stable version of yomichan 2019-08-17 16:01:54 -07:00
317a7a1538 pr fixes 2019-08-17 15:42:36 -07: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