Skip to content

Commit

Permalink
fix: add extension button when challenge assets are loaded from recap…
Browse files Browse the repository at this point in the history
…tcha.net

Closes #194.
  • Loading branch information
dessant committed Jun 12, 2020
1 parent ef7514e commit afbde57
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/background/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ function addBackgroundRequestLitener() {
) {
const urls = [
'https://www.google.com/*',
'https://www.recaptcha.net/*',
'https://api.wit.ai/*',
'https://speech.googleapis.com/*',
'https://*.speech-to-text.watson.cloud.ibm.com/*',
Expand Down
5 changes: 4 additions & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@

"content_scripts": [
{
"matches": ["https://www.google.com/recaptcha/api2/bframe*"],
"matches": [
"https://www.google.com/recaptcha/api2/bframe*",
"https://www.recaptcha.net/recaptcha/api2/bframe*"
],
"all_frames": true,
"run_at": "document_idle",
"css": ["src/solve/style.css"],
Expand Down

0 comments on commit afbde57

Please sign in to comment.