mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 14:30:02 -04:00
various cooking
This commit is contained in:
parent
3fb846036e
commit
408bf39ffd
11 changed files with 199 additions and 132 deletions
|
@ -1,3 +1,4 @@
|
|||
import { decodeUrl } from "../../shared/rewriters/url";
|
||||
import { BareClient } from "../shared";
|
||||
const client = new BareClient();
|
||||
|
||||
|
@ -9,6 +10,7 @@ WebSocket = new Proxy(WebSocket, {
|
|||
target,
|
||||
{
|
||||
"User-Agent": navigator.userAgent,
|
||||
"Origin": new URL(decodeUrl(location.href)).origin,
|
||||
},
|
||||
ArrayBuffer.prototype
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue