Chrome plugin

Important

Please update this plugin to version 0.2.0 or later. Versions below 0.2.0 are subject to CVE-2026-47252, an AppleScript code injection vulnerability in the tabs table. Run anyquery install chrome (or anyquery plugin update chrome) to upgrade.

Query and modify tabs of a Chromium based browser.

Installation

anyquery install chrome

Usage

-- List all tabs
SELECT * FROM chrome_tabs;
-- Close tabs with a specific URL
DELETE FROM chrome_tabs WHERE url='https://gut-cli.dev/';
-- Update the url of a tab
UPDATE chrome_tabs SET url='https://hn-recommend.julienc.me' WHERE url = 'https://julienc.me';
-- Open a new tab
INSERT INTO chrome_tabs (url) VALUES ('https://julienc.me');

Schema

Column index Column name type
0 id INTEGER
1 title TEXT
2 url TEXT
3 window_name TEXT
4 window_id INTEGER
5 active INTEGER
6 loading INTEGER

Caveats