trap PerformanceEntry.prototype.name because why not?

This commit is contained in:
velzie 2024-10-07 19:28:58 -04:00
parent 3aa5c1ef39
commit 9b4a85d5d1

View file

@ -0,0 +1,9 @@
import { decodeUrl } from "../../shared";
export default function (client: ScramjetClient, self: typeof globalThis) {
client.Trap("PerformanceEntry.prototype.name", {
get(ctx) {
return decodeUrl(ctx.get());
},
});
}