Saved browser rules
Persistent changes across matching pages
- ✓ Headers, redirects, and blocking
- ✓ Response mocks, delays and failures
- ✓ Match by site, URL, method and resource type
- ✓ Pause a scenario with its group switch
Wireflip lets you delay API requests in Chrome and Firefox. Try a timeout on a sample project list, then bring the data back with one click.
Try the timeout demoRuns in your browser. No installation needed for the preview.
With a 3.5-second delay
Projects time out at 1.5 seconds
After restoring
The project list loads again
Save a rule for repeatable tests, or try a temporary change on the page you have open.
Persistent changes across matching pages
Try a change and reset it from the toolbar
The open-source SDK connects a web app to the locally installed extension. Every request is bound to the real top-level page origin, and CORS changes require user consent.
import { intercept } from 'wireflip';
const button = document.createElement('button');
const status = document.createElement('output');
document.body.append(button, status);
async function connect() {
button.disabled = true;
button.textContent = 'Connecting…';
try {
const session = await intercept.connect();
status.textContent = '';
button.textContent = 'Enable CORS';
button.onclick = async () => {
button.disabled = true;
try {
await session.requestCors({ reason: 'Preview staging data' });
status.textContent = 'CORS enabled for this site.';
} catch (error) {
status.textContent = error.type === 'user-cancel'
? 'Request cancelled.' : error.message;
} finally {
button.disabled = false;
}
};
} catch (error) {
status.textContent = error.type === 'not-installed'
? 'Install or enable Wireflip, reload this page, then retry.' : error.message;
button.textContent = 'Retry connection';
button.onclick = connect;
} finally {
button.disabled = false;
}
}
void connect();
Wireflip stores saved rules in your browser and keeps request logs in memory.
The name and product changed. Your existing setup does not disappear.
Existing CORS rules and settings are converted automatically.
A local copy of the v1 data remains available for recovery.
Old settings are not read or dual-written after migration.