mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-10 23:27:46 +02:00
Refactor patches
This commit is contained in:
6
dist/better-xcloud.lite.user.js
vendored
6
dist/better-xcloud.lite.user.js
vendored
@@ -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;
|
||||
|
Reference in New Issue
Block a user