MeiK2333 / pyppeteer_stealth

MIT License
245 stars 53 forks source link

navigator overrides showing in navigator.prototype object #16

Closed mcolella14 closed 3 years ago

mcolella14 commented 3 years ago

Just noticed this when testing with https://bot.sannysoft.com/, but I see that the code we use to override some of the navigator properties show up in the navigatorPrototype section. I also noticed that this is not the case with puppeteer-extra-plugin-stealth. Here are some screenshots showing what I mean.

Pyppeteer Screenshot pypp_navigator

Puppeteer Screenshot pupp_navigator

Not sure why this is happening, but it seems worth looking into, since a site could theoretically tell that we are overriding these values, which may be a red flag.

mcolella14 commented 3 years ago

This was mentioned in a puppeteer-stealth issue here. Looks like it's still a work in progress.