From f6c07ebcebf5fc3bc6751a0ef8524fe7923f5387 Mon Sep 17 00:00:00 2001 From: Xmader Date: Sun, 8 Mar 2020 18:10:10 -0400 Subject: [PATCH] v0.6.2 - make recaptcha work in China --- dist/main.js | 4 ++-- package.json | 2 +- src/recaptcha.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/main.js b/dist/main.js index 555c149..4fc9e8e 100644 --- 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 index 8519d52..372d01d 100644 --- 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 index b110495..76b7cc7 100644 --- a/src/recaptcha.ts +++ b/src/recaptcha.ts @@ -18,7 +18,7 @@ let gr: GRecaptcha | Promise const load = (): Promise => { // 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)