-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
87 lines (70 loc) · 4.13 KB
/
index.html
File metadata and controls
87 lines (70 loc) · 4.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<!-- Metadata -->
<meta charset="utf-8" />
<meta name="author" content="wahyu9kdl" />
<meta name="description" content="Password protect links using AES in the browser." />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<title>Link Lock Awdev - Password-protect links Created wahyu9kdl</title>
<!-- Styles -->
<link rel="stylesheet" href="style.css" type="text/css" />
<!-- Scripts -->
<script type="text/javascript" src="b64.js"></script>
<script type="text/javascript" src="api.js"></script>
<script type="text/javascript" src="index.js"> </script>
<link href="https://ad.doubleclick.net" rel="dns-prefetch"/>
<link href="https://pagead2.googlesyndication.com" rel="dns-prefetch"/>
<link href="https://googleads.g.doubleclick.net" rel="dns-prefetch"/>
<link href="https://tpc.googlesyndication.com" rel="dns-prefetch"/>
<link href="https://adservice.google.com" rel="dns-prefetch"/>
<link href="https://secureads.g.doubleclick.net" rel="dns-prefetch"/>
<link href="https://www.googletagservices.com" rel="dns-prefetch"/>
<link rel="preload" as="script" href="https://securepubads.g.doubleclick.net/tag/js/gpt.js"/>
<meta name="google-site-verification" content="YVxLT_hnJJLMCD3SSRuUDN6bsekh4oc_pJ9AvlOTROg" />
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-HHJFFHD70K"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-HHJFFHD70K');
</script>
<meta name="google-adsense-account" content="ca-pub-8113726015720108">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8113726015720108"
crossorigin="anonymous"></script>
<script async custom-element="amp-auto-ads"
src="https://cdn.ampproject.org/v0/amp-auto-ads-0.1.js">
</script>
</head>
<body onload="main()">
<!-- Explanation for those who do not have JavaScript enabled -->
<noscript><amp-auto-ads type="adsense"
data-ad-client="ca-pub-8113726015720108">
</amp-auto-ads>
<div class="red-border">
<p>If you are seeing this, it means that you have JavaScript disabled. Please enable JavaScript to access the locked link.</p>
<p>This application is entirely programmed in JavaScript. This was done intentionally, so that all encryption and decryption happens client-side. This means the code runs as a distributed application, relying only on GitHub Pages for infrastructure. It also means that no data about locked links is ever stored on a server. The code is designed to be auditable so users can investigate what is happening behind the scenes.</p>
<p>If you still want to run the application, I encourage you to clone the <a href="https://github.com/wahyu9kdl/link-lock">source code on GitHub</a>. That way you can disable JavaScript only for trusted files on your local machine.</p>
</div>
</noscript>
<!-- Display errors in a big red box -->
<div class="error red-border" style="display: none">
<p id="errortext">Error</p>
<button onclick="main()">Try again</button>
<a href="https://wahyu9kdl.github.io/link-lock"><button>Lock a link</button></a>
<a href="https://wahyu9kdl.github.io/link-lock/decrypt/" id="no-redirect" target="_blank"><button>Decrypt without redirect</button></a>
<a href="https://wahyu9kdl.github.io/link-lock/hidden/" id="hidden" target="_blank"><button>Create hidden bookmark</button></a>
</div>
<div
class="DePayButton"
label="Pay"
widget="Payment"
configuration='{"accept":[{"blockchain":"ethereum","amount":20,"token":"0xb211dbd5bcecf7a8b47b5ab4b5826a52830b9514","receiver":"0xfdd2b5ba05c21b1fd387f53ffc001aca512d6877"}]}'
></div>
<script src="https://integrate.depay.fi/buttons/v6.js"></script>
<noscript><a href="http://www.awdev.my.id/home.html">Web3 Payments Awdev Corporation</a> are currently only supported with JavaScript enabled.</noscript>
<script>DePayButtons.init({document: document});</script>
</body>
</html>