Skip to content

Commit

Permalink
captcha_removed
Browse files Browse the repository at this point in the history
  • Loading branch information
ishandutta2007 committed Jan 31, 2024
1 parent 690b89e commit ce9a87b
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 41 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 25 additions & 24 deletions src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,29 +51,30 @@
"js": ["content-script.js"],
"css": ["content-script.css"]
}
],
"web_accessible_resources": [
{
"resources": ["/js/v2/35536E1E-65B4-4D96-9D97-6ADB7EFF8147/api.js"],
"matches": ["<all_urls>"]
},
{
"resources": ["/js/setuparkose.js"],
"matches": ["<all_urls>"]
},
{
"resources": ["/js/callgeneratearkose.js"],
"matches": ["<all_urls>"]
},
{
"matches": [
"https://chat.openai.com/*",
"https://google.com/*"
],
"resources": [
"content-script/*",
"js/v2/*"
]
}
]
// TODO : deliberately failing dynamic file loads to avoid captcha (https://stackoverflow.com/a/63620236/865220)
// "web_accessible_resources": [
// {
// "resources": ["/js/v2/35536E1E-65B4-4D96-9D97-6ADB7EFF8147/api.js"],
// "matches": ["<all_urls>"]
// },
// {
// "resources": ["/js/setuparkose.js"],
// "matches": ["<all_urls>"]
// },
// {
// "resources": ["/js/callgeneratearkose.js"],
// "matches": ["<all_urls>"]
// },
// {
// "matches": [
// "https://chat.openai.com/*",
// "https://google.com/*"
// ],
// "resources": [
// "content-script/*",
// "js/v2/*"
// ]
// }
// ]
}
20 changes: 6 additions & 14 deletions src/manifest.v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,11 @@
"js": ["content-script.js"],
"css": ["content-script.css"]
}
],
"web_accessible_resources": [
{
"resources": ["/js/v2/35536E1E-65B4-4D96-9D97-6ADB7EFF8147/api.js"],
"matches": ["<all_urls>"]
},
{
"resources": ["/js/setuparkose.js"],
"matches": ["<all_urls>"]
},
{
"resources": ["/js/callgeneratearkose.js"],
"matches": ["<all_urls>"]
}
]
// TODO : deliberately failing dynamic file loads to avoid captcha (https://stackoverflow.com/a/63620236/865220)
// "web_accessible_resources": [
// "/js/v2/35536E1E-65B4-4D96-9D97-6ADB7EFF8147/api.js",
// "/js/setuparkose.js",
// "/js/callgeneratearkose.js"
// ]
}

0 comments on commit ce9a87b

Please sign in to comment.