musescore-downloader

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit f6c07ebcebf5fc3bc6751a0ef8524fe7923f5387
parent 1bb2a0683d2019a019276debc3ff02edc76935a2
Author: Xmader <xmader@outlook.com>
Date:   Sun,  8 Mar 2020 18:10:10 -0400

v0.6.2 - make recaptcha work in China

Diffstat:
Mdist/main.js | 4++--
Mpackage.json | 2+-
Msrc/recaptcha.ts | 2+-
3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dist/main.js b/dist/main.js @@ -3,7 +3,7 @@ // @namespace https://www.xmader.com/ // @homepageURL https://github.com/Xmader/musescore-downloader/ // @supportURL https://github.com/Xmader/musescore-downloader/issues -// @version 0.6.1 +// @version 0.6.2 // @description download sheet music from musescore.com for free, no login or Musescore Pro required | 免登录、免 Musescore Pro,免费下载 musescore.com 上的曲谱 // @author Xmader // @match https://musescore.com/*/* @@ -50,7 +50,7 @@ const load = () => { // load script const script = document.createElement("script"); - script.src = `https://www.google.com/recaptcha/api.js?render=${SITE_KEY}`; + script.src = `https://www.recaptcha.net/recaptcha/api.js?render=${SITE_KEY}`; script.async = true; document.body.appendChild(script); // add css diff --git a/package.json b/package.json @@ -1,6 +1,6 @@ { "name": "musescore-downloader", - "version": "0.6.1", + "version": "0.6.2", "description": "download sheet music from musescore.com for free, no login or Musescore Pro required | 免登录、免 Musescore Pro,免费下载 musescore.com 上的曲谱", "main": "dist/main.js", "repository": { diff --git a/src/recaptcha.ts b/src/recaptcha.ts @@ -18,7 +18,7 @@ let gr: GRecaptcha | Promise<GRecaptcha> const load = (): Promise<GRecaptcha> => { // load script const script = document.createElement("script") - script.src = `https://www.google.com/recaptcha/api.js?render=${SITE_KEY}` + script.src = `https://www.recaptcha.net/recaptcha/api.js?render=${SITE_KEY}` script.async = true document.body.appendChild(script)