Greasy Fork

Greasy Fork is available in English.

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 midnight. 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 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

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

Genshin Impact daily check-in rewards

Contains a bug: The first day of a month has to be collected manually. I will fix the bug when I got the time. In the meantime, please manually collect the first day of the month.

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.