Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Omit containsPoint check on searchAt | toasted-nutbread | 2019-09-03 |
| | | | | The range returned by docRangeFromPoint is now guaranteed to contain the point due to the addition of isPointInRange checks. | ||
* | Fix typo | toasted-nutbread | 2019-09-02 |
| | |||
* | Fix issues caused by scanning ranges which don't start with a text node | toasted-nutbread | 2019-09-02 |
| | | | | The rects returned by range.getClientRects() could include the entire start element's bounding box. | ||
* | Fix issue with whitespace ranges | toasted-nutbread | 2019-09-02 |
| | | | | The size of the rects for these ranges will sometimes be excessively large on Firefox, leading to false positives. | ||
* | Reduce amount of isPointInRange calls for repeated ranges | toasted-nutbread | 2019-09-02 |
| | |||
* | Add option for enabling deep scanning | toasted-nutbread | 2019-09-02 |
| | |||
* | Allow elements behind other transparent elements to be scanned | toasted-nutbread | 2019-09-02 |
| | |||
* | Improve definition of caretRangeFromPoint | toasted-nutbread | 2019-09-02 |
| | |||
* | Destructure point to {x, y} only once | toasted-nutbread | 2019-09-02 |
| | |||
* | Merge pull request #196 from toasted-nutbread/vertical-text-popup-position | Alex Yatskov | 2019-09-02 |
|\ | | | | | Vertical text popup position | ||
| * | Add option for position of popup for horizontal text | toasted-nutbread | 2019-08-31 |
| | | |||
| * | Improve popup position for vertical text | toasted-nutbread | 2019-08-31 |
| | | |||
* | | Create container for imposter element | toasted-nutbread | 2019-09-01 |
| | | | | | | | | The container will prevent the imposter element's size from affecting the document's primary scrollbars. | ||
* | | Use important CSS priority for imposter element styles | toasted-nutbread | 2019-08-31 |
| | | |||
* | | Fix imposter issues with <input type="text"> | toasted-nutbread | 2019-08-31 |
| | | |||
* | | Make the imposter element tracked using TextSourceRange | toasted-nutbread | 2019-08-31 |
| | | |||
* | | Disable pointer events on hidden imposter | toasted-nutbread | 2019-08-31 |
| | | |||
* | | Remove rounding | toasted-nutbread | 2019-08-31 |
| | | |||
* | | Fix some size and positioning issues related to imposter element | toasted-nutbread | 2019-08-31 |
|/ | |||
* | Merge pull request #193 from toasted-nutbread/fix-is-point-in-range | Alex Yatskov | 2019-08-29 |
|\ | | | | | Update isPointInRange to be more accurate | ||
| * | Update isPointInRange to be more accurate | toasted-nutbread | 2019-08-29 |
| | | |||
* | | Merge pull request #188 from toasted-nutbread/edge-support | Alex Yatskov | 2019-08-28 |
|\ \ | |/ |/| | Add support for Edge browser | ||
| * | Add support for Edge browser | toasted-nutbread | 2019-08-26 |
| | | |||
* | | Suppress messages about unchecked runtime.lastError on Firefox Mobile | toasted-nutbread | 2019-08-25 |
| | | |||
* | | fix off by one error | siikamiika | 2019-08-19 |
| | | |||
* | | pr fixes | Alex Yatskov | 2019-08-17 |
| | | |||
* | | Merge pull request #176 from toasted-nutbread/selection-touch-scan-disable | Alex Yatskov | 2019-08-17 |
|\ \ | |/ |/| | Don't scan when touching the current selection | ||
| * | Disable focus of popup when using touch | toasted-nutbread | 2019-08-09 |
| | | | | | | | | Context menu on Firefox will not target the text properly if the focus is on the popup window. | ||
| * | Don't scan when touching the current selection | toasted-nutbread | 2019-08-09 |
| | | |||
* | | Merge pull request #182 from toasted-nutbread/anki-screenshot | Alex Yatskov | 2019-08-17 |
|\ \ | | | | | | | Anki screenshot | ||
| * | | Add ability to save screenshot to anki cards | toasted-nutbread | 2019-08-15 |
| |/ | |||
* | | Merge pull request #175 from toasted-nutbread/touch-move-warning-fix | Alex Yatskov | 2019-08-17 |
|\ \ | | | | | | | Don't process touchmove events if they can't be canceled | ||
| * | | Don't process touchmove events if they can't be canceled | toasted-nutbread | 2019-08-09 |
| |/ | | | | | | | 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. | ||
* | | Merge pull request #177 from toasted-nutbread/doc-range-from-point-improvements | Alex Yatskov | 2019-08-17 |
|\ \ | | | | | | | Doc range from point improvements | ||
| * | | Clean up docRangeFromPoint | toasted-nutbread | 2019-08-16 |
| |/ | | | | | | | | | | | Use a cached value for checking if the browser is Firefox. Only validate and set up document.caretRangeFromPoint once. Use switch for multiple comparisons on the same value. | ||
* | | ensure that content is iterable | siikamiika | 2019-08-15 |
| | | |||
* | | reimplement ignored chars inside source.js only | siikamiika | 2019-08-15 |
| | | |||
* | | ignore zero-width non-joiner | siikamiika | 2019-08-14 |
|/ | | | | fixes #179 | ||
* | Merge pull request #174 from siikamiika/fix-firefox-scanning-start-of-line | Alex Yatskov | 2019-08-03 |
|\ | | | | | fix scanning start of line on Firefox | ||
| * | fix scanning start of line on Firefox | siikamiika | 2019-08-04 |
| | | | | | | | | | | | | | | | | | | | | | | | | On many sites, for example Twitter (posts), Yomichan doesn't match any text from the beginning of the line unless you move the mouse cursor to the top left corner of the word that starts from the beginning of the line. Apparently there were some problems related to the imposter and there was commit 0cc5566 adding a fix for it, but this seemed to cause problems and 542cdb2 was added to fix that. It didn't handle all of the cases, though, so this commit is letting everything through on Firefox. | ||
* | | Merge branch 'master' into search-terms-from-terms | siikamiika | 2019-08-03 |
|\| | |||
| * | return focus to site after hiding popup | siikamiika | 2019-08-01 |
| | | |||
* | | inject doc functions as dependencies | siikamiika | 2019-08-03 |
| | | |||
* | | Revert "use ES6 import and export" | siikamiika | 2019-08-03 |
| | | | | | | | | This reverts commit 04f4607922e84d93ca8a05708802fb6bbd61f359. | ||
* | | use ES6 import and export | siikamiika | 2019-08-02 |
| | | |||
* | | allow looking up terms from within terms | siikamiika | 2019-08-01 |
|/ | | | | resolves #167, resolves #139, resolves #75, resolves #151 | ||
* | Add support for custom popup CSS | toasted-nutbread | 2019-07-09 |
| | |||
* | Merge pull request #164 from toasted-nutbread/document-range-fix | Alex Yatskov | 2019-06-26 |
|\ | | | | | Fix docRangeFromPoint sometimes not returning results | ||
| * | Fix docRangeFromPoint sometimes not returning results | toasted-nutbread | 2019-06-22 |
| | | | | | | | | If range.getClientRects() has more than 1 result, it is possible that nothing will be returned even when hovering over a valid target. | ||
* | | Allow popup window to be visible in fullscreen mode | toasted-nutbread | 2019-06-22 |
|/ | | | | Fixes #163 |