Initial settings when installing the extension via a package
When installing the extension via a package, it is possible to set the initial parameters for the extension. To do this, you need to extract files from the package, edit the defaultSettings.json file and then add to archive.
Description of the settings file defaultSettings.json
The setting file looks like this:
{
"isEnabled": true,
"clientKey": "",
"captchaList": [
"ReCaptcha2",
"ReCaptcha3",
"ReCaptchaEnterprise",
"HCaptcha",
"GeeTest",
"ImageToText",
"Turnstile"
],
"captchaExtra": {
"ReCaptcha2": 1,
"HCaptcha": 1,
},
"repeatsCount": 0,
"isEnabledIgnoreList": false,
"ignoreList": [],
"proxy": {
"isEnabled": false,
"type": "http",
"address": "",
"port": 3128,
"login": "",
"password": ""
},
"manualResolving": false
}
Key | Type | Description |
---|---|---|
isEnabled | Boolean | Is the extension is enabled by default or not |
clientKey | String | API key |
captchaList | Array<String> | List of captchas that are enabled (by default, all captchas are enabled) |
captchaExtra | Object<{[String]: 1 | 0}> | List of captchas that can be solved by clicks (Token - 0, Click - 1) |
repeatsCount | Number | Number of repeated solutions after an error |
isEnabledIgnoreList | Boolean | Whether the blacklist of sites specified in the ignoreList field is enabled |
ignoreList | Array<String> | List of sites to ignore the decision |
proxy | Object | Proxy settings |
manualResolving | Boolean | Is manual recognition enabled |
delayStartCount | Array<{[CaptchaType]: Number}> | Delay before solving captcha |
autoClick | Array<{[CaptchaType]: Boolean}> | Is the ability to automatically start captcha solving enabled |
autoSolve | Array<{[CaptchaType]: Boolean}> | Is the ability to automatically solve the captcha window enabled |
textCaptchaSaveOnSite | Boolean | Whether to save the selected elements on the site for text captcha |
delayAfterLoadPage | Number | Delay before starting to solve a text captcha, if it was saved for the site |
recaptchaClickSelector | String | DOM Element selector to click when starting a Recaptcha solving |
hCaptchaClickSelector | String | DOM Element selector to click when starting a hCaptcha solving |
globalVariable | String | Name of the field for interaction with the extension via a global object |