From cdf385f5f46e2d82763da13a1c734ab3fd38d26d Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sun, 16 Jul 2023 11:23:31 -0400 Subject: [PATCH] Add missing (deprecated) method to google ima Related feedback: - https://github.com/uBlockOrigin/uBlock-issues/issues/2265#issuecomment-1637094149 --- src/web_accessible_resources/google-ima.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/web_accessible_resources/google-ima.js b/src/web_accessible_resources/google-ima.js index 63a2ccacdf7fc..68375877fe81b 100644 --- a/src/web_accessible_resources/google-ima.js +++ b/src/web_accessible_resources/google-ima.js @@ -300,6 +300,12 @@ if (!window.google || !window.google.ima || !window.google.ima.VERSION) { setSessionId(/*s*/) {} setVpaidAllowed(/*a*/) {} setVpaidMode(/*m*/) {} + + // https://github.com/uBlockOrigin/uBlock-issues/issues/2265#issuecomment-1637094149 + getDisableFlashAds() { + } + setDisableFlashAds() { + } } ImaSdkSettings.CompanionBackfillMode = { ALWAYS: "always",