A specialized HTTP proxy tool designed to make modern, heavy web applications (like Weibo) workable on legacy browsers (specifically Chrome 68).
Modern websites heavily rely on ES2020+ features like Optional Chaining (?.) and Nullish Coalescing (??).
Legacy browsers (e.g., Chrome 68, released in 2018) throw SyntaxError when parsing these tokens, causing white screens or broken functionality.
Updating the browser isn't always an option in certain restricted environments.
This project uses AnyProxy to intercept HTTP responses and Babel to transpile JavaScript code in real-time before it reaches the browser.
It features:
- Targeted Interception: Only transpiles specific JS files (whitelist mode) to ensure performance.
- SRI Stripping: Automatically removes Subresource Integrity checks from HTML to allow modified JS execution.
- Memory Caching: Caches transpiled code to prevent CPU bottlenecks on subsequent requests.
- Strict Whitelisting: Passes through binary streams (images, logs) without buffering to prevent hanging.
- Node.js (v14+)
- Google Chrome 68 (or any browser older than Chrome 80)
-
Clone the repo:
git clone [https://github.com/your-username/chrome68-resurrection.git](https://github.com/your-username/chrome68-resurrection.git) cd chrome68-resurrection -
Install dependencies:
npm install
-
Generate CA certificate for HTTPS interception:
npx anyproxy-ca
Trust the generated root CA in your OS/Browser certificate store.
-
Start the proxy server:
npx anyproxy --rule ./proxy_rule.js --intercept
-
Configure your browser proxy:
- IP: 127.0.0.1
- Port: 8001 (HTTP & HTTPS)
-
Surf the web like it's 2026!
This tool is for educational and debugging purposes only. It performs "Man-in-the-Middle" decryption of HTTPS traffic locally. Do not use this in untrusted networks.