f47dc6b9de
* WebView based cloudflare interceptor ported https://github.com/vvanglro/cf-clearance to kotlin * code clean up * Forgot to commit these * Get ResolveWithWebView working 1. Make sure to .use all closeable resources 2. Use 10 seconds instead of 1 second for waiting for cloudflare(this was the most probable issue) 3. Use Extension UA when possible 4. Minor cleanup of logging * rewrite and refactor Co-authored-by: Syer10 <syer10@users.noreply.github.com>
6 lines
95 B
JavaScript
6 lines
95 B
JavaScript
Object.defineProperty(Navigator.prototype, 'webdriver', {
|
|
get() {
|
|
return false;
|
|
},
|
|
});
|