2.3.3 • Published 1 year ago

puppeteer-extra-plugin-flash v2.3.3

Weekly downloads
25
License
MIT
Repository
github
Last release
1 year ago

puppeteer-extra-plugin-flash

A plugin for puppeteer-extra.

Install

yarn add puppeteer-extra-plugin-flash

Changelog

v2.2.5

  • Improved: Fixes flash content in newer Chrome versions (76+) (#133, thanks @Niek)

API

Table of Contents

Plugin

Extends: PuppeteerExtraPlugin

Allow flash on all sites without user interaction.

Note: The flash plugin is not working in headless mode.

Note: When using the default Chromium browser pluginPath and pluginVersion must be specified (stated in chrome://version/).

Note: Unfortunately this doesn't seem to enable flash on incognito pages, see this gist for a workaround using management policies.

Type: function (opts)

  • opts Object Options (optional, default {})
    • opts.allowFlash boolean Whether to allow flash content or not (optional, default true)
    • opts.pluginPath boolean Flash plugin path (optional, default null)
    • opts.pluginVersion boolean Flash plugin version (9000 is high enough for Chrome not to complain) (optional, default 9000)

Example:

const puppeteer = require('puppeteer-extra')
puppeteer.use(require('puppeteer-extra-plugin-flash')())
;(async () => {
  const browser = await puppeteer.launch({ headless: false })
  const page = await browser.newPage()
  await page.goto('http://ultrasounds.com', { waitUntil: 'domcontentloaded' })
})()

2.3.3

1 year ago

2.3.2

2 years ago

2.3.1

2 years ago

2.3.0

3 years ago

2.2.10

3 years ago

2.2.9

3 years ago

2.2.8

4 years ago

2.2.7

4 years ago

2.2.6

4 years ago

2.2.5

4 years ago

2.2.4

4 years ago

2.2.3

4 years ago

2.2.1

4 years ago

2.2.2

4 years ago

2.1.6

4 years ago

2.1.5

4 years ago

2.1.3

5 years ago

2.1.2

5 years ago

2.1.1

6 years ago

2.0.10

6 years ago

2.0.7

6 years ago

2.0.6

6 years ago

2.0.5

6 years ago

2.0.4

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago