Silence warnings about referrers

This commit is contained in:
2022-12-24 11:37:31 +01:00
parent 34ede38889
commit 1b23c06d77
11 changed files with 23 additions and 21 deletions

View File

@@ -50,7 +50,7 @@ let set_status = async (action, report_type) => {
<div class="details"> <div class="details">
<div class="toolbar"> <div class="toolbar">
<div style="flex: 1 1 auto"> <div style="flex: 1 1 auto">
<a class="button" target="_blank" href={"/u/"+report.file.id}> <a class="button" target="_blank" href={"/u/"+report.file.id} rel="noreferrer">
<i class="icon">open_in_new</i> Open file <i class="icon">open_in_new</i> Open file
</a> </a>
<button class:button_highlight={preview} on:click={() => {preview = !preview}}> <button class:button_highlight={preview} on:click={() => {preview = !preview}}>

View File

@@ -7,7 +7,7 @@ export let border_top = false;
{#if src} {#if src}
<div class:border_top> <div class:border_top>
{#if link} {#if link}
<a href={link} target="_blank"> <a href={link} target="_blank" rel="noreferrer">
<img class="image" src="{src}" alt="User-provided banner"/> <img class="image" src="{src}" alt="User-provided banner"/>
</a> </a>
{:else} {:else}

View File

@@ -209,7 +209,7 @@ onMount(() => {
<Chart bind:this={chart} /> <Chart bind:this={chart} />
<p style="text-align: center"> <p style="text-align: center">
Charts rendered by the amazing <a href="https://www.chartjs.org/" target="_blank">Chart.js</a>. Charts rendered by the amazing <a href="https://www.chartjs.org/" target="_blank" rel="noreferrer">Chart.js</a>.
</p> </p>
<h3>Keyboard Controls</h3> <h3>Keyboard Controls</h3>

View File

@@ -49,7 +49,7 @@ let file = {
{/if} {/if}
<p> <p>
This warning disappears when the you are a This warning disappears when the you are a
<a href="https://www.patreon.com/join/pixeldrain/checkout?rid=5736701&cadence=12" target="_blank">Patreon supporter</a>, <a href="https://www.patreon.com/join/pixeldrain/checkout?rid=5736701&cadence=12" target="_blank" rel="noreferrer">Patreon supporter</a>,
or when the uploader of the file enables or when the uploader of the file enables
<a href="/user/subscription">bandwidth sharing</a> on their Pro account <a href="/user/subscription">bandwidth sharing</a> on their Pro account
(and their data cap has not been used up). Using a download manager with (and their data cap has not been used up). Using a download manager with

View File

@@ -196,8 +196,8 @@ onMount(() => {
</p> </p>
<p> <p>
More information about <a More information about <a
href="https://en.wikipedia.org/wiki/Inline_linking" href="https://en.wikipedia.org/wiki/Inline_linking" target="_blank"
target="_blank">Hotlinking on Wikipedia</a>. rel="noreferrer">Hotlinking on Wikipedia</a>.
</p> </p>
<h3>Hotlinking with a Pro subscription</h3> <h3>Hotlinking with a Pro subscription</h3>
<p> <p>

View File

@@ -9,22 +9,23 @@ import Twitter from "../icons/Twitter.svelte";
<footer> <footer>
<div class="footer_content"> <div class="footer_content">
<div style="display: inline-block; margin: 0 8px;"> <div style="display: inline-block; margin: 0 8px;">
Pixeldrain is a product by <a href="//fornaxian.tech" target="_blank">Fornaxian Technologies</a> Pixeldrain is a product by
<a href="//fornaxian.tech" target="_blank" rel="noreferrer">Fornaxian Technologies</a>
</div> </div>
<div style="display: inline-block; margin: 0 8px;"> <div style="display: inline-block; margin: 0 8px;">
<a href="https://www.patreon.com/pixeldrain" target="_blank"> <a href="https://www.patreon.com/pixeldrain" target="_blank" rel="noreferrer">
<Patreon style="color: var(--body_text_color);"/> Patreon <Patreon style="color: var(--body_text_color);"/> Patreon
</a> | </a> |
<a href="https://twitter.com/Fornax96" target="_blank"> <a href="https://twitter.com/Fornax96" target="_blank" rel="noreferrer">
<Twitter style="color: var(--body_text_color);"/> Twitter <Twitter style="color: var(--body_text_color);"/> Twitter
</a> | </a> |
<a href="https://reddit.com/r/pixeldrain" target="_blank"> <a href="https://reddit.com/r/pixeldrain" target="_blank" rel="noreferrer">
<Reddit style="color: var(--body_text_color);"/> Reddit <Reddit style="color: var(--body_text_color);"/> Reddit
</a> | </a> |
<a href="https://github.com/Fornaxian" target="_blank"> <a href="https://github.com/Fornaxian" target="_blank" rel="noreferrer">
<Github style="color: var(--body_text_color);"/> GitHub <Github style="color: var(--body_text_color);"/> GitHub
</a> | </a> |
<a href="https://mastodon.social/web/@fornax" target="_blank"> <a href="https://mastodon.social/web/@fornax" target="_blank" rel="noreferrer">
<Mastodon style="color: var(--body_text_color);"/> Mastodon <Mastodon style="color: var(--body_text_color);"/> Mastodon
</a> </a>
</div> </div>

View File

@@ -100,7 +100,7 @@ const keydown = e => {
</p> </p>
<p> <p>
The text editor has been enhanced by Jacob Kelley's The text editor has been enhanced by Jacob Kelley's
<a href="https://jakiestfu.github.io/Behave.js/" target="_blank">Behave.js</a>. <a href="https://jakiestfu.github.io/Behave.js/" target="_blank" rel="noreferrer">Behave.js</a>.
Many thanks to him for developing this plugin and putting it Many thanks to him for developing this plugin and putting it
under the MIT license. under the MIT license.

View File

@@ -314,6 +314,7 @@ const node_click = (index) => {
<a class="node" <a class="node"
href={file.href} href={file.href}
target="_blank" target="_blank"
rel="noreferrer"
title="{file.name}" title="{file.name}"
class:node_selected={file.selected} class:node_selected={file.selected}
on:click|preventDefault={() => {node_click(index)}} on:click|preventDefault={() => {node_click(index)}}

View File

@@ -81,8 +81,8 @@ onMount(() => {
<h3>Step 1: Install JDownloader</h3> <h3>Step 1: Install JDownloader</h3>
<p> <p>
Download JDownloader from its website: Download JDownloader from its website:
<a href="https://jdownloader.org/download/index" <a href="https://jdownloader.org/download/index" target="_blank"
target="_blank">jdownloader.org</a>. Open JDownloader from your rel="noreferrer">jdownloader.org</a>. Open JDownloader from your
start menu after the installation is complete. start menu after the installation is complete.
</p> </p>
<h3>Step 2: Open the account manager</h3> <h3>Step 2: Open the account manager</h3>
@@ -149,8 +149,8 @@ onMount(() => {
<p> <p>
ShareX is a Screen capture, file sharing and productivity tool. ShareX is a Screen capture, file sharing and productivity tool.
Pixeldrain is supported as a custom uploader. You can <a Pixeldrain is supported as a custom uploader. You can <a
href="https://getsharex.com/" target="_blank">get ShareX href="https://getsharex.com/" target="_blank" rel="noreferrer">get
here</a>. ShareX here</a>.
</p> </p>
<p> <p>
Here you can download our custom ShareX uploader which uses Here you can download our custom ShareX uploader which uses

View File

@@ -83,9 +83,9 @@ onMount(() => {
<p> <p>
Alternatively you can use Bitcoin, Lightning network (<a Alternatively you can use Bitcoin, Lightning network (<a
href="https://btcpay.pixeldrain.com/embed/uS2mbWjXUuaAqMh8XLjkjwi8oehFuxeBZxekMxv68LN/BTC/ln" href="https://btcpay.pixeldrain.com/embed/uS2mbWjXUuaAqMh8XLjkjwi8oehFuxeBZxekMxv68LN/BTC/ln"
target="_blank">node info</a>) and Dogecoin to deposit credits on your target="_blank" rel="noreferrer">node info</a>) and Dogecoin to deposit
pixeldrain account. You must pay the full amount as stated on the credits on your pixeldrain account. You must pay the full amount as
invoice, else your payment will fail. stated on the invoice, else your payment will fail.
</p> </p>
<p> <p>
Do note that it is not possible to withdraw coins from your Do note that it is not possible to withdraw coins from your

View File

@@ -198,7 +198,7 @@ onDestroy(() => {
wait until the payment is confirmed and try again. You can wait until the payment is confirmed and try again. You can
see the status of your payment <a see the status of your payment <a
href="https://www.patreon.com/pledges?ty=h" href="https://www.patreon.com/pledges?ty=h"
target="_blank">on Patreon itself</a>. target="_blank" rel="noreferrer">on Patreon itself</a>.
</p> </p>
<p> <p>
If your payment is complete and your account is still not If your payment is complete and your account is still not