l-switch Firefox

l-switch

提供元: bingrulin Add-on
Proxy localhost API calls to production or staging with JSON rules. Supports CHIPS(partitioned cookies): reads partition-scoped cookies and injects them on redirect so local dev can authenticate against real backends—no companion extension on Firefox

特徴と機能

l-switch is the Firefox client for pm-switch: a developer tool for running local front-end code against real production or staging APIs.

Modern browsers enforce CHIPS (Cookies Having Independent Partitioned State). After CHIPS, whether a cookie is sent depends not only on Domain and SameSite, but also on the cookie’s partition (the top-level site context). A simple in-browser redirect from localhost to an online host is often not enough—partitioned cookies may not ride along automatically.

l-switch handles that for you: when a proxy rule matches, it reads partitioned cookies for the target site and injects them (and related headers such as CSRF tokens) into the proxied request, so your local app can still call authenticated online backends.

Key features

  • CHIPS / partitioned cookie support — Uses cookies API with partition awareness and injects the right cookies on redirected traffic (see getPartitionCookie in the extension).
  • URL proxy rulessrctgt matching (string or regex).
  • Header helpers — Referer, Origin, optional headersToAdd / headersToDel, and cors host lists for cross-origin scripts after redirect.
  • JSON configuration — Edit rules in the popup; toggle the toolbar switch to enable or disable.
On Firefox, proxy + cookie injection runs in one extension (async webRequest blocking). On Chrome, the same workflow still uses m-switch + p-switch; Firefox users only need l-switch.

Who it is for

Front-end and full-stack developers who:

  • Develop on localhost (or another local origin) but need live backend responses
  • Rely on partitioned (CHIPS) cookies for login/session on the target domain
  • Want the xswitch / pm-switch workflow without manually copying cookies
Quick start
  1. Open the popup and edit JSON (proxy, optional cors).
  2. Turn the extension on.
  3. Reload your app; use credentials: "include" on fetches when cookies are required.
Example:
{
  "proxy": [
    {
      "src": "http://127.0.0.1:7001/(.*)\.json",
      "tgt": "<a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/b6a74d1010abdeb5d19016e88f4b5316c2d5222ff5561ef932d18ac93a03bb12/https%3A//example.com/%241.json" rel="nofollow">https://example.com/$1.json</a>",
      "headersToAdd": [
        {
          "headerName": "X-Xsrf-Token",
          "fromCookieName": "XSRF-TOKEN"
        }
      ]
    }
  ],
  "cors": ["<a href="https://prod.outgoing.prod.webservices.mozgcp.net/v1/2141eac2eacda036b00afc30fd0a7e6f24e9bddf402cf4393fe5144f468147e8/http%3A//example.com" rel="nofollow">example.com</a>"]
}

ユーザー成長とダウンロード統計

Manifest V2 Add-on
提供元:
bingrulin
日間ユーザー:
1
バージョン:
1.0.22 最終更新日: 2026-05-28
バージョンコード:
6276631
作成日:
2026-05-25
リスク:
High risk impact High risk likelihood
権限:
サイズ:
1.13MB
メールアドレス:
bi*****@outlook.com
詳細説明:
詳細な説明を見る
ソース:
Firefoxアドオンストア
データ取得日:
2026-07-27
統計とランキングを比較:

開発者に問い合わせる

Chrome-Stats はこの Firefoxアドオン を所有していません。以下の情報を使用して、Firefoxアドオン 開発者にお問い合わせください。
開発元:
bingrulin
Firefoxアドオンストア
https://addons.mozilla.org/firefox/addon/l-switch/
電子メール:
bi*****@outlook.com

l-switchは安全ですか?

リスク影響度
リスク影響度は、拡張機能がアクセスできる追加の権限のレベルを測定します。低リスク影響度の拡張機能は多くの害を及ぼすことができませんが、高リスク影響度の拡張機能はパスワードの盗難、セキュリティ設定の回避、個人データへのアクセスなど、多くの被害を与える可能性があります。高リスク影響度の拡張機能は必ずしも悪意があるわけではありません。しかし、悪意を持つようになると、非常に有害になる可能性があります。

l-switchはブラウザとデータのセキュリティに影響を与える可能性のある機密権限をいくつか必要とします。インストール前に注意してください。

リスク影響度分析の詳細
  • Critical Grants access to browser tabs, which can be used to track user browsing habits and history, presenting a privacy concern.
  • Critical ****** ****** ** *** ********* ****** * *********** ******** **** ** ** *** ******* *** ****** **** **** *** ******* *****
  • High ****** *** ********* ** ******* *** ******* ******* ** ****** *** *** ******** ******
リスク可能性
リスク可能性は、Firefoxアドオンが悪意を持つ可能性を測定します。これは、Firefoxアドオンストアにおける発行者とFirefoxアドオンの評判、Firefoxアドオンが存在している期間、およびFirefoxアドオンに関する他のシグナルによって決定されます。私たちのアルゴリズムは完璧ではなく、悪意のある拡張機能を検出する新しい方法を発見するにつれて変更される可能性があります。Firefoxアドオンをインストールする際には常に注意することをお勧めします。

l-switchは最近追加されたばかりで、リスクレベルを正確に評価するのに十分なデータを収集するほど長く存在していません。

リスク可能性分析の詳細
  • High This extension has low user count. Unpopular extensions may not be stable or safe.
  • Medium **** ********* *** ******* ** *** **** * ******* *** ******* *** *** ** ****** ** *****
  • Medium **** ********* *** ***** ** *** **** * ******* *** ********** *** *** ** ****** ** *****
Extension Guard
エクステンションガード

Extension Guardで使用中のすべての拡張機能を発見し、リスクを分析し、ブロックポリシーを適用します

ブラウザを安全にしましょう
完全なリスク分析の詳細を見るにはアップグレードしてください

ベストのl-switch代替案

l-switchに類似したFirefox add-onをいくつか紹介します: