Refactor patches

This commit is contained in:
redphx
2024-12-08 20:26:05 +07:00
parent 7438375356
commit 8c446ceec3
4 changed files with 16 additions and 12 deletions

View File

@@ -6192,7 +6192,11 @@ function patchMeControl() {
window.MSA = new Proxy(MSA, MsaHandler), window.MeControl = new Proxy(MeControl, MeControlHandler);
}
function disableAdobeAudienceManager() {
window.adobe = Object.freeze({});
Object.defineProperty(window, "adobe", {
get() {
return Object.freeze({});
}
});
}
function patchCanvasContext() {
let nativeGetContext = HTMLCanvasElement.prototype.getContext;