Initial commit

This commit is contained in:
Joe
2026-06-26 14:12:10 +02:00
commit 12518b259c
5258 changed files with 732924 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
'use strict'
const puppeteer = require('puppeteer-extra')
puppeteer.use(require('puppeteer-extra-plugin-stealth')())
const detectHeadless = require('./detect-headless')
;(async () => {
const browser = await puppeteer.launch({ args: ['--no-sandbox'] })
const page = await browser.newPage()
page.on('console', msg => {
console.log('Page console: ', msg.text())
})
await page.goto('about:blank')
const detectionResults = await page.evaluate(detectHeadless)
console.assert(
Object.keys(detectionResults).length,
'No detection results returned.'
)
await browser.close()
})()