Rename to hkt.sh
This commit is contained in:
18
node_modules/puppeteer-extra-plugin-stealth/evasions/navigator.plugins/plugins.js
generated
vendored
Normal file
18
node_modules/puppeteer-extra-plugin-stealth/evasions/navigator.plugins/plugins.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
/* global Plugin PluginArray */
|
||||
|
||||
/**
|
||||
* Generate a convincing and functional PluginArray (with plugins) from scratch.
|
||||
*
|
||||
* Note: This is meant to be run in the context of the page.
|
||||
*
|
||||
* @see https://developer.mozilla.org/en-US/docs/Web/API/NavigatorPlugins/plugins
|
||||
* @see https://developer.mozilla.org/en-US/docs/Web/API/PluginArray
|
||||
*/
|
||||
module.exports.generatePluginArray = (utils, fns) => pluginsData => {
|
||||
return fns.generateMagicArray(utils, fns)(
|
||||
pluginsData,
|
||||
PluginArray.prototype,
|
||||
Plugin.prototype,
|
||||
'name'
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user