mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-16 15:40:02 -04:00
7 lines
No EOL
247 B
TypeScript
7 lines
No EOL
247 B
TypeScript
navigator.sendBeacon = new Proxy(navigator.sendBeacon, {
|
|
apply(target, thisArg, argArray) {
|
|
argArray[0] = self.__scramjet$bundle.rewriters.url.encodeUrl(argArray[0]);
|
|
|
|
return Reflect.apply(target, thisArg, argArray);
|
|
},
|
|
}); |