Rename to hkt.sh
This commit is contained in:
28
node_modules/puppeteer-extra-plugin-stealth/evasions/_template/index.js
generated
vendored
Normal file
28
node_modules/puppeteer-extra-plugin-stealth/evasions/_template/index.js
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
'use strict'
|
||||
|
||||
const { PuppeteerExtraPlugin } = require('puppeteer-extra-plugin')
|
||||
|
||||
/**
|
||||
* Minimal stealth plugin template, not being used. :-)
|
||||
*
|
||||
* Feel free to copy this folder as the basis for additional detection evasion plugins.
|
||||
*/
|
||||
class Plugin extends PuppeteerExtraPlugin {
|
||||
constructor(opts = {}) {
|
||||
super(opts)
|
||||
}
|
||||
|
||||
get name() {
|
||||
return 'stealth/evasions/_template'
|
||||
}
|
||||
|
||||
async onPageCreated(page) {
|
||||
await page.evaluateOnNewDocument(() => {
|
||||
console.debug('hello world')
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = function(pluginConfig) {
|
||||
return new Plugin(pluginConfig)
|
||||
}
|
||||
Reference in New Issue
Block a user