“Money Recount” is the latest, stunning, sizzling, and delightful single from Nigerian singer-songwriter Onyinye, who collaborated with Jeriq, an exceptional multi-talented indigenous…
The new captivating single “A Fuul” by the exceptionally super-naturally talented Ghanaian musician, composer, and Loop Music artist Olivetheboy has captivated…
The CEO of Zeh Nation, Portable, a popular Nigerian musician, has recently published a new, captivating, enthralling, and delightful tune titled “Diddy…
A spectacular, remarkable, and outstanding Indigenous Nigerian singer, songwriter, and rapper, Kizz Daniel, has recently released a new, exciting, captivating…
Oluwadolarz, a phenomenally, tremendously, and fantastically gifted musician from Nigeria, has captivated and charmed his audience with a brand new, jaw-dropping single…
“Pfmb (Sucess)” is the latest intriguing, enthralling, and captivating single from the highly skilled Nigerian musician and song composer Soft. At some…
“Availe” is the latest captivating, incredible, and mesmerizing single by the phenomenally, tremendously, and immensely multi-gifted Nigerian singer and performer…
“Dorime” is the next smash hit from the phenomenally, incredible, and exceptionally talented Nigerian singer, song composer, performer, and boss of Boyfriend…
Another dazzling, stunning, and spectacular tune, “Fall In Luv,” has been unearthed by the immensely, tremendously, and enormously talented and well-known Nigerian…
Naira Marley, CEO of Marlian Music and a phenomenally, extremely, and tremendously successful Nigerian recording artist, has recently dropped a new single…
“Double Tap” is the latest, scorching, stunning, and sizzling single by the phenomenally multi-brilliant indigenous musician and songwriter Zoro Swagbag…
The phenomenally, extremely, and outstandingly, extraordinary multi-talented singer, composer, and performer, CKay, has just dropped a jaw-dropping new album called…
The extraordinarily gifted Nigerian singer and song composer CKay, who is associated with Boyfriend Music, recently dropped a stunning, excellent, and…
`;
adContainer.appendChild(script);
// Display the ad container (if it was hidden)
adContainer.style.display = 'block';
// Store the current time
localStorage.setItem(LAST_AD_DISPLAY_KEY, Date.now());
}
}
function canShowAd() {
const lastDisplayTime = localStorage.getItem(LAST_AD_DISPLAY_KEY);
if (!lastDisplayTime) {
// No previous display time, so we can show the ad
return true;
}
const currentTime = Date.now();
const timeElapsed = currentTime - parseInt(lastDisplayTime, 10);
return timeElapsed >= AD_DISPLAY_INTERVAL;
}
// Check on page load and delay ad appearance
document.addEventListener('DOMContentLoaded', () => {
if (canShowAd()) {
setTimeout(() => {
showVignetteAd();
}, DELAY_TIME);
} else {
// Optionally, if you want to hide the ad container initially if not eligible
document.getElementById(AD_ZONE_ID).style.display = 'none';
}
});
// You could also set up a recurring check if the user stays on the page for a long time
// However, vignette ads are typically shown on page load or navigation.
// If you need a persistent check *while on the same page*, uncomment the following:
/*
setInterval(() => {
if (canShowAd()) {
showVignetteAd();
}
}, 60 * 1000); // Check every minute if an ad can be shown
*/