From 7438375356e9a520406abde210a258f0e031da56 Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Sun, 8 Dec 2024 20:24:15 +0700 Subject: [PATCH] Fix disableAdobeAudienceManager() --- src/utils/monkey-patches.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/utils/monkey-patches.ts b/src/utils/monkey-patches.ts index b6deb10..fc8cb53 100755 --- a/src/utils/monkey-patches.ts +++ b/src/utils/monkey-patches.ts @@ -210,7 +210,9 @@ export function patchMeControl() { * Disable Adobe Audience Manager (AAM) */ export function disableAdobeAudienceManager() { - window.adobe = Object.freeze({}); + Object.defineProperty(window, 'adobe', { + get() { return Object.freeze({}); } + }); } /**