Genshin Impact daily check-in rewards

A script to collect Genshin Impact daily check-in rewards at startup and on an open tab at a random interval after reward reset. As long as you leave a tab with the page in the on startup and in the background, it will be collected.

目前为 2021-07-02 提交的版本。查看 最新版本

作者
NoxPi
评分
0 0 0
版本
1.2
创建于
2021-06-15
更新于
2021-07-02
大小
3.8 KB
许可证
暂无
适用于

Genshin Impact daily check-in rewards

Leave a tab open with the Genshin Impact daily check-in rewards page and this script will collect them for you in the following scenarios:

  • When you start up your browser or visit the webpage
  • If you leave a tab open in the background and the reward refresh timer passes + a few random minutes. The page will be refreshed, re-running the script from the beginning.

Tested in Chrome-based browsers and uses somewhat "modern" functions here and there. No attempts at supporting legacy browsers have been made. Use at your own risk.

First piece of Javascript code I've written. Could probably be written more efficiently and the problem otherwise solved more elegantly. Publish your version if you have a better solution :D

License

CC BY 4.0

Disclaimer

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元