"use strict"; window.addEventListener("load", () => { if (typeof [].flat !== "function") { const $body = $(`body`); $body.addClass("edge__body"); const $btnClose = $(``) .click(() => { $overlay.remove(); $body.removeClass("edge__body"); }); const $overlay = $(`
`); $btnClose.appendTo($overlay); $overlay.append(`
UPDATE YOUR BROWSER
It looks like you're using an outdated/unsupported browser.
5etools recommends and supports the latest Chrome and the latest Firefox.
`).appendTo($body); } });