Skip to content

Instantly share code, notes, and snippets.

Kayce Basques kaycebasques

Block or report user

Report or block kaycebasques

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View bhaskar.lighthouse.report.json
{"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3357.0 Safari/537.36","lighthouseVersion":"2.8.0","generatedTime":"2018-03-01T17:13:42.981Z","initialUrl":"https://www.bhaskar.com/","url":"https://m.bhaskar.com/","runWarnings":[],"audits":{"is-on-https":{"score":true,"displayValue":"","rawValue":true,"extendedInfo":{"value":[]},"scoringMode":"binary","name":"is-on-https","description":"Uses HTTPS","helpText":"All sites should be protected with HTTPS, even ones that don't handle sensitive data. HTTPS prevents intruders from tampering with or passively listening in on the communications between your app and your users, and is a prerequisite for HTTP/2 and many new web platform APIs. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/https).","details":{"type":"list","header":{"type":"text","text":"Insecure URLs:"},"items":[]}},"redirects-http":{"score":true,"displayValue":"","rawValue":true,"scoringMode":"binary","name":"redirec
@kaycebasques
kaycebasques / headful
Created Jan 18, 2018
headful puppeteer
View headful
const puppeteer = require('puppeteer');
(async () => {
const browser = await puppeteer.launch({ headless: false });
const page = await browser.newPage();
const client = await page.target().createCDPSession();
await client.send('Network.setBlockedUrls', {
urls: [ 'example.com' ]
});
await page.goto('https://google.com');
You can’t perform that action at this time.