Small fixes and ad rotation
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
file to be temporarily unavailable
|
file to be temporarily unavailable
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
File file has been lost due to a problem with the storage
|
The file has been lost due to a problem with the storage
|
||||||
system
|
system
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@@ -156,13 +156,18 @@
|
|||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div class="feat_label">
|
<div class="feat_label">
|
||||||
<a href="javascript:void(0);" onclick="return explainFileExpiry();">File expiry</a>
|
File expiry
|
||||||
</div>
|
</div>
|
||||||
<div class="feat_normal">
|
<div class="feat_normal">
|
||||||
30 days after the last time it is viewed
|
30 days after the last time it is viewed
|
||||||
</div>
|
</div>
|
||||||
<div class="feat_pro">
|
<div class="feat_pro">
|
||||||
<span class="text_highlight">90 days</span> after the last time it is viewed
|
<span class="text_highlight">90 days</span> after the last time it is viewed
|
||||||
|
<br/>
|
||||||
|
<button class="round" onclick="return explainFileExpiry()">
|
||||||
|
<i class="icon">info</i>
|
||||||
|
More information
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
@@ -192,9 +197,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div class="feat_label">
|
<div class="feat_label">
|
||||||
<a href="javascript:void(0);" onclick="return explainDirectLinking();">
|
Hotlinking
|
||||||
Hotlinking
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="feat_normal">
|
<div class="feat_normal">
|
||||||
Rate limiting mode will be enabled when a file has 3
|
Rate limiting mode will be enabled when a file has 3
|
||||||
|
@@ -26,23 +26,20 @@ onMount(() => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (Math.floor(Math.random() * 6)) {
|
switch (Math.floor(Math.random() * 5)) {
|
||||||
case 0:
|
case 0:
|
||||||
set_ad_type("publisherrest_1")
|
|
||||||
break
|
|
||||||
case 1:
|
|
||||||
set_ad_type("brave")
|
set_ad_type("brave")
|
||||||
break
|
break
|
||||||
case 2:
|
case 1:
|
||||||
set_ad_type("aads1")
|
set_ad_type("aads1")
|
||||||
break
|
break
|
||||||
case 3:
|
case 2:
|
||||||
set_ad_type("ads.plus")
|
set_ad_type("ads.plus")
|
||||||
break
|
break
|
||||||
case 4:
|
case 3:
|
||||||
set_ad_type("pixfuture")
|
set_ad_type("pixfuture")
|
||||||
break
|
break
|
||||||
case 5:
|
case 4:
|
||||||
set_ad_type("adaround")
|
set_ad_type("adaround")
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
@@ -88,13 +85,13 @@ const resize = () => {
|
|||||||
|
|
||||||
adsplus_loaded.subscribe(v => {
|
adsplus_loaded.subscribe(v => {
|
||||||
if (v) {
|
if (v) {
|
||||||
window.googletag = window.googletag || {cmd: []};
|
window.googletag = window.googletag || {cmd: []};
|
||||||
googletag.cmd.push(function() {
|
googletag.cmd.push(function() {
|
||||||
googletag.defineSlot('/21673142571/299__pixeldrain.com__default__728x90_1', [728, 90], 'div-gpt-ad-pixeldraincom728x90_1').addService(googletag.pubads());
|
googletag.defineSlot('/21673142571/299__pixeldrain.com__default__728x90_1', [728, 90], 'div-gpt-ad-pixeldraincom728x90_1').addService(googletag.pubads());
|
||||||
googletag.pubads().collapseEmptyDivs();
|
googletag.pubads().collapseEmptyDivs();
|
||||||
googletag.enableServices();
|
googletag.enableServices();
|
||||||
});
|
});
|
||||||
googletag.cmd.push(function() { googletag.display('div-gpt-ad-pixeldraincom728x90_1'); });
|
googletag.cmd.push(function() { googletag.display('div-gpt-ad-pixeldraincom728x90_1'); });
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
@@ -29,7 +29,7 @@ onMount(async () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (document.body.clientWidth < 800) {
|
if (document.body.clientWidth < 700) {
|
||||||
visible = false
|
visible = false
|
||||||
dispatch("visibility", false)
|
dispatch("visibility", false)
|
||||||
return
|
return
|
||||||
|
@@ -211,7 +211,7 @@ function downloadFiles() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Create a list of file ID's separated by commas
|
// Create a list of file ID's separated by commas
|
||||||
let ids = selected.reduce((acc, curr) => acc + curr.id + ",", "")
|
let ids = selected.reduce((acc, curr) => acc + curr.id + ",", "")
|
||||||
|
|
||||||
// Remove the last comma
|
// Remove the last comma
|
||||||
ids = ids.slice(0, -1)
|
ids = ids.slice(0, -1)
|
||||||
|
Reference in New Issue
Block a user