AlexKalinin / request-x

A web extension to block or modify requests.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request X

Request X

This is a web extension to block or redirect undesired requests.

Supported browsers:

  • Chrome
  • Brave
  • Edge
  • Firefox (not officially released)
  • Kiwi Browser (not all features)
  • Other Chromium-based browsers

Installation

Features

  • Block requests by methods and URL patterns
  • Maintainable lists
  • Easy to share your lists with others
  • Redirect requests
  • Modify headers
  • Modify cookie properties like SameSite

Use cases

  • Debug APIs but avoid unexpected mutations
  • Block unwanted contents in an extremely flexible way
  • Set authorization header to avoid inputing username/password again and again
  • Set CORS header to allow certain cross-site requests without server changes
  • Change SameSite for old services to work on latest browsers
  • ...

Click and Subscribe

Click on URLs with a magic hash #:request-x: to subscribe it:

<a href="https://example.com/path/to/rules.json#:request-x:">Subscribe</a>

Set subscription type as search params within the magic hash:

<a href="https://example.com/path/to/rules.json#:request-x:?type=request">Subscribe My List</a>

Here is an example: Subscribe

Screenshots

About

A web extension to block or modify requests.

License:MIT License


Languages

Language:Vue 46.7%Language:TypeScript 39.9%Language:CSS 7.1%Language:JavaScript 6.2%Language:Shell 0.1%