fix: handle new reCAPTCHA host

Closes #290.
pull/321/head
dessant 3 years ago
parent 0bb08c8f60
commit 9d092c2c39

@ -143,10 +143,14 @@ async function setChallengeLocale() {
'https://www.google.com/recaptcha/api2/bframe*',
'https://www.recaptcha.net/recaptcha/api2/anchor*',
'https://www.recaptcha.net/recaptcha/api2/bframe*',
'https://recaptcha.net/recaptcha/api2/anchor*',
'https://recaptcha.net/recaptcha/api2/bframe*',
'https://www.google.com/recaptcha/enterprise/anchor*',
'https://www.google.com/recaptcha/enterprise/bframe*',
'https://www.recaptcha.net/recaptcha/enterprise/anchor*',
'https://www.recaptcha.net/recaptcha/enterprise/bframe*'
'https://www.recaptcha.net/recaptcha/enterprise/bframe*',
'https://recaptcha.net/recaptcha/enterprise/anchor*',
'https://recaptcha.net/recaptcha/enterprise/bframe*'
],
types: ['sub_frame']
},
@ -180,6 +184,7 @@ function addBackgroundRequestLitener() {
const urls = [
'https://www.google.com/*',
'https://www.recaptcha.net/*',
'https://recaptcha.net/*',
'https://api.wit.ai/*',
'https://speech.googleapis.com/*',
'https://*.speech-to-text.watson.cloud.ibm.com/*',

@ -45,8 +45,10 @@
"matches": [
"https://www.google.com/recaptcha/api2/bframe*",
"https://www.recaptcha.net/recaptcha/api2/bframe*",
"https://recaptcha.net/recaptcha/api2/bframe*",
"https://www.google.com/recaptcha/enterprise/bframe*",
"https://www.recaptcha.net/recaptcha/enterprise/bframe*"
"https://www.recaptcha.net/recaptcha/enterprise/bframe*",
"https://recaptcha.net/recaptcha/enterprise/bframe*"
],
"all_frames": true,
"run_at": "document_idle",

Loading…
Cancel
Save