(function () {
// 1) Basic bot filter (extend if you like)
function isBot() {
return /(bot|crawl|spider|google|bing|slurp|yandex|facebook|linkedin|pinterest|preview|whatsapp|discord|telegram|headless|puppeteer)/i
.test(navigator.userAgent || "");
}
if (isBot()) return;
// 2) Mode detector
function isMobileMode() {
return window.matchMedia("(max-width: 767px)").matches ||
/Mobi|Android|iPhone|iPad|iPod/i.test(navigator.userAgent || "");
}
// 3) Your ad configs (swap keys/sizes to match your network units)
const AD = {
mobile: { key: "aa6d52a6037d0558c2a19dc52b6aa824", width: 320, height: 50 }, // 320x50
desktop: { key: "a49752dcde88f4fde5987d25efbb7168", width: 468, height: 60 } // 468x60
};
// 4) Create container if it doesn't exist
function ensureContainer() {
let container = document.getElementById("ad-container");
if (!container) {
container = document.createElement("div");
container.id = "ad-container";
container.style.display = "none";
document.body.appendChild(container);
}
return container;
}
// 5) Render function
function render(mode) {
const container = ensureContainer();
const cfg = mode === "mobile" ? AD.mobile : AD.desktop;
// Set global atOptions for ad network
window.atOptions = {
key: cfg.key,
format: "iframe",
height: cfg.height,
width: cfg.width,
params: {}
};
// Clear previous ad/script then inject
container.innerHTML = "";
container.style.display = "block";
const s = document.createElement("script");
s.src = `//selfportraitproved.com/${cfg.key}/invoke.js`;
s.async = true;
container.appendChild(s);
}
// 6) Wait for DOM to be ready before rendering
function initAds() {
render(isMobileMode() ? "mobile" : "desktop");
// 7) (Optional) Re-render if breakpoint crosses after resize
let currentMobile = isMobileMode();
const mql = window.matchMedia("(max-width: 767px)");
if (mql.addEventListener) {
mql.addEventListener("change", (e) => {
const nowMobile = e.matches;
if (nowMobile !== currentMobile) {
currentMobile = nowMobile;
render(currentMobile ? "mobile" : "desktop");
}
});
} else if (mql.addListener) { // older browsers
mql.addListener((e) => {
const nowMobile = e.matches;
if (nowMobile !== currentMobile) {
currentMobile = nowMobile;
render(currentMobile ? "mobile" : "desktop");
}
});
}
}
// 8) Execute when DOM is ready
if (document.readyState === "loading") {
document.addEventListener("DOMContentLoaded", initAds);
} else {
initAds();
}
})();
• | An issue of water from the earth; a spring; a fountain. |
• | A pit or hole sunk into the earth to such a depth as to reach a supply of water, generally of a cylindrical form, and often walled with stone or bricks to prevent the earth from caving in. |
• | A shaft made in the earth to obtain oil or brine. |
• | Fig.: A source of supply; fountain; wellspring. |
• | An inclosure in the middle of a vessel's hold, around the pumps, from the bottom to the lower deck, to preserve the pumps from damage and facilitate their inspection. |
• | A compartment in the middle of the hold of a fishing vessel, made tight at the sides, but having holes perforated in the bottom to let in water for the preservation of fish alive while they are transported to market. |
• | A vertical passage in the stern into which an auxiliary screw propeller may be drawn up out of water. |
• | A depressed space in the after part of the deck; -- often called the cockpit. |
• | A hole or excavation in the earth, in mining, from which run branches or galleries. |
• | An opening through the floors of a building, as for a staircase or an elevator; a wellhole. |
• | The lower part of a furnace, into which the metal falls. |
• | To issue forth, as water from the earth; to flow; to spring. |
• | To pour forth, as from a well. |
• | In a good or proper manner; justly; rightly; not ill or wickedly. |
• | Suitably to one's condition, to the occasion, or to a proposed end or use; suitably; abundantly; fully; adequately; thoroughly. |
• | Fully or about; -- used with numbers. |
• | In such manner as is desirable; so as one could wish; satisfactorily; favorably; advantageously; conveniently. |
• | Considerably; not a little; far. |
• | Good in condition or circumstances; desirable, either in a natural or moral sense; fortunate; convenient; advantageous; happy; as, it is well for the country that the crops did not fail; it is well that the mistake was discovered. |
• | Being in health; sound in body; not ailing, diseased, or sick; healthy; as, a well man; the patient is perfectly well. |
• | Being in favor; favored; fortunate. |
• | Safe; as, a chip warranted well at a certain day and place. |