Commit graph

42 commits

Author SHA1 Message Date
def00111 b5d5970a85
Fix sendRemoveListener on closed conduit when unloading a page (#312)
* Update simple-translate.js

* Update background.js

* Update manifest.json

* Delete background.js

* Delete manifest.json

* Delete simple-translate.js

* Update index.js
2021-07-07 01:00:39 +09:00
sienori 2bd616e866 Show google translate link on error 2021-05-24 02:21:18 +09:00
Alex Kozack f20990894a
Language definition based on the closest lang attribute (#297)
* Language definition based on the closest `lang` attribute

* Update index.js
2021-04-27 21:41:26 +09:00
sienori 2937233ec6 Refactor content/index.js 2021-03-08 23:54:34 +09:00
sienori 16f423028d Add ignore code tag option 2021-03-08 23:44:54 +09:00
Alex Kozack a1ffd7a44a
Ignore <code> tag (#266)
* refactor: Getting out early will speed things up

* feat: Ignore <code> tags
2021-03-08 23:29:35 +09:00
Alex Kozack 7c953f8244
Add ignored document lang option (#265)
This option allows you to list the locales for which you do not need to
apply translation.
2021-03-08 23:08:07 +09:00
yinonburgansky 6612e49710
Add support for RTL languages (#264) 2021-03-08 20:51:36 +09:00
sienori 56f85ef661 Rename specified key to modifier key 2021-01-07 19:09:12 +09:00
Nutr1t07 a6db23f5fb
Only translate text when specified key pressed (#254) 2021-01-07 18:37:07 +09:00
sienori e4dcd6eb43 Remove color definitions from :root 2021-01-06 02:12:26 +09:00
sienori 4f36b77890 Refactor content panel dragging 2019-10-20 21:50:14 +09:00
fluks a758039fe4 Make content panel movable (#183)
Let the user move the content panel. It can be moved by grabbing the
blue bar on top.
2019-10-20 20:50:12 +09:00
sienori 4a6f907c73 Add option to disable translation in text fields 2019-10-20 19:14:48 +09:00
sienori 6f43d626f0 Fix text in iframe not getting from popup 2019-10-20 18:58:27 +09:00
sienori c78a27a7e0 Insert code into html only when translating text 2019-10-20 17:26:48 +09:00
sienori 85bd5abd06 Revert "Add debug log to insert / remove element"
This reverts commit 8015eacce7.
2019-05-03 18:56:12 +09:00
sienori 8015eacce7 Add debug log to insert / remove element 2019-05-03 17:12:10 +09:00
sienori 6104cd7f55 Allow wildcards in the URL list 2019-05-03 16:22:29 +09:00
sienori 9dccb8e20c Fix not working in cross domain iframe 2019-05-03 05:23:55 +09:00
sienori 68a7f7456c Add option of URL list to disable working on the web page 2019-05-03 04:43:59 +09:00
sienori 35636fadbc Fix not working on Chrome 2019-05-02 23:36:27 +09:00
sienori ce6f96454b Add function to enable / disable elements on the page 2019-05-02 17:33:29 +09:00
Ne1s07 1cd9da3873 Fix the inserted <div> covering origin content (#151)
When inserting <div> after <body> element, it will create a new <body> to contain the new <div> element. This may cause part of the origin website content to be covered. So just use `beforeend` instead of `afterend` to avoid that.
2019-05-02 12:54:38 +09:00
sienori 5c70010595 Fix unseparating line of text in panel 2019-03-22 00:15:55 +09:00
sienori ab9b3bd0d1 Fix not working on some pages 2019-03-21 17:28:08 +09:00
sienori 17f5a81c17 Fixed that translate panel is not resized 2019-02-24 05:18:23 +09:00
sienori a18a51c294 Fix to not embed images in content 2019-02-24 05:08:26 +09:00
sienori a90ef23f6a Fix problems that could not get parent url and selected text in iframe 2019-02-23 22:10:18 +09:00
sienori 53509a149a Add option to change to second lang on web page 2019-02-23 18:45:27 +09:00
sienori 13739980f6 Fix panel width 2019-02-23 18:44:43 +09:00
sienori ba7f3c01e5 Delete unnecessary code 2019-02-23 18:03:56 +09:00
sienori dc69034125 Add options of display position offset 2019-02-23 17:42:46 +09:00
sienori 479e3164bb Add options of panel display position 2019-02-23 17:33:14 +09:00
sienori 9571e98671 Do not show button when symbol is selected 2019-02-23 03:53:34 +09:00
sienori 267b25777e Fix overflow problem in content 2019-02-23 03:30:09 +09:00
sienori 063aa7f31f Show errors in content 2019-02-23 02:30:34 +09:00
sienori 7a39dee3a1 Add log to translate.js 2019-02-23 01:13:11 +09:00
sienori 4028acda0c Update isChangedContents in translate panel 2019-02-23 00:20:28 +09:00
sienori 6c3c75b59c Delete old content scripts 2019-02-22 02:15:39 +09:00
sienori c23837e6e1 Replace content scripts with React 2019-02-22 01:43:45 +09:00
sienori 24d44ef384 Introduce Webpack 2019-02-20 17:10:03 +09:00