mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader
synced 2025-08-06 08:36:02 +08:00
fix: tricks applied by puppeteer-extra-plugin-stealth
This commit is contained in:
parent
1f4620deef
commit
4400bef95b
@ -221,8 +221,14 @@ const MUTATION_IDLE_WATCH = `
|
||||
})();
|
||||
`;
|
||||
|
||||
const DONT_MESS_WITH_THE_FUNDAMENTALS = `
|
||||
delete Function.prototype.toString;
|
||||
delete Function.prototype.bind.apply;
|
||||
delete Function.prototype.bind.call;
|
||||
`;
|
||||
|
||||
const SCRIPT_TO_INJECT_INTO_FRAME = `
|
||||
${DONT_MESS_WITH_THE_FUNDAMENTALS}
|
||||
${READABILITY_JS}
|
||||
${SIMULATE_SCROLL}
|
||||
${MUTATION_IDLE_WATCH}
|
||||
|
Loading…
x
Reference in New Issue
Block a user