blob: f93e04b274361b825c176ef7faf7e19927539c51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
"use strict";
/**
* Bug 1778239 - Dismiss the "optimized for Chrome" banner on m.pji.co.kr
*
* This interventions force-sets a window variable `flag` to true, to bypass
* the need to use a Chrome user-agent string to hide the banner.
*/
/* globals exportFunction */
Object.defineProperty(window.wrappedJSObject, "flag", {
get: exportFunction(function() {
return true;
}, window),
set: exportFunction(function() {}, window),
});
|