aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js
Commit message (Collapse)AuthorAge
* Add support for showing recursive popupstoasted-nutbread2019-09-02
|
* Fix typotoasted-nutbread2019-09-02
|
* Fix issues caused by scanning ranges which don't start with a text nodetoasted-nutbread2019-09-02
| | | | The rects returned by range.getClientRects() could include the entire start element's bounding box.
* Fix issue with whitespace rangestoasted-nutbread2019-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 rangestoasted-nutbread2019-09-02
|
* Add option for enabling deep scanningtoasted-nutbread2019-09-02
|
* Allow elements behind other transparent elements to be scannedtoasted-nutbread2019-09-02
|
* Improve definition of caretRangeFromPointtoasted-nutbread2019-09-02
|
* Destructure point to {x, y} only oncetoasted-nutbread2019-09-02
|
* Merge pull request #196 from toasted-nutbread/vertical-text-popup-positionAlex Yatskov2019-09-02
|\ | | | | Vertical text popup position
| * Add option for position of popup for horizontal texttoasted-nutbread2019-08-31
| |
| * Improve popup position for vertical texttoasted-nutbread2019-08-31
| |
* | Create container for imposter elementtoasted-nutbread2019-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 stylestoasted-nutbread2019-08-31
| |
* | Fix imposter issues with <input type="text">toasted-nutbread2019-08-31
| |
* | Make the imposter element tracked using TextSourceRangetoasted-nutbread2019-08-31
| |
* | Disable pointer events on hidden impostertoasted-nutbread2019-08-31
| |
* | Remove roundingtoasted-nutbread2019-08-31
| |
* | Fix some size and positioning issues related to imposter elementtoasted-nutbread2019-08-31
|/
* Merge pull request #193 from toasted-nutbread/fix-is-point-in-rangeAlex Yatskov2019-08-29
|\ | | | | Update isPointInRange to be more accurate
| * Update isPointInRange to be more accuratetoasted-nutbread2019-08-29
| |
* | Merge pull request #188 from toasted-nutbread/edge-supportAlex Yatskov2019-08-28
|\ \ | |/ |/| Add support for Edge browser
| * Add support for Edge browsertoasted-nutbread2019-08-26
| |
* | Suppress messages about unchecked runtime.lastError on Firefox Mobiletoasted-nutbread2019-08-25
| |
* | fix off by one errorsiikamiika2019-08-19
| |
* | pr fixesAlex Yatskov2019-08-17
| |
* | Merge pull request #176 from toasted-nutbread/selection-touch-scan-disableAlex Yatskov2019-08-17
|\ \ | |/ |/| Don't scan when touching the current selection
| * Disable focus of popup when using touchtoasted-nutbread2019-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 selectiontoasted-nutbread2019-08-09
| |
* | Merge pull request #182 from toasted-nutbread/anki-screenshotAlex Yatskov2019-08-17
|\ \ | | | | | | Anki screenshot
| * | Add ability to save screenshot to anki cardstoasted-nutbread2019-08-15
| |/
* | Merge pull request #175 from toasted-nutbread/touch-move-warning-fixAlex Yatskov2019-08-17
|\ \ | | | | | | Don't process touchmove events if they can't be canceled
| * | Don't process touchmove events if they can't be canceledtoasted-nutbread2019-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-improvementsAlex Yatskov2019-08-17
|\ \ | | | | | | Doc range from point improvements
| * | Clean up docRangeFromPointtoasted-nutbread2019-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 iterablesiikamiika2019-08-15
| |
* | reimplement ignored chars inside source.js onlysiikamiika2019-08-15
| |
* | ignore zero-width non-joinersiikamiika2019-08-14
|/ | | | fixes #179
* Merge pull request #174 from siikamiika/fix-firefox-scanning-start-of-lineAlex Yatskov2019-08-03
|\ | | | | fix scanning start of line on Firefox
| * fix scanning start of line on Firefoxsiikamiika2019-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-termssiikamiika2019-08-03
|\|
| * return focus to site after hiding popupsiikamiika2019-08-01
| |
* | inject doc functions as dependenciessiikamiika2019-08-03
| |
* | Revert "use ES6 import and export"siikamiika2019-08-03
| | | | | | | | This reverts commit 04f4607922e84d93ca8a05708802fb6bbd61f359.
* | use ES6 import and exportsiikamiika2019-08-02
| |
* | allow looking up terms from within termssiikamiika2019-08-01
|/ | | | resolves #167, resolves #139, resolves #75, resolves #151
* Add support for custom popup CSStoasted-nutbread2019-07-09
|
* Merge pull request #164 from toasted-nutbread/document-range-fixAlex Yatskov2019-06-26
|\ | | | | Fix docRangeFromPoint sometimes not returning results
| * Fix docRangeFromPoint sometimes not returning resultstoasted-nutbread2019-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 modetoasted-nutbread2019-06-22
|/ | | | Fixes #163