-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
33 lines (29 loc) · 1.06 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title id="page_title">Dnero Explorer</title>
<link href="/public/favicon.png" rel="icon" type="image/png">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description"
content="Dnero Explorer allows you to explore and search the Dnero blockchain for blocks, transactions, addresses, stakes and other activities taking place on Dnero" />
<link rel="stylesheet" href="/public/css/styles.css">
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="app-root"></div>
<script type="text/javascript" src="public/js/app.js" charset="utf-8"></script>
<script>
document.addEventListener('copy', function (e) {
let text = window.getSelection().toString().trim();
if(!text.match(/^0x.*$/)) return;
text = text.replace(/[\n\r]+/g, '');
e.clipboardData.setData('text/plain', text);
e.preventDefault();
});
</script>
</body>
</html>