MediaWiki:Mobile.js: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
function bg3wikiEnableAds() { | function bg3wikiEnableAds() { | ||
console.log("Enablind mobile ads"); | console.log("Enablind mobile ads"); | ||
if ( | if (window.fusetag === undefined) { | ||
console.log("Fuse not found"); | console.log("Fuse not found"); | ||
return; | return; |
Revision as of 17:03, 8 August 2024
/* All JavaScript here will be loaded for users of the mobile site */
addEventListener('load', bg3wikiEnableAds);
function bg3wikiEnableAds() {
console.log("Enablind mobile ads");
if (window.fusetag === undefined) {
console.log("Fuse not found");
return;
}
//if (window.innerHeight >= 720) {
// console.log("Registering footer ad");
// fusetag.registerZone("bg3wiki-footer-ad-fuse");
//}
}