aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js
Commit message (Collapse)AuthorAge
* 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
* Merge pull request #140 from KarboniteKream/horizontal-offsetAlex Yatskov2019-05-19
|\ | | | | Add horizontal popup offset
| * Add horizontal popup offsetKlemen Košir2018-10-02
| |
* | Make error loging unintrusivetoasted-nutbread2019-05-04
| | | | | | | | This alert can show up under normal use circumstances on mobile
* | Handle messages with unexpected response formattoasted-nutbread2019-05-04
| | | | | | | | The response parameter can be undefined
* | Update frontend.jstoasted-nutbread2019-02-20
| |
* | Improve handling of null values from caretRangeFromPointtoasted-nutbread2019-02-20
| |
* | Add popup display modetoasted-nutbread2019-02-14
| | | | | | | | Allows the popup to be stretched to the full width of the screen, anchored to the top or bottom of the window.
* | Add support for touch inputtoasted-nutbread2019-02-10
| |
* | Catch exceptions thrown by range.getClientRects()toasted-nutbread2018-12-10
|/ | | | Firefox dev 65 was throwing an exception
* Merge branch 'master' of https://github.com/FooSoft/yomichanAlex Yatskov2018-06-22
|\
| * Fixes for imposter element and range y positionGareth Parker2018-06-08
| | | | | | Hides the imposter element once we've finished using it and checks the y position for the range against the point given
* | Add option to play audio automaticallyguidocella2017-12-16
|/
* Place `nodeType` checks inside `caretRangeFromPoint` functionRoderic Day2017-10-13
| | | | | Checked that it does not un-fix #80 Squelches alerts (but does not fix underlying issue) for #89
* improved error reportingAlex Yatskov2017-09-22
|
* make sure ranges are created over text nodes only (fixes #80)Alex Yatskov2017-09-19
|
* more improvements to automatic search result hiding (#71)Alex Yatskov2017-09-17
|
* add option to automatically hide search results (fixes #71)Alex Yatskov2017-09-16
|
* work on sandboxAlex Yatskov2017-09-05
|
* bugfix and versionAlex Yatskov2017-08-19
|