More actions
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
window['nitroAds'].createAd('banner-top-desktop-ipad', { | window['nitroAds'].createAd('banner-top-desktop-ipad', { | ||
"refreshLimit": 10, | "refreshLimit": 10, | ||
"refreshTime": | "refreshTime": 45, | ||
"renderVisibleOnly": true, | "renderVisibleOnly": true, | ||
"refreshVisibleOnly": true, | "refreshVisibleOnly": true, | ||
Line 21: | Line 21: | ||
window['nitroAds'].createAd('banner-top-mobile', { | window['nitroAds'].createAd('banner-top-mobile', { | ||
"refreshLimit": 10, | "refreshLimit": 10, | ||
"refreshTime": | "refreshTime": 45, | ||
"renderVisibleOnly": true, | "renderVisibleOnly": true, | ||
"refreshVisibleOnly": true, | "refreshVisibleOnly": true, | ||
Line 36: | Line 36: | ||
window['nitroAds'].createAd('banner-bottom-mobile', { | window['nitroAds'].createAd('banner-bottom-mobile', { | ||
"refreshLimit": 10, | "refreshLimit": 10, | ||
"refreshTime": | "refreshTime": 45, | ||
"renderVisibleOnly": true, | "renderVisibleOnly": true, | ||
"refreshVisibleOnly": true, | "refreshVisibleOnly": true, | ||
Line 50: | Line 50: | ||
window['nitroAds'].createAd('banner-bottom-desktop-ipad', { | window['nitroAds'].createAd('banner-bottom-desktop-ipad', { | ||
"refreshLimit": 10, | "refreshLimit": 10, | ||
"refreshTime": | "refreshTime": 45, | ||
"renderVisibleOnly": true, | "renderVisibleOnly": true, | ||
"refreshVisibleOnly": true, | "refreshVisibleOnly": true, | ||
Line 90: | Line 90: | ||
window['nitroAds'].createAd('mw-content-text', { | window['nitroAds'].createAd('mw-content-text', { | ||
"refreshLimit": 10, | "refreshLimit": 10, | ||
"refreshTime": | "refreshTime": 45, | ||
"format": "article", | "format": "article", | ||
"pageInterval": 5, | "pageInterval": 5, | ||
Line 110: | Line 110: | ||
window['nitroAds'].createAd('AnchorText-mobile', { | window['nitroAds'].createAd('AnchorText-mobile', { | ||
"refreshLimit": 10, | "refreshLimit": 10, | ||
"refreshTime": | "refreshTime": 45, | ||
"format": "anchor", | "format": "anchor", | ||
"anchor": "top", | "anchor": "top", | ||
Line 130: | Line 130: | ||
/*window['nitroAds'].createAd('gamebrew-outstream', { | /*window['nitroAds'].createAd('gamebrew-outstream', { | ||
"refreshLimit": 10, | "refreshLimit": 10, | ||
"refreshTime": | "refreshTime": 45, | ||
"format": "floating", | "format": "floating", | ||
"mediaQuery": "(min-width: 1025px), (min-width: 768px) and (max-width: 1024px)" | "mediaQuery": "(min-width: 1025px), (min-width: 768px) and (max-width: 1024px)" | ||
Line 138: | Line 138: | ||
window['nitroAds'].createAd('anchorTop-DesktopIpad', { | window['nitroAds'].createAd('anchorTop-DesktopIpad', { | ||
"refreshLimit": 10, | "refreshLimit": 10, | ||
"refreshTime": | "refreshTime": 45, | ||
"format": "anchor", | "format": "anchor", | ||
"anchor": "top", | "anchor": "top", | ||
Line 148: | Line 148: | ||
window['nitroAds'].createAd('small-banner-top', { | window['nitroAds'].createAd('small-banner-top', { | ||
"refreshLimit": 10, | "refreshLimit": 10, | ||
"refreshTime": | "refreshTime": 45, | ||
"renderVisibleOnly": true, | "renderVisibleOnly": true, | ||
"refreshVisibleOnly": true, | "refreshVisibleOnly": true, | ||
Line 163: | Line 163: | ||
window['nitroAds'].createAd('sidebar-sticky', { | window['nitroAds'].createAd('sidebar-sticky', { | ||
"refreshLimit": 10, | "refreshLimit": 10, | ||
"refreshTime": | "refreshTime": 45, | ||
"renderVisibleOnly": true, | "renderVisibleOnly": true, | ||
"refreshVisibleOnly": true, | "refreshVisibleOnly": true, | ||
Line 178: | Line 178: | ||
window['nitroAds'].createAd('Ads-Infobox', { | window['nitroAds'].createAd('Ads-Infobox', { | ||
"refreshLimit": 10, | "refreshLimit": 10, | ||
"refreshTime": | "refreshTime": 45, | ||
"renderVisibleOnly": true, | "renderVisibleOnly": true, | ||
"refreshVisibleOnly": true, | "refreshVisibleOnly": true, | ||
Line 191: | Line 191: | ||
window['nitroAds'].createAd('Ads-Infobox1', { | window['nitroAds'].createAd('Ads-Infobox1', { | ||
"refreshLimit": 10, | "refreshLimit": 10, | ||
"refreshTime": | "refreshTime": 45, | ||
"renderVisibleOnly": true, | "renderVisibleOnly": true, | ||
"refreshVisibleOnly": true, | "refreshVisibleOnly": true, | ||
Line 204: | Line 204: | ||
window['nitroAds'].createAd('Ads-Infobox3', { | window['nitroAds'].createAd('Ads-Infobox3', { | ||
"refreshLimit": 10, | "refreshLimit": 10, | ||
"refreshTime": | "refreshTime": 45, | ||
"renderVisibleOnly": true, | "renderVisibleOnly": true, | ||
"refreshVisibleOnly": true, | "refreshVisibleOnly": true, | ||
Line 222: | Line 222: | ||
window['nitroAds'].createAd('outsteam-mobile', { | window['nitroAds'].createAd('outsteam-mobile', { | ||
"refreshLimit": 10, | "refreshLimit": 10, | ||
"refreshTime": | "refreshTime": 45, | ||
"format": "floating", | "format": "floating", | ||
"mediaQuery": "(min-width: 320px) and (max-width: 767px)" | "mediaQuery": "(min-width: 320px) and (max-width: 767px)" | ||
Line 231: | Line 231: | ||
window['nitroAds'].createAd('largemobilebanner', { | window['nitroAds'].createAd('largemobilebanner', { | ||
"refreshLimit": 10, | "refreshLimit": 10, | ||
"refreshTime": | "refreshTime": 45, | ||
"renderVisibleOnly": true, | "renderVisibleOnly": true, | ||
"refreshVisibleOnly": true, | "refreshVisibleOnly": true, | ||
Line 246: | Line 246: | ||
window['nitroAds'].createAd('anchorBottom', { | window['nitroAds'].createAd('anchorBottom', { | ||
"refreshLimit": 10, | "refreshLimit": 10, | ||
"refreshTime": | "refreshTime": 45, | ||
"format": "anchor", | "format": "anchor", | ||
"anchor": "bottom", | "anchor": "bottom", |
Revision as of 08:20, 24 April 2023
/* Any JavaScript here will be loaded for all users on every page load. importScript('User:Rillke/bigChunkedUpload.js');*/
/* Check For Ad Block*/
/*mw.loader.load( 'https://www.gamebrew.org/index.php?title=MediaWiki:Blockadblock.js&action==raw&ctype=text/javascript' );*/
/*Banner-Top
window['nitroAds'].createAd('banner-top-desktop-ipad', {
"refreshLimit": 10,
"refreshTime": 45,
"renderVisibleOnly": true,
"refreshVisibleOnly": true,
"sizes": [
[
"728",
"90"
]
],
"mediaQuery": "(min-width: 1025px), (min-width: 768px) and (max-width: 1024px)"
});*/
window['nitroAds'].createAd('banner-top-mobile', {
"refreshLimit": 10,
"refreshTime": 45,
"renderVisibleOnly": true,
"refreshVisibleOnly": true,
"sizes": [
[
"320",
"250"
]
],
"mediaQuery": "(min-width: 320px) and (max-width: 767px)"
});
/*Banner-Bottom*/
window['nitroAds'].createAd('banner-bottom-mobile', {
"refreshLimit": 10,
"refreshTime": 45,
"renderVisibleOnly": true,
"refreshVisibleOnly": true,
"sizes": [
[
"300",
"250"
]
],
"mediaQuery": "(min-width: 320px) and (max-width: 767px)"
});
window['nitroAds'].createAd('banner-bottom-desktop-ipad', {
"refreshLimit": 10,
"refreshTime": 45,
"renderVisibleOnly": true,
"refreshVisibleOnly": true,
"sizes": [
[
"728",
"90"
],
[
"970",
"90"
],
[
"970",
"250"
],
[
"300",
"250"
],
[
"336",
"280"
],
[
"320",
"100"
],
[
"320",
"50"
]
],
"mediaQuery": "(min-width: 1025px), (min-width: 768px) and (max-width: 1024px)"
});
/* Ads in Content Script*/
window['nitroAds'].createAd('mw-content-text', {
"refreshLimit": 10,
"refreshTime": 45,
"format": "article",
"pageInterval": 5,
"sizes": [
[
"300",
"250"
],
[
"336",
"280"
]
],
"mediaQuery": "(min-width: 768px) and (max-width: 1024px), (min-width: 320px) and (max-width: 767px)"
});
/* Ads in AnchorText Script*/
window['nitroAds'].createAd('AnchorText-mobile', {
"refreshLimit": 10,
"refreshTime": 45,
"format": "anchor",
"anchor": "top",
"anchorPersistClose": false,
"mediaQuery": "(min-width: 320px) and (max-width: 767px)"
});
/* Video Script - Desktop and Ipad Only*/
window['nitroAds'].createAd('Videoplayer', {
"format": "video-nc",
"mediaQuery": "(min-width: 1025px), (min-width: 768px) and (max-width: 1024px)",
"video": {
"float": "always",
"mobile": "compact",
"initialDelay": 1
}
});
/*window['nitroAds'].createAd('gamebrew-outstream', {
"refreshLimit": 10,
"refreshTime": 45,
"format": "floating",
"mediaQuery": "(min-width: 1025px), (min-width: 768px) and (max-width: 1024px)"
});*/
/*Anchor Top/Bottom - Desktop and Ipad Only
window['nitroAds'].createAd('anchorTop-DesktopIpad', {
"refreshLimit": 10,
"refreshTime": 45,
"format": "anchor",
"anchor": "top",
"anchorPersistClose": false,
"mediaQuery": "(min-width: 1025px), (min-width: 768px) and (max-width: 1024px)"
});*/
/*Fixed Small Banner Top*/
window['nitroAds'].createAd('small-banner-top', {
"refreshLimit": 10,
"refreshTime": 45,
"renderVisibleOnly": true,
"refreshVisibleOnly": true,
"sizes": [
[
"320",
"50"
]
],
"mediaQuery": "(min-width: 1025px), (min-width: 768px) and (max-width: 1024px)"
});
/*Sidebar-Sticky*/
window['nitroAds'].createAd('sidebar-sticky', {
"refreshLimit": 10,
"refreshTime": 45,
"renderVisibleOnly": true,
"refreshVisibleOnly": true,
"sizes": [
[
"160",
"600"
]
],
"mediaQuery": "(min-width: 1200px), (min-width: 1200px) and (max-width: 1200px)"
});
/*Ads-Infobox*/
window['nitroAds'].createAd('Ads-Infobox', {
"refreshLimit": 10,
"refreshTime": 45,
"renderVisibleOnly": true,
"refreshVisibleOnly": true,
"sizes": [
[
"300",
"250"
]
]
});
window['nitroAds'].createAd('Ads-Infobox1', {
"refreshLimit": 10,
"refreshTime": 45,
"renderVisibleOnly": true,
"refreshVisibleOnly": true,
"sizes": [
[
"320",
"50"
]
]
});
window['nitroAds'].createAd('Ads-Infobox3', {
"refreshLimit": 10,
"refreshTime": 45,
"renderVisibleOnly": true,
"refreshVisibleOnly": true,
"sizes": [
[
"320",
"100"
],
[
"320",
"50"
]
]
});
/* Outvideo - Mobile
window['nitroAds'].createAd('outsteam-mobile', {
"refreshLimit": 10,
"refreshTime": 45,
"format": "floating",
"mediaQuery": "(min-width: 320px) and (max-width: 767px)"
});*/
/* Large Mobile Banner*/
window['nitroAds'].createAd('largemobilebanner', {
"refreshLimit": 10,
"refreshTime": 45,
"renderVisibleOnly": true,
"refreshVisibleOnly": true,
"sizes": [
[
"320",
"50"
]
],
"mediaQuery": "(min-width: 1025px), (min-width: 768px) and (max-width: 1024px), (min-width: 320px) and (max-width: 767px)"
});
/*AnchorBottom
window['nitroAds'].createAd('anchorBottom', {
"refreshLimit": 10,
"refreshTime": 45,
"format": "anchor",
"anchor": "bottom",
"anchorPersistClose": false,
"mediaQuery": "(min-width: 1025px), (min-width: 768px) and (max-width: 1024px)"
});
*/
/* Ad Block*/