I noticed that this project doesn't have a checked box next to puppeteer-extra-stealth, and some time ago I found a way to detect it via JavaScript:
function detectHeadless() {
const iframe = document.createElement('iframe');
iframe.srcdoc = '';
return iframe.__lookupGetter__('contentWindow').toString().includes('proxy');
}
I'm not really able to implement this into brotector myself, but someone with experience should be able to do so pretty quickly I imagine. That would make cdp-patches the only undetectable browser from what I can see.
I noticed that this project doesn't have a checked box next to
puppeteer-extra-stealth, and some time ago I found a way to detect it via JavaScript:I'm not really able to implement this into brotector myself, but someone with experience should be able to do so pretty quickly I imagine. That would make
cdp-patchesthe only undetectable browser from what I can see.