-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathindex.html
33 lines (33 loc) · 862 Bytes
/
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
<html>
<head>
<title>Linkedin post date extractor</title>
<style>
body {
margin: 1em;
font-family: "Helvetica", Arial, sans-serif;
font-size: 18px;
}
button, input {
font-size: 16px;
}
.form {
margin-bottom: 1em;
}
</style>
</head>
<body>
<script type="text/javascript" src="./extractor.js"></script>
<div class="form">
<label for="url">Linkedin post URL:</label>
<input type="text" id="url" name="url" />
<button onclick="getDate()">Get uploaded date</button>
<button onclick="clearUrlField()">Clear URL</button>
</div>
<div class="output">
<span id="label">Uploaded on: </span>
<span id="localtime"></span><br><br>
<span id="label2">UTC: </span>
<span id="date"></span>
</div>
</body>
</html>