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)
|
||||
}
|
||||
4
node_modules/puppeteer-extra-plugin-stealth/evasions/_template/package.json
generated
vendored
Normal file
4
node_modules/puppeteer-extra-plugin-stealth/evasions/_template/package.json
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"private": true,
|
||||
"main": "index.js"
|
||||
}
|
||||
19
node_modules/puppeteer-extra-plugin-stealth/evasions/_template/readme.md
generated
vendored
Normal file
19
node_modules/puppeteer-extra-plugin-stealth/evasions/_template/readme.md
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
## API
|
||||
|
||||
<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
|
||||
|
||||
#### Table of Contents
|
||||
|
||||
- [class: Plugin](#class-plugin)
|
||||
|
||||
### class: [Plugin](https://github.com/berstend/puppeteer-extra/blob/e6133619b051febed630ada35241664eba59b9fa/packages/puppeteer-extra-plugin-stealth/evasions/_template/index.js#L10-L24)
|
||||
|
||||
- `opts` (optional, default `{}`)
|
||||
|
||||
**Extends: PuppeteerExtraPlugin**
|
||||
|
||||
Minimal stealth plugin template, not being used. :-)
|
||||
|
||||
Feel free to copy this folder as the basis for additional detection evasion plugins.
|
||||
|
||||
---
|
||||
Reference in New Issue
Block a user