Generated file

Copy as Markdown

Other Tools

/* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. */
if (navigator.plugins.length) {
const pluginsArray = [];
Object.setPrototypeOf(pluginsArray, PluginArray.prototype);
const navProto = Object.getPrototypeOf(navigator);
const pluginsDesc = Object.getOwnPropertyDescriptor(navProto, "plugins");
pluginsDesc.get = () => pluginsArray;
Object.defineProperty(navProto, "plugins", pluginsDesc);
window.__webcompat = (window.__webcompat ?? new Set()).add("PluginArray");
}
{
const bugInfo = [["www.tiktok.com", ["1769762"]]];
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.`
);
}
}