summaryrefslogtreecommitdiff
path: root/ext/fg/js
Commit message (Collapse)AuthorAge
* 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.
* 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
|
* fix flicker on form elements on mouseover (fixes #56)Alex Yatskov2017-08-17
|
* don't show busy spinner while waiting for card infoAlex Yatskov2017-08-17
| | | | smoother cursor movement in firefox
* jisho.org audio supportAlex Yatskov2017-08-15
|
* frontend cleanupAlex Yatskov2017-08-15
|
* cleanupAlex Yatskov2017-08-14
|
* lots of fixes to backendAlex Yatskov2017-08-14
|
* renaming filesAlex Yatskov2017-08-14
|
* unify filesAlex Yatskov2017-08-13
|
* wipAlex Yatskov2017-08-13
|
* wipAlex Yatskov2017-08-13
|
* wipAlex Yatskov2017-08-13
|
* more cleanupAlex Yatskov2017-08-05
|
* cleanupAlex Yatskov2017-07-22
|
* cleanupAlex Yatskov2017-07-20
|
* cleanupAlex Yatskov2017-07-20
|
* cleanupAlex Yatskov2017-07-20
|
* cleanupAlex Yatskov2017-07-20
|
* cleanupAlex Yatskov2017-07-09
|