Generated file

Copy as Markdown

Other Tools

/* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. */
if (!navigator.userAgent.includes("SAMSUNG")) {
const newUA = navigator.userAgent + " SAMSUNG";
const nav = Object.getPrototypeOf(navigator);
const ua = Object.getOwnPropertyDescriptor(nav, "userAgent");
ua.get = () => newUA;
Object.defineProperty(nav, "userAgent", ua);
window.__webcompat = (window.__webcompat ?? new Set()).add(
"navigator.userAgent"
);
}
{
const bugInfo = [["www.cmbchina.com", ["1081239"]], ["cmbchina.com", ["1081239"]]];
const msgs = window.__webcompat;
delete window.__webcompat;
if (msgs?.size) {
const bugs =
bugInfo.find(([domain]) => location.href.includes(domain))?.[1] ??
bugInfo[0][1];
const bugNumbers = bugs.map(b => "https://bugzil.la/" + b).join(" and ");
console.info(
`${[...msgs].join(", ")} ${msgs.size > 1 ? "are" : "is"} being altered for compatibility reasons. See ${bugNumbers} for details.`
);
}
}