diff --git a/.env b/.env index 74e0ccc..12e43a6 100644 --- a/.env +++ b/.env @@ -21,3 +21,6 @@ REACT_APP_VERSIONFILE2=https://kiss-translator.rayjar.com/version.txt REACT_APP_USERSCRIPT_DOWNLOADURL=https://fishjar.github.io/kiss-translator/kiss-translator.user.js REACT_APP_USERSCRIPT_DOWNLOADURL2=https://kiss-translator.rayjar.com/kiss-translator.user.js + +REACT_APP_USERSCRIPT_IOS_DOWNLOADURL=https://fishjar.github.io/kiss-translator/kiss-translator-ios-safari.user.js +REACT_APP_USERSCRIPT_IOS_DOWNLOADURL2=https://kiss-translator.rayjar.com/kiss-translator-ios-safari.user.js diff --git a/README.en.md b/README.en.md index e0cb042..d3c4d26 100644 --- a/README.en.md +++ b/README.en.md @@ -33,16 +33,16 @@ If you also like a little more simplicity, welcome to pick it up. - [x] OpenAI - [ ] DeepL - [x] Upload to app Store - - [x] [Chrome](https://chrome.google.com/webstore/detail/kiss-translator/bdiifdefkgmcblbcghdlonllpjhhjgof) - - [x] [Edge](https://microsoftedge.microsoft.com/addons/detail/kiss-translator/jemckldkclkinpjighnoilpbldbdmmlh) - - [x] [Firefox](https://addons.mozilla.org/zh-CN/firefox/addon/kiss-translator/) + - [x] Chrome [Install Link](https://chrome.google.com/webstore/detail/kiss-translator/bdiifdefkgmcblbcghdlonllpjhhjgof) + - [x] Edge [Install Link](https://microsoftedge.microsoft.com/addons/detail/kiss-translator/jemckldkclkinpjighnoilpbldbdmmlh) + - [x] Firefox [Install Link](https://addons.mozilla.org/en-US/firefox/addon/kiss-translator/) - [ ] Safari - - [x] [Greasy Fork](https://greasyfork.org/zh-CN/scripts/472840-kiss-translator) + - [x] Greasy Fork [Install Link](https://greasyfork.org/en/scripts/472840-kiss-translator) - [x] Open source - [x] Data Synchronization Function -- [x] Greasemonkey Script ([link 1](https://fishjar.github.io/kiss-translator/kiss-translator.user.js)、[link 2](https://kiss-translator.rayjar.com/kiss-translator.user.js)) - - [x] [Tampermonkey](https://www.tampermonkey.net/) (Chrome/Edge/Firefox) - - [x] [Userscripts Safari](https://github.com/quoid/userscripts) (iOS Safari) +- [x] Greasemonkey Script ([Setting Page 1](https://fishjar.github.io/kiss-translator/options.html)、[Setting Page 2](https://kiss-translator.rayjar.com/options)) + - [x] [Tampermonkey](https://www.tampermonkey.net/) (Chrome/Edge/Firefox) [Install Link 1](https://fishjar.github.io/kiss-translator/kiss-translator.user.js)、[Install Link 2](https://kiss-translator.rayjar.com/kiss-translator.user.js) + - [x] [Userscripts Safari](https://github.com/quoid/userscripts) (iOS Safari) [Install Link 1](https://fishjar.github.io/kiss-translator/kiss-translator-ios-safari.user.js)、[Install Link 2](https://kiss-translator.rayjar.com/kiss-translator.user-ios-safari.js) ### Guide diff --git a/README.md b/README.md index f4aa235..1f7b665 100644 --- a/README.md +++ b/README.md @@ -33,16 +33,16 @@ - [x] OpenAI - [ ] DeepL - [x] 上架应用市场 - - [x] [Chrome](https://chrome.google.com/webstore/detail/kiss-translator/bdiifdefkgmcblbcghdlonllpjhhjgof?hl=zh-CN) - - [x] [Edge](https://microsoftedge.microsoft.com/addons/detail/%E7%AE%80%E7%BA%A6%E7%BF%BB%E8%AF%91/jemckldkclkinpjighnoilpbldbdmmlh?hl=zh-CN) - - [x] [Firefox](https://addons.mozilla.org/zh-CN/firefox/addon/kiss-translator/) + - [x] Chrome [安装地址](https://chrome.google.com/webstore/detail/kiss-translator/bdiifdefkgmcblbcghdlonllpjhhjgof?hl=zh-CN) + - [x] Edge [安装地址](https://microsoftedge.microsoft.com/addons/detail/%E7%AE%80%E7%BA%A6%E7%BF%BB%E8%AF%91/jemckldkclkinpjighnoilpbldbdmmlh?hl=zh-CN) + - [x] Firefox [安装地址](https://addons.mozilla.org/zh-CN/firefox/addon/kiss-translator/) - [ ] Safari - - [x] [Greasy Fork](https://greasyfork.org/zh-CN/scripts/472840-kiss-translator) + - [x] Greasy Fork [安装地址](https://greasyfork.org/zh-CN/scripts/472840-kiss-translator) - [x] 开放源代码 - [x] 数据同步功能 -- [x] 油猴脚本([链接 1](https://fishjar.github.io/kiss-translator/kiss-translator.user.js)、[链接 2](https://kiss-translator.rayjar.com/kiss-translator.user.js)) - - [x] [Tampermonkey](https://www.tampermonkey.net/) (Chrome/Edge/Firefox) - - [x] [Userscripts Safari](https://github.com/quoid/userscripts) (iOS Safari) +- [x] 油猴脚本 ([设置页面 1](https://fishjar.github.io/kiss-translator/options.html)、[设置页面 2](https://kiss-translator.rayjar.com/options)) + - [x] [Tampermonkey](https://www.tampermonkey.net/) (Chrome/Edge/Firefox) [安装链接 1](https://fishjar.github.io/kiss-translator/kiss-translator.user.js)、[安装链接 2](https://kiss-translator.rayjar.com/kiss-translator.user.js) + - [x] [Userscripts Safari](https://github.com/quoid/userscripts) (iOS Safari) [安装链接 1](https://fishjar.github.io/kiss-translator/kiss-translator-ios-safari.user.js)、[安装链接 2](https://kiss-translator.rayjar.com/kiss-translator.user-ios-safari.js) ### 指引 diff --git a/src/index.js b/src/index.js index 94c43c5..1ecc3be 100644 --- a/src/index.js +++ b/src/index.js @@ -39,6 +39,12 @@ function App() { Install Userscript 2 + + Install Userscript Safari 1 + + + Install Userscript Safari 2 + Open Options Page 1 diff --git a/src/views/Options/index.js b/src/views/Options/index.js index 7bca5c3..4365514 100644 --- a/src/views/Options/index.js +++ b/src/views/Options/index.js @@ -67,6 +67,12 @@ export default function Options() { Install Userscript 2 + + Install Userscript Safari 1 + + + Install Userscript Safari 2 + Open Options Page 1