Generated file

Copy as Markdown

Other Tools

/* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. */
if (document.readyState !== "complete") {
const { prototype } = window.EventTarget;
const { addEventListener } = prototype;
prototype.addEventListener = function (type, b, c, d) {
if (
this !== window ||
document.readyState !== "complete" ||
type?.toLowerCase() !== "load"
) {
return addEventListener.call(this, type, b, c, d);
}
console.log("window.addEventListener(load) called too late, so calling", b);
try {
b?.call();
} catch (e) {
console.error(e);
}
return undefined;
};
window.__webcompat = (window.__webcompat ?? new Set()).add(
"late window.addEventListener calls"
);
}
{
const bugInfo = [["rosasthai.com", ["1939248"]]];
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.`
);
}
}