Skip to content

Commit 9e5299e

Browse files
committed
Improve google-ima shim
Related issue: uBlockOrigin/uAssets#32959
1 parent e8ab0e2 commit 9e5299e

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

src/web_accessible_resources/google-ima.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
* - https://github.com/uBlockOrigin/uAssets/issues/31018
2525
*
2626
**/
27-
27+
28+
/* eslint-disable indent */
29+
2830
'use strict';
2931

3032
/* This Source Code Form is subject to the terms of the Mozilla Public
@@ -41,7 +43,7 @@
4143
*/
4244

4345
if (!window.google || !window.google.ima || !window.google.ima.VERSION) {
44-
const VERSION = "3.517.2";
46+
const VERSION = "3.764.0";
4547
const ima = {};
4648

4749
class AdDisplayContainer {
@@ -481,7 +483,8 @@ if (!window.google || !window.google.ima || !window.google.ima.VERSION) {
481483
return true;
482484
}
483485
}
484-
} catch (_) {}
486+
} catch {
487+
}
485488
return false;
486489
};
487490

0 commit comments

Comments
 (0)