Interceptor

Run web clients without backends by mocking HTTP requests
What is Interceptor?
Interceptor is a browser extension that lets front-end developers define their own responses for HTTP requests, allowing them to work without relying on a backend. It provides the ability to return mock data instead of data from the server, reducing the need to wait for backend changes during development.

Add-on stats

Users: 230 ▲ 2
Rating: 3.00 (6)
Version: 0.3.2resigned1 (Last updated: 2024-04-25)
Creation date: 2018-04-06
Weekly download count: 9
Firefox on Android: Yes
Risk impact: High risk impact
Risk likelihood: Moderate risk likelihood
Manifest version: 2
Permissions:
  • webRequest
  • tabs
  • webRequestBlocking
  • http://*/*
  • https://*/*
  • storage
  • webNavigation
Size: 326.21K
URLs: Website

Other platforms

Not available on Chrome
Not available on Edge
Want to check extension ranking and stats more quickly for other Firefox add-ons? Install Chrome-Stats extension to view Chrome-Stats data as you browse the Firefox Browser Add-ons.

Add-on summary

Run web clients without backends by mocking HTTP requests

During development, often times front-end devs have to wait for the back-end devs to offer an API to work on. Even after the API is given, if the front-end team wants a different set of data to work on, they again need to wait for the changes to be made and hosted. We, front-end developers resort to techniques like storing the data in a variable or using mock API’s.

To overcome this, we are working on a browser extension Interceptor, which lets you define your own response, and everytime the browser requests data from a particular URL, returns you with mock data instead of, from the server.

This blog post Interceptor : Your Own Mock Server inside the browser makes things much more clear.

Code: https://github.com/code-mancers/interceptor

Project change log: https://github.com/code-mancers/interceptor/blob/master/CHANGELOG.md Privacy Policy: https://github.com/code-mancers/interceptor/blob/master/Privacy-policy.md

Contributors : https://github.com/code-mancers/interceptor/graphs/contributors

User reviews

intercepts but does not auto respond to the request. What's the difference between the toggler and the "intercept" button ?
View all user reviews

Add-on safety

Risk impact

Interceptor requires some sensitive permissions that could impact your browser and data security. Exercise caution before installing.

Risk likelihood

Interceptor is probably trust-worthy. Prefer other publishers if available. Exercise caution when installing this add-on.

Upgrade to see risk analysis details