Skip to content

Commit 53d116c

Browse files
committed
Publish 2024-09-06
1 parent 16c9a57 commit 53d116c

File tree

1 file changed

+42
-17
lines changed

1 file changed

+42
-17
lines changed

qr/index.html

Lines changed: 42 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,36 @@
33

44
<head>
55
<meta charset="utf-8">
6-
<title>iOS QR code — Dark Reader</title>
6+
<title>QR code — Dark Reader</title>
77
<meta name="theme-color" content="#141e24">
88
<meta name="viewport" content="width=device-width, initial-scale=1">
99
<link rel="shortcut icon" href="/images/icon-256.png">
1010
<meta property="og:type" content="website">
1111
<meta property="og:site_name" content="Dark Reader">
12-
<meta property="og:url" content="https://darkreader.org/timeline">
13-
<meta property="og:title" content="iOS QR code — Download Dark Reader for Safari">
14-
<meta property="og:image" content="https://darkreader.org/images/icon-256.png">
15-
<meta property="og:description" content="We develop Dark Reader since 2014. Explore a timeline of our journey.">
16-
<meta name="description" content="We develop Dark Reader since 2014. Explore a timeline of our journey.">
17-
<meta http-equiv="refresh" content="1; url=https://apps.apple.com/us/app/dark-reader-for-safari/id1438243180?platform=iphone" />
12+
<meta property="og:url" content="https://darkreader.org/qr">
13+
<meta property="og:title" content="QR code — Download Dark Reader Mobile">
14+
<meta property="og:image" content="https://darkreader.org/images/qr-code.png">
15+
<meta property="og:description" content="Scan QR code and download Dark Reader.">
16+
<meta name="description" content="Scan QR code and download Dark Reader.">
17+
<!-- <meta http-equiv="refresh" content="1; url=https://apps.apple.com/us/app/dark-reader-for-safari/id1438243180?platform=iphone" /> -->
1818
<style>
1919
html {
20-
background-color: #1d1e22;
20+
background-color: #141e24;
2121
}
2222

2323
body {
24-
background-color: #1d1e22;
24+
background-color: #141e24;
2525
color: #c2bcb8;
2626
font-family: Helvetica Neue, sans-serif;
2727
max-width: 40em;
2828
margin: 0 auto;
2929
padding: 1em
3030
}
3131

32-
h1, h2, h3 {
32+
h1,
33+
h2,
34+
h3,
35+
h4 {
3336
color: #e96c4c;
3437
}
3538

@@ -41,23 +44,34 @@
4144
}
4245

4346
a {
44-
color: #68aed7;
47+
color: #53a1b3;
4548
}
4649
</style>
4750
</head>
4851

4952
<body>
5053
<a class="banner" href="/">
51-
<img class="banner__image" src="/images/darkreader-safari-banner.svg" />
54+
<img class="banner__image" src="/images/darkreader-main.svg" />
5255
</a>
5356

54-
<h2>
55-
Dark Reader for iOS
56-
</h2>
57+
<h3>
58+
Please wait while you are being redirected...
59+
</h3>
5760

5861
<p>
59-
Please wait while you are being redirected to<br>
60-
<a href="https://apps.apple.com/us/app/dark-reader-for-safari/id1438243180?platform=iphone">https://apps.apple.com/us/app/dark-reader-for-safari/id1438243180?platform=iphone</a>
62+
If you haven't been redirected automatically, please use the following installation links:
63+
</p>
64+
65+
<h3>Android</h3>
66+
<p>
67+
<a
68+
href="https://microsoftedgewelcome.microsoft.com/emmx/DarkReaderCollaboration">https://microsoftedgewelcome.microsoft.com/emmx/DarkReaderCollaboration</a>
69+
</p>
70+
71+
<h3>iOS & iPadOS</h3>
72+
<p>
73+
<a
74+
href="https://apps.apple.com/us/app/dark-reader-for-safari/id1438243180?platform=iphone">https://apps.apple.com/us/app/dark-reader-for-safari/id1438243180?platform=iphone</a>
6175
</p>
6276

6377
<footer>
@@ -68,6 +82,17 @@ <h2>
6882

6983
<script type="module" src="/elements/stats.js"></script>
7084

85+
<script defer>
86+
setTimeout(() => {
87+
const ua = navigator.userAgent.toLocaleLowerCase();
88+
if (ua.includes('iphone') || ua.includes('macintosh')) {
89+
location.replace('https://apps.apple.com/us/app/dark-reader-for-safari/id1438243180?platform=iphone');
90+
} else if (ua.includes('android')) {
91+
location.replace('https://microsoftedgewelcome.microsoft.com/emmx/DarkReaderCollaboration');
92+
}
93+
}, 2000);
94+
</script>
95+
7196
</body>
7297

7398
</html>

0 commit comments

Comments
 (0)