From a2e9347441ab6e8a9971369905db7eb7e6b56dbe Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Thu, 13 Mar 2025 09:31:26 -0700 Subject: [PATCH] At just 2.8 KiB, the Terms page is the most lightweight chrome:// URL, so use it for CLI instead of chrome://newtab which is over 25 times larger at 74.0 KiB. --- cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli.js b/cli.js index b7b8431..d066556 100755 --- a/cli.js +++ b/cli.js @@ -96,7 +96,7 @@ if (options['debug']) console.log(`${fn} options`, JSON.stringify(options)) }) const page = await browser.newPage() await page.setBypassCSP(true) - await page.goto('chrome://newtab') + await page.goto('chrome://terms') page.on('console', async (msg) => { const output = msg.text().split(' ') if (output[0] === 'cli') { -- 2.34.1