]> zoso.dev Git - nano-pow.git/commitdiff
At just 2.8 KiB, the Terms page is the most lightweight chrome:// URL, so use it...
authorChris Duncan <chris@zoso.dev>
Thu, 13 Mar 2025 16:31:26 +0000 (09:31 -0700)
committerChris Duncan <chris@zoso.dev>
Thu, 13 Mar 2025 16:31:26 +0000 (09:31 -0700)
cli.js

diff --git a/cli.js b/cli.js
index b7b8431ba1ba115eea217cca50098ac7b68d326a..d066556246587a9035adf7c4961c984f6540451a 100755 (executable)
--- 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') {