-
Notifications
You must be signed in to change notification settings - Fork 12
/
popup.html
105 lines (98 loc) · 5.1 KB
/
popup.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
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html>
<html>
<head>
<title>IP Geolocator</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="UTF-8">
<script src="js/constants.js" type="text/javascript"></script>
<script src="js/utils/LocalStorageProvider.js" type="text/javascript"></script>
<script src="js/models/GeoLocation.js" type="text/javascript"></script>
<link rel="stylesheet" href="css/material.min.css">
<script src="js/popup.js" type="text/javascript"></script>
<link rel="stylesheet" href="css/material_fonts.css">
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<link rel="stylesheet" href="css/main.css" />
</head>
<body>
<div class="ip-card-square mdl-card mdl-shadow--2dp">
<div class="mdl-card__title mdl-card--expand">
<h2 class="mdl-card__title-text">IP Address & Geolocation</h2>
</div>
<div class="mdl-card__supporting-text">
<div id="ipLocationInfo">
<div id="p2" class="mdl-progress mdl-js-progress mdl-progress__indeterminate"></div>
</div>
</div>
<div aria-live="assertive" aria-atomic="true" aria-relevant="text" class="mdl-snackbar mdl-js-snackbar">
<div class="mdl-snackbar__text"></div>
<button type="button" class="mdl-snackbar__action"></button>
</div>
<div class="mdl-card__actions mdl-card--border">
<a class="mdl-button mdl-button--icon mdl-js-button" href="options.html" target="_blank"
title="Open settings"><i class="material-icons">settings</i></a>
<a class="mdl-button mdl-button--icon mdl-js-button" href="https://panopticlick.eff.org/" target="_blank"
title="Check browser fingerprint"><i class="material-icons">fingerprint</i></a>
<a class="mdl-button mdl-button--icon mdl-js-button" href="https://dnsleaktest.com/" target="_blank"
title="Check for DNS leaks"><i class="material-icons">find_in_page</i></a>
<a class="mdl-button mdl-button--icon mdl-js-button"
href="https://www.google.com/intl/en/ipv6/statistics.html" target="_blank" title="View IPv6 adoption"><i
class="material-icons">bar_chart</i></a>
<a class="mdl-button mdl-button--icon mdl-js-button"
href="https://github.com/AykutCevik/Geolocate-IP-Browser-Extension" target="_blank"
title="View code on GitHub"><i class="material-icons">code</i></a>
<a class="mdl-button mdl-button--icon mdl-js-button"
href="https://play.google.com/store/apps/details?id=com.aykutcevik.ipgeolocator" target="_blank"
title="Android app"><i class="material-icons">android</i></a>
</div>
</div>
<script type="text/html" id="ipGeoMapView">
<a class="mdl-button mdl-js-button mdl-button--icon" title="Open location in OpenStreetMap"
href="http://www.openstreetmap.org/?mlat=TlatitudeT&mlon=TlongitudeT&zoom=12" target="_blank">
<i class="material-icons">map</i>
</a>
</script>
<script type="text/html" id="ipGeoLocationView">
<table class="mdl-data-table mdl-js-data-table">
<thead>
<tr>
<th class="mdl-data-table__cell--non-numeric"> </th>
<th class="mdl-data-table__cell--non-numeric">IPv4 <span id="mapIPV4"></span></th>
<th class="mdl-data-table__cell--non-numeric">IPv6 <span id="mapIPV6"></span></th>
</tr>
</thead>
<tbody>
<tr>
<td class="mdl-data-table__cell--non-numeric">IP</td>
<td class="mdl-data-table__cell--non-numeric">TipAddressT</td>
<td class="mdl-data-table__cell--non-numeric">T6ipAddressT6</td>
</tr>
<tr>
<td class="mdl-data-table__cell--non-numeric">City</td>
<td class="mdl-data-table__cell--non-numeric">TcityT</td>
<td class="mdl-data-table__cell--non-numeric">T6cityT6</td>
</tr>
<tr>
<td class="mdl-data-table__cell--non-numeric">Country</td>
<td class="mdl-data-table__cell--non-numeric">TcountryNameT</td>
<td class="mdl-data-table__cell--non-numeric">T6countryNameT6</td>
</tr>
<tr>
<td class="mdl-data-table__cell--non-numeric">Continent</td>
<td class="mdl-data-table__cell--non-numeric">TcontinentT</td>
<td class="mdl-data-table__cell--non-numeric">T6continentT6</td>
</tr>
<tr>
<td class="mdl-data-table__cell--non-numeric">Timezone</td>
<td class="mdl-data-table__cell--non-numeric">TtimezoneT</td>
<td class="mdl-data-table__cell--non-numeric">T6timezoneT6</td>
</tr>
<tr>
<td class="mdl-data-table__cell--non-numeric">User agent</td>
<td class="mdl-data-table__cell--non-numeric">TuserAgentT</td>
<td class="mdl-data-table__cell--non-numeric">T6userAgentT6</td>
</tr>
</tbody>
</table>
</script>
</body>
</html>