Skip to main content

v9: two new rules, a faster editor, and Data X-Ray (beta)

ยท 3 min read
Daniel Caldas
Co-founder

Four things shipped in v9.0.0. On their own, each one saves you a few clicks. Put together, they change how a debugging session actually feels: fewer detours, less waiting, more of your attention staying on the problem in front of you.

1. Rewrite headers without touching the bodyโ€‹

A dedicated Headers only rule type. Set, append, or remove request and response headers, on any tab or globally, without a mock response getting in the way. Flip a feature flag via a cookie, force a Cache-Control off, spoof X-Powered-By, all from one focused rule.

A headers only rule setting, appending and removing response headers

2. Redirect anything, not just API callsโ€‹

This one's been requested for a while: Redirect rules now catch images, stylesheets, scripts, whatever you point them at, not only XHR/fetch. Swap a CDN asset for a local file, send a whole API to localhost, or regex your way from v1 to v2 with a capture group.

A redirect rule sending an API call to a local server

3. A lighter, faster editor that follows you aroundโ€‹

The rule editor got a rebuild: snappier to open, snappier to type in. And it no longer has to live docked in DevTools. Pop it into a floating window from the menu and keep it on screen while you work anywhere else in the browser.

The menu showing the option to open tweak in a floating window

tweak running in a floating window, detached from DevTools, next to the page it's inspecting

4. The fastest way to discover your application data (Beta)โ€‹

Crop-select any part of a page and Data X-Ray matches what you're looking at against the requests that produced it, badges every matching element, and lets you open, edit and import the payload as a tweak rule without leaving the page or digging through the Network panel.

Data X-Ray: crop-select a page region, get badges on every matched element, and pop payloads into editable side-by-side JSON editors

Try itโ€‹

Two new rule types, a faster editor, and a first look at Data X-Ray: that's the bet behind v9.0.0. Update your extension and give it a try.

On Tweak Premium? All of this is unrestricted and already live in your extension, nothing to activate.

See what's new in v9.0.0