: As the remote server sends back raw HTML, JS, and CSS data, Scramjet’s WebAssembly engine parses the code. It rewrites every hardcoded hyperlink, script source, and Cross-Origin Resource Sharing (CORS) policy attribute on the fly.
For users, Scramjet is typically accessed through a "proxy site" (like Scramjet-App ) rather than a standalone browser download.
Instead of hardcoding a rigid script that clicks button A and copies text B, a Scramjet browser pipeline can ingest an incoming stream of commands, URLs, or target parameters. This input stream can be fed from an API webhook, a message queue (like Kafka or RabbitMQ), or a database trigger. 2. The Execution Engine (Scramjet Transform Sequences) scramjet browser work
| Feature | Standard Browser (Chrome) | Scramjet Browser | | :--- | :--- | :--- | | | HTML Document | Data Stream | | Memory Model | DOM Tree (Garbage Collected) | Circular Buffer (Fixed Memory) | | Concurrency | Single-threaded event loop | Multi-threaded stream runners | | Backpressure | No (risk of page crash) | Yes (flow control) | | Output Destination | Screen pixels | File, API, Console, Database | | Typical Use Case | Web surfing, web apps | Data engineering, scraping, monitoring |
When content is returned from a site (e.g., HTML, CSS, JavaScript), the proxy does not just pass it through; it actively changes it. : As the remote server sends back raw
A standard browser (Chrome, Firefox) fetches content directly from the origin server, making it easy for network firewalls to block the request. acts as an intermediary, or "middleware":
If you are interested in exploring or deploying this technology, you can view the open-source codebase on the Mercury Workshop GitHub Repository. Share public link Instead of hardcoding a rigid script that clicks
This article delves into both interpretations, providing a long-form technical exploration of how each "Scramjet browser" works, their architectures, use cases, and how they stack up against traditional web technologies.
is a high-performance, interception-based web proxy designed by Mercury Workshop to bypass internet censorship and enterprise-level web filters . Unlike simple VPNs or standard proxies that route traffic through a remote server, Scramjet operates directly within the browser using modern web APIs to "rewrite" the internet in real-time.
Wait—does Scramjet have a DOM at all? Yes, but only as an optional output . If you need to extract data from a standard website (not an API), Scramjet spins up a lightweight headless instance (Puppeteer integration). However, instead of rendering visuals, it serializes the DOM into a stream of Node objects, allowing you to .map() over HTML elements as if they were JSON.