Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of FetchGate

FetchGate by simddev

Bridge an external process to a live browser tab — run authenticated fetch() calls or arbitrary JavaScript inside the tab, inheriting its full session state.

0 (0 reviews)0 (0 reviews)
Download Firefox and get the extension
Download file

Extension Metadata

About this extension
FetchGate bridges an external process — a script, a terminal command, any program — to a live, logged-in browser tab. It lets your code make HTTP requests or run JavaScript inside the tab, inheriting the tab's full session state. No login tokens to harvest, no cookie jars to maintain, no fighting anti-bot measures.

Two modes:

• Fetch mode — your script sends a JSON request (method, url, optional headers); FetchGate executes fetch() inside the tab and returns the raw response (status, headers, body). Requests are authenticated automatically because they originate from the tab itself.

• JS mode — your script sends arbitrary JavaScript; FetchGate runs it in the tab's context and returns the result. Access document, call any page API, read any in-memory state.

Three ready-to-use hosts — no coding required:

All three hosts are available on the GitHub repository (https://github.com/simddev/FetchGate). Pick one and follow INSTALL.md — no writing your own host needed.

• Java TCP host — a persistent server on localhost:9919. Any language can connect with newline-delimited JSON. Stays running for your whole session.
• Python TCP host — identical TCP interface, no Java required. Same callers work unchanged.
• Python embedded host — your Python script is the native host. Firefox launches it directly; no TCP port needed.

Why these permissions?

• "Exchange messages with programs other than Firefox" (nativeMessaging) — how the extension talks to whichever host you install.
• "Access browser tabs" (tabs) — to track which tab is armed and route messages to it.
• "Access your data for all websites" — the content script must be injectable into any site you want to use.

Platform: GNU/Linux. Tested on Firefox and LibreWolf.

Open source: https://github.com/simddev/FetchGate
Rated 0 by 0 reviewers
Sign in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and data

Required permissions:

  • Exchange messages with programs other than Firefox
  • Access browser tabs
  • Access your data for all websites

Data collection:

  • The developer says this extension doesn't require data collection.
Learn more
More information
Add-on Links
  • Copy add-on ID
Version
0.1.5
Size
12.61 KB
Last updated
34 minutes ago (May 17, 2026)
Related Categories
  • Web Development
License
GNU General Public License v3.0 only
Version History
  • See all versions
Add to collection
Report this add-on
Go to Mozilla’s homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.