Skip to content

Commit 3709299

Browse files
committed
Publish 2026-01-15
1 parent b694869 commit 3709299

File tree

4 files changed

+33
-10
lines changed

4 files changed

+33
-10
lines changed

elements/locales.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -645,6 +645,29 @@ export const isEUCountry = [
645645
'SK',
646646
].includes(country);
647647

648+
const stripeCountries = [
649+
'US',
650+
'GB',
651+
'GG',
652+
'IM',
653+
'JE',
654+
'AU',
655+
'JP',
656+
'TW',
657+
'CN',
658+
'NO',
659+
'SJ',
660+
'NZ',
661+
'TH',
662+
'HK',
663+
'SG',
664+
'MY',
665+
'ZA',
666+
];
667+
668+
export const isStripeCountry = stripeCountries.includes(country);
669+
export const isPaddleCountry = !isStripeCountry;
670+
648671
export const offer = (() => {
649672
return null;
650673
/*

elements/pay-tiers.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// @ts-check
22

3-
import {country, isEdge, isEUCountry, offer} from './locales.js';
3+
import {country, isEdge, isEUCountry, isPaddleCountry, isStripeCountry, offer} from './locales.js';
44
import {initPaddle} from './paddle.js';
55
import {clicker} from './stats.js';
66
import {
@@ -316,7 +316,7 @@ const htmlText = `
316316
<a class="button-link button-link--paypal button-link--inactive js-link-paypal" href="${DEFAULT_LINK_PAYPAL}" target="_blank" rel="noopener" data-s="d-side-paypal">
317317
<span class="button-link__text"><span data-text="pay_with">Pay with</span> <span class="button-link__text--paypal">PayPal</span></span>
318318
</a>
319-
<a class="button-link button-link--card js-link-stripe" href="${DEFAULT_LINK_STRIPE}" target="_blank" rel="noopener" data-s="d-side-stripe">
319+
<a class="button-link button-link--card ${isStripeCountry ? '' : 'button-link--inactive '}js-link-stripe" href="${DEFAULT_LINK_STRIPE}" target="_blank" rel="noopener" data-s="d-side-stripe">
320320
<!--
321321
<i class="button-link__card-icon js-card-icon"></i>
322322
-->
@@ -328,7 +328,7 @@ const htmlText = `
328328
<a class="button-link button-link--other button-link--inactive js-link-other" href="${Links.Redirect.CORPORATE}" target="_blank" rel="noopener" data-s="d-side-other">
329329
<span class="button-link__text" data-text="more">Contact us</span>
330330
</a>
331-
<a class="button-link button-link--paddle button-link--inactive js-link-paddle" href="#pay" data-s="d-side-paddle">
331+
<a class="button-link button-link--paddle ${isPaddleCountry ? '' : 'button-link--inactive '}js-link-paddle" href="#pay" data-s="d-side-paddle">
332332
<span class="button-link__text">
333333
<span data-text="pay">Pay</span>
334334
<span class="${offer ? 'js-price-discount' : 'js-price-regular'}">${offer ? DEFAULT_PRICE_DISCOUNT : DEFAULT_PRICE_REGULAR}</span>

elements/plus-tiers.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// @ts-check
22

3-
import {country, isEUCountry, offer} from './locales.js';
3+
import {country, isEUCountry, isPaddleCountry, isStripeCountry, offer} from './locales.js';
44
import {initPaddle} from './paddle.js';
55
import {clicker} from './stats.js';
66
import {
@@ -172,7 +172,7 @@ const htmlText = `
172172
<span class="button-link__text">Pay with <span class="button-link__text--paypal">PayPal</span></span>
173173
</a>
174174
-->
175-
<a class="button-link button-link--card js-link-stripe" href="${DEFAULT_LINK_STRIPE}" target="_blank" rel="noopener" data-s="d-plus-stripe">
175+
<a class="button-link button-link--card ${isStripeCountry ? '' : 'button-link--inactive '}js-link-stripe" href="${DEFAULT_LINK_STRIPE}" target="_blank" rel="noopener" data-s="d-plus-stripe">
176176
<!--
177177
<i class="button-link__card-icon js-card-icon"></i>
178178
<span class="button-link__text" data-text="card">Debit or Credit Card</span>
@@ -186,13 +186,13 @@ const htmlText = `
186186
<a class="button-link button-link--other button-link--inactive js-link-other" href="${Links.Redirect.CORPORATE}" target="_blank" rel="noopener" data-s="d-plus-other">
187187
<span class="button-link__text" data-text="more">More options</span>
188188
</a>
189-
<a class="button-link button-link--paddle js-link-paddle" href="#pay" data-s="d-plus-paddle">
189+
-->
190+
<a class="button-link button-link--paddle ${isPaddleCountry ? '' : 'button-link--inactive '}js-link-paddle" href="#pay" data-s="d-plus-paddle">
190191
<span class="button-link__text">
191192
<span data-text="pay">Pay</span>
192193
<span class="${offer ? 'js-price-discount' : 'js-price-regular'}">${offer ? DEFAULT_PRICE_DISCOUNT : DEFAULT_PRICE_PLUS}</span>
193194
</span>
194195
</a>
195-
-->
196196
</div>
197197
<div class="payment-methods">
198198
<!--

privacy/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ <h1>Privacy Policy</h1>
2222

2323
<h3>Personal Data</h3>
2424
<p>
25-
Dark Reader has never collected and will never collect any personal data, browsing history, etc.
25+
Dark Reader extension has never collected and will never collect any personal data, browsing history, etc.
2626
</p>
2727

2828
<h3>Technical Data</h3>
@@ -44,7 +44,7 @@ <h3>Settings</h3>
4444

4545
<h3>Payments</h3>
4646
<p>
47-
Payments related to Dark Reader for Chrome/Edge/Firefox are processed by Stripe and PayPal.
47+
Payments related to Dark Reader for Chrome/Edge/Firefox are processed by Stripe, PayPal or another payment provider.
4848
We may use your email address to contact you regarding your payment.
4949
</p>
5050
<p>
@@ -60,7 +60,7 @@ <h3>The Website</h3>
6060
The language and time zone of a visitor are sent anonymously to the web server.
6161
</p>
6262
<small>
63-
Updated: November 27, 2024
63+
Updated: January 15, 2026
6464
(see <a href="https://github.com/darkreader/darkreader.org/commits/main/www/privacy/index.html">update history</a>)
6565
</small>
6666
<script>

0 commit comments

Comments
 (0)