diff --git a/res/static/ads.txt b/res/static/ads.txt index 164d079..549f7c6 100644 --- a/res/static/ads.txt +++ b/res/static/ads.txt @@ -1,11 +1,14 @@ -#pixfuture START updated Oct-17-2022 - +#pixfuture START updated Nov-3-2022 +#4605 has to be changed to a dedicated site ID pixfuture.com, 4605, DIRECT -google.com, pub-1575911585432548, DIRECT, f08c47fec0942fa0 yahoo.com, 57758, RESELLER, e1a5b5b6e3255540 pubmatic.com, 156078, RESELLER, 5d62403b186f2ace appnexus.com, 11664, RESELLER, f5ab79cb980f11d1 openx.com, 544096208, RESELLER, 6a698e2ec38604c6 +media.net, 8CUIUMTP7, DIRECT +google.com, pub-7439041255533808, RESELLER, f08c47fec0942fa0 +google.com, pub-1575911585432548, DIRECT, f08c47fec0942fa0 +google.com, pub-4377140038207096, DIRECT, f08c47fec0942fa0 indexexchange.com, 183875, RESELLER, 50b1c356f2c5c8fc sovrn.com, 378732, RESELLER, fafdf38b16bf6b2b emxdgt.com, 273, RESELLER, 1e1d41537f7cad7f @@ -132,4 +135,5 @@ appnexus.com, 13099, RESELLER, f5ab79cb980f11d1 yahoo.com, 58905, RESELLER, e1a5b5b6e3255540 pubmatic.com, 161593, RESELLER, 5d62403b186f2ace opera.com, pub7733135167424, DIRECT, 55a0c5fd61378de3 -#pixfuture END updated Oct-17-2022 +google.com, pub-2205121062140812, RESELLER, f08c47fec0942fa0 +#pixfuture END updated Nov-3-2022 diff --git a/svelte/src/file_viewer/FileViewer.svelte b/svelte/src/file_viewer/FileViewer.svelte index bbbba41..895d16f 100644 --- a/svelte/src/file_viewer/FileViewer.svelte +++ b/svelte/src/file_viewer/FileViewer.svelte @@ -257,20 +257,6 @@ const apply_customizations = file => { } } -let supports_fullscreen = !!document.documentElement.requestFullscreen -let fullscreen = false -const toggle_fullscreen = () => { - if (!fullscreen) { - document.documentElement.requestFullscreen() - document.getElementById("btn_fullscreen_icon").innerText = "fullscreen_exit" - fullscreen = true - } else { - document.exitFullscreen() - document.getElementById("btn_fullscreen_icon").innerText = "fullscreen" - fullscreen = false - } -} - let copy_url_status = "" // empty, copied, or error const copy_url = () => { if (copy_text(window.location.href)) { @@ -374,13 +360,13 @@ const keyboard_event = evt => { -
+
-
+
+ {#if embedded} + + open_in_new + {/if}
@@ -426,7 +409,7 @@ const keyboard_event = evt => {
-
+
{#if view === "file"}