1.0.4 • Published 4 years ago

lighthouse-plugin-has-captcha-on-page-load v1.0.4

Weekly downloads
5
License
ISC
Repository
-
Last release
4 years ago

lighthouse-plugin-has-captcha-on-page-load

This is a plugin for Google Lighthouse. The plugin's sole purpose is to identify captcha scripts found on page load.

Motivation

To identify whether certain web pages have captcha scripts which interfere with Lighthouse performance audits. Doing automated Lighthouse testing on a sample of websites I noticed some sites had suspiciously high scores. I tested the suspicious sites with Lighthouse manually and observed a Captcha page was being loaded instead of the actual content for the url given. I suspect this may be due to running Chrome in incognito mode while testing but have not confirmed. Repo

Install

Requires Node.js 10+ and Lighthouse 5+.

$ npm install lighthouse-plugin-has-captcha-on-page-load

Usage

Use the plugin with Lighthouse CLI or Node.js.

CLI

Pass plugin to Lighthouse:

$ lighthouse https://www.github.com/ --plugins=lighthouse-plugin-has-captcha-on-page-load

Node.js

const { lighthouse } = require('lighthouse');

lighthouse('https://www.github.com', {
	plugins: ['lighthouse-plugin-has-captcha-on-page-load']
}).then(result => {
	console.log(result);
});
1.0.4

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.3

4 years ago

1.0.0

4 years ago