VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2025-01-06 11:50:20 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2025-01-06 11:50:20 +0100
commite8e0be2ad55fbcb88228c5e8e7e65922458e3a49 (patch)
tree1f4df72697e84cf47f77e9f5b96b68c0231995f6 /doc
parenta8c904813b78d966acb16c1b1a1fca17f05524fb (diff)
downloadVeraCrypt-e8e0be2ad55fbcb88228c5e8e7e65922458e3a49.tar.gz
VeraCrypt-e8e0be2ad55fbcb88228c5e8e7e65922458e3a49.zip
Update donation HTML page to use new PayPal donation links
We add javascript code to the page to handle dynamic selection of donation currency
Diffstat (limited to 'doc')
-rw-r--r--doc/html/Donation.html118
-rw-r--r--doc/html/donation.js9
-rw-r--r--doc/html/styles.css51
3 files changed, 146 insertions, 32 deletions
diff --git a/doc/html/Donation.html b/doc/html/Donation.html
index 3abcf14d..9d0cd62f 100644
--- a/doc/html/Donation.html
+++ b/doc/html/Donation.html
@@ -7,6 +7,7 @@
<meta name="description" content="VeraCrypt is free open-source disk encryption software for Windows, Mac OS X and Linux. In case an attacker forces you to reveal the password, VeraCrypt provides plausible deniability. In contrast to file encryption, data encryption performed by VeraCrypt is real-time (on-the-fly), automatic, transparent, needs very little memory, and does not involve temporary unencrypted files."/>
<meta name="keywords" content="encryption, security"/>
<link href="styles.css" rel="stylesheet" type="text/css" />
+<script src="donation.js"></script>
</head>
<body>
@@ -27,37 +28,89 @@
<div class="wikidoc">
<h1>Donation to VeraCrypt</h1>
-<p>You can support VeraCrypt development through donations using PayPal, bank transfers and cryptocurrencies (<a href="#Bitcoin">Bitcoin</a>, <a href="#BitcoinCash">Bitcoin Cash</a>, <a href="#Ethereum">Ethereum</a>, <a href="#Litecoin">Litecoin</a> and <a href="#Monero">Monero</a>). It is also possible to donate using Liberapay and Flattr.</p>
+<p>You can support VeraCrypt development through donations using PayPal, bank transfers and cryptocurrencies (<a href="#Bitcoin">Bitcoin</a>, <a href="#BitcoinCash">Bitcoin Cash</a>, <a href="#Ethereum">Ethereum</a>, <a href="#Litecoin">Litecoin</a> and <a href="#Monero">Monero</a>). It is also possible to donate using Liberapay.</p>
<hr>
<h3><img src="paypal_30x30.png" style="vertical-align: middle; margin-right: 5px">PayPal</h3>
-<table>
-<tbody>
-<tr>
-<td align="center"><a title="Donate to VeraCrypt in Euros" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=H25GJLUDHBMB6" target="_blank"><img src="Donation_donate_Euros.gif" alt="" width="92" height="26"></a></td>
-<td align="center"><a title="VeraCrypt Donation in USD" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=B8PU86SHE2ZVA" target="_blank"><img src="Donation_donate_Dollars.gif" alt="" width="92" height="26"></a></td>
-<td align="center"><a title="VeraCrypt Donation in GBP" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MFAZACXK9NXT8" target="_blank"><img src="Donation_donate_GBP.gif" alt="" width="92" height="26"></a></td>
-<td align="center"><a title="VeraCrypt Donation in Canadian Dollar" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QAN6T5E5F7F5J" target="_blank"><img src="Donation_donate_Dollars.gif" alt="" width="92" height="26"></a></td>
-<td align="center"><a title="VeraCrypt Donation in Swiss Francs" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=98RJHVLY5NJ5U" target="_blank"><img src="Donation_donate_CHF.gif" alt="" width="92" height="26"></a></td>
-<td align="center"><a title="VeraCrypt Donation in Japanese Yen" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=M9DXZ83WD7S8Y" target="_blank"><img src="Donation_donate_YEN.gif" alt="" width="92" height="26"></a></td>
-<td align="center"><a title="VeraCrypt Donation in Australian Dollar" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=S9L769QS6WAU6" target="_blank"><img src="Donation_donate_Dollars.gif" alt="" width="92" height="26"></a></td>
-<td align="center"><a title="VeraCrypt Donation in Polish złoty" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2WDGT7KUJ5GH8" target="_blank"><img src="Donation_donate_PLN.gif" alt="" width="92" height="26"></a></td>
-</tr>
-<tr>
-<td align="center">Euro</td>
-<td align="center">US Dollar</td>
-<td align="center">Pound Sterling</td>
-<td align="center">Canadian Dollar</td>
-<td align="center">Swiss Franc</td>
-<td align="center">Japanese Yen</td>
-<td align="center">Australian Dollar</td>
-<td align="center">Polish złoty</td>
-</tr>
-</tbody>
-</table>
-
-<p>For other currencies, click on the button below and then select your currency using the drop-down list under the amount.</p>
-<a title="VeraCrypt Donation in any currency" href="https://www.paypal.me/idrix" target="_blank"><img src="Donation_donate.gif" alt="" width="92" height="26"></a>
+<div class="donation-buttons">
+ <div class="donation-button">
+ <a title="Donate to VeraCrypt in Euros" href="https://www.paypal.com/ncp/payment/MN367WS3VY9ZU" target="_blank">
+ <img src="Donation_donate_Euros.gif" alt="Donate in Euros" width="92" height="26">
+ </a>
+ <div class="currency-label">Euro</div>
+ </div>
+ <div class="donation-button">
+ <a title="VeraCrypt Donation in USD" href="https://www.paypal.com/ncp/payment/MDY6S3XNCUQRW" target="_blank">
+ <img src="Donation_donate_Dollars.gif" alt="Donate in USD" width="92" height="26">
+ </a>
+ <div class="currency-label">US Dollar</div>
+ </div>
+ <div class="donation-button">
+ <a title="VeraCrypt Donation in GBP" href="https://www.paypal.com/ncp/payment/QLA86UP7S58H4" target="_blank">
+ <img src="Donation_donate_GBP.gif" alt="Donate in GBP" width="92" height="26">
+ </a>
+ <div class="currency-label">Pound Sterling</div>
+ </div>
+ <div class="donation-button">
+ <a title="VeraCrypt Donation in Canadian Dollar" href="https://www.paypal.com/ncp/payment/6KA5U56B9S2LS" target="_blank">
+ <img src="Donation_donate_Dollars.gif" alt="Donate in CAD" width="92" height="26">
+ </a>
+ <div class="currency-label">Canadian Dollar</div>
+ </div>
+ <div class="donation-button">
+ <a title="VeraCrypt Donation in Swiss Francs" href="https://www.paypal.com/ncp/payment/ZUD4RAVN3668G" target="_blank">
+ <img src="Donation_donate_CHF.gif" alt="Donate in CHF" width="92" height="26">
+ </a>
+ <div class="currency-label">Swiss Franc</div>
+ </div>
+ <div class="donation-button">
+ <a title="VeraCrypt Donation in Japanese Yen" href="https://www.paypal.com/ncp/payment/7VDVBU3HDMZWE" target="_blank">
+ <img src="Donation_donate_YEN.gif" alt="Donate in JPY" width="92" height="26">
+ </a>
+ <div class="currency-label">Japanese Yen</div>
+ </div>
+ <div class="donation-button">
+ <a title="VeraCrypt Donation in Australian Dollar" href="https://www.paypal.com/ncp/payment/JGW5REWFUUSJS" target="_blank">
+ <img src="Donation_donate_Dollars.gif" alt="Donate in AUD" width="92" height="26">
+ </a>
+ <div class="currency-label">Australian Dollar</div>
+ </div>
+ <div class="donation-button">
+ <a title="VeraCrypt Donation in Polish złoty" href="https://www.paypal.com/ncp/payment/YVFANME4Y9WFU" target="_blank">
+ <img src="Donation_donate_PLN.gif" alt="Donate in PLN" width="92" height="26">
+ </a>
+ <div class="currency-label">Polish złoty</div>
+ </div>
+</div>
+
+<p>For other currencies, select from the list below:</p>
+<form method="get" action="" id="currency-form" target="_blank">
+ <select name="currency" style="padding: 5px; margin-right: 10px;" required>
+ <option value="" disabled selected>Select your currency</option>
+ <option value="https://www.paypal.com/ncp/payment/MN367WS3VY9ZU">€ EUR - Euro</option>
+ <option value="https://www.paypal.com/ncp/payment/MDY6S3XNCUQRW">$ USD - US Dollar</option>
+ <option value="https://www.paypal.com/ncp/payment/JGW5REWFUUSJS">$ AUD - Australian Dollar</option>
+ <option value="https://www.paypal.com/ncp/payment/P8JABT6BWBQKG">R$ BRL - Brazilian Real</option>
+ <option value="https://www.paypal.com/ncp/payment/6KA5U56B9S2LS">$ CAD - Canadian Dollar</option>
+ <option value="https://www.paypal.com/ncp/payment/ZUD4RAVN3668G">₣ CHF - Swiss Franc</option>
+ <option value="https://www.paypal.com/ncp/payment/3LVJ8XBWNMCYQ">Kč CZK - Czech Koruna</option>
+ <option value="https://www.paypal.com/ncp/payment/542JDQZL74AZW">kr DKK - Danish Krone</option>
+ <option value="https://www.paypal.com/ncp/payment/QLA86UP7S58H4">£ GBP - British Pound</option>
+ <option value="https://www.paypal.com/ncp/payment/YXB526AAZACQ6">$ HKD - Hong Kong Dollar</option>
+ <option value="https://www.paypal.com/ncp/payment/VZBXSS49JNU6G">Ft HUF - Hungarian Forint</option>
+ <option value="https://www.paypal.com/ncp/payment/5FZRSA4VQ3UXA">₪ ILS - Israeli Shekel</option>
+ <option value="https://www.paypal.com/ncp/payment/7VDVBU3HDMZWE">¥ JPY - Japanese Yen</option>
+ <option value="https://www.paypal.com/ncp/payment/GAUPLADH3NV6S">$ MXN - Mexican Peso</option>
+ <option value="https://www.paypal.com/ncp/payment/6LGRTR5L7K5MQ">$ NZD - New Zealand Dollar</option>
+ <option value="https://www.paypal.com/ncp/payment/P5Z56HRYLSM6Q">kr NOK - Norwegian Krone</option>
+ <option value="https://www.paypal.com/ncp/payment/2AQ5GKLQJDLB8">₱ PHP - Philippine Peso</option>
+ <option value="https://www.paypal.com/ncp/payment/YVFANME4Y9WFU">zł PLN - Polish Złoty</option>
+ <option value="https://www.paypal.com/ncp/payment/542JDQZL74AZW">kr SEK - Swedish Krona</option>
+ <option value="https://www.paypal.com/ncp/payment/EFHP9Z9KL4H9N">S$ SGD - Singapore Dollar</option>
+ <option value="https://www.paypal.com/ncp/payment/QMSTMEMJ7UE3S">฿ THB - Thai Baht</option>
+ </select>
+ <input type="submit" value="Donate" style="padding: 5px 15px; background-color: #08aad7; color: white; border: none; cursor: pointer;">
+</form>
<hr>
@@ -73,14 +126,15 @@
<hr>
<h3 id="Bitcoin"><img src="BC_Logo_30x30.png" style="vertical-align: middle; margin-right: 5px">Bitcoin</h3>
<ul>
-<li><strong>Legacy:</strong>
-<p><img src="Donation_VeraCrypt_Bitcoin_small.png" alt="VeraCrypt Bitcoin Address" width="200" height="200"></p>
-<p><strong>14atYG4FNGwd3F89h1wDAfeRDwYodgRLcf</strong></p>
-</li>
<li><strong>SegWit:</strong>
<p><img src="Donation_VC_BTC_Sigwit.png" alt="VeraCrypt BTC SegWit Address" width="200" height="200"></p>
<p><strong>bc1q28x9udhvjp8jzwmmpsv7ehzw8za60c7g62xauh</strong></p>
</li>
+<li><strong>Legacy:</strong>
+<p><img src="Donation_VeraCrypt_Bitcoin_small.png" alt="VeraCrypt Bitcoin Address" width="200" height="200"></p>
+<p><strong>14atYG4FNGwd3F89h1wDAfeRDwYodgRLcf</strong></p>
+</li>
+
</ul>
<hr>
diff --git a/doc/html/donation.js b/doc/html/donation.js
new file mode 100644
index 00000000..2718bbc9
--- /dev/null
+++ b/doc/html/donation.js
@@ -0,0 +1,9 @@
+document.addEventListener('DOMContentLoaded', function() {
+ document.getElementById('currency-form').addEventListener('submit', function(e) {
+ e.preventDefault();
+ const select = this.querySelector('select');
+ if (select.value) {
+ window.open(select.value, '_blank');
+ }
+ });
+});
diff --git a/doc/html/styles.css b/doc/html/styles.css
index 6d9a5695..84c1515d 100644
--- a/doc/html/styles.css
+++ b/doc/html/styles.css
@@ -29,3 +29,54 @@
#menu li a:hover {
background-color: #111111;
}
+
+#currency-form select:hover, #currency-form input[type="submit"]:hover {
+ background-color: #111111;
+ color: white;
+}
+
+#currency-form select {
+ border: 1px solid #08aad7;
+ border-radius: 3px;
+}
+
+#currency-form input[type="submit"] {
+ border-radius: 3px;
+}
+
+.donation-buttons {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 15px;
+ margin: 20px 0;
+}
+
+.donation-button {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ min-width: 100px;
+}
+
+.donation-button a {
+ display: block;
+ text-decoration: none;
+}
+
+.donation-button img {
+ display: block;
+ max-width: 100%;
+ height: auto;
+}
+
+.currency-label {
+ margin-top: 5px;
+ text-align: center;
+ font-size: 0.9em;
+}
+
+.donation-button a:hover {
+ opacity: 0.9;
+ transform: translateY(-1px);
+ transition: all 0.2s ease;
+}