Commit graph

18 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
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
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 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 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 c23837e6e1 Replace content scripts with React 2019-02-22 01:43:45 +09:00