-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
261 lines (213 loc) · 9.3 KB
/
Copy pathindex.html
File metadata and controls
261 lines (213 loc) · 9.3 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<title>Device Info | T Rohan Kini</title>
<link rel="icon" href="/favicon.png" />
<meta itemprop="name" content="T Rohan Kini - Device Info" />
<meta
itemprop="description"
content="Advanced device diagnostics dashboard by T Rohan Kini."
/>
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
rel="stylesheet"
crossorigin="anonymous"
/>
<link href="/static/css/main.658b38dc.css" rel="stylesheet" />
<link href="/static/css/style.css" rel="stylesheet" />
<!-- seo -->
<title>Advanced Device Info & Diagnostics | T Rohan Kini</title>
<meta name="description"
content="Advanced device diagnostics dashboard by T Rohan Kini. View device info, IP, location, battery, network speed, hardware details, keyboard, mouse and system insights in real time." />
<meta name="keywords"
content="device info, device diagnostics, browser information, IP location, internet speed test, system insights, hardware details, keyboard mouse tracker, web diagnostics tool" />
<meta name="author" content="T Rohan Kini" />
<meta name="robots" content="index, follow" />
<link rel="canonical" href="https://www.rohantkini.in/device-info" />
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebApplication",
"name": "Advanced Device Info Dashboard",
"url": "https://www.rohantkini.in/device-info",
"author": {
"@type": "Person",
"name": "T Rohan Kini",
"url": "https://www.rohantkini.in"
},
"applicationCategory": "DeveloperApplication",
"operatingSystem": "All",
"description": "Real-time device diagnostics tool showing hardware, network, browser, and environment details."
}
</script>
<!-- Open Graph / Meta -->
<meta property="og:type" content="website" />
<meta property="og:title"
content="Advanced Device Info & Diagnostics | T Rohan Kini" />
<meta property="og:description"
content="Explore real-time device diagnostics including hardware, battery, IP, network speed, keyboard, mouse and system insights." />
<meta property="og:url" content="https://www.rohantkini.in/device-info" />
<meta property="og:image" content="https://www.rohantkini.in/assets/device-info-preview.png" />
<meta property="og:site_name" content="T Rohan Kini" />
<!-- X (Twitter) Cards -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title"
content="Advanced Device Info & Diagnostics | T Rohan Kini" />
<meta name="twitter:description"
content="A powerful web-based device diagnostics tool showing real-time system, network and browser insights." />
<meta name="twitter:image"
content="https://www.rohantkini.in/assets/device-info-preview.png" />
<meta name="twitter:creator" content="@rohantkini" />
<style>
.section-title {
margin: 40px 0 20px;
font-weight: 600;
}
.activity-box {
background: rgba(255,255,255,0.08);
border-radius: 10px;
padding: 15px;
color: #fff;
margin-top: 15px;
}
</style>
</head>
<body class="rk1">
<div id="root"></div>
<div class="container my-5">
<main class="details text-center">
<!-- ================= EXISTING CONTENT ================= -->
<h2 class="section-title">Your <span class="rk">Device Info</span></h2>
<div id="device"></div>
<div id="battery" class="my-4">
<div class="d-flex justify-content-center">
<div id="cell"></div>
</div>
<div id="indicator" class="mt-5">
<img src="charge.png" alt="Charging indicator">
</div>
</div>
<h2 class="section-title">Your <span class="rk">IP & Location</span></h2>
<div id="iplocation"></div>
<div class="loader-widget my-4">
<div class="loader-content">
<div class="content"></div>
</div>
<div class="loader d-none"></div>
<button class="btn btn-primary speed-btn">Check Internet Speed</button>
</div>
<h2 class="section-title">Your <span class="rk">Keyboard Activity</span></h2>
<div class="activity-box mx-auto" style="max-width:420px;">
<p>Pressed Key: <span class="rk" id="keyName">—</span></p>
<p>Key Code: <span class="rk" id="keyCode">—</span></p>
<p>Modifiers: <span class="rk" id="modifiers">—</span></p>
<p>Last Keys: <span class="rk" id="keyHistory">—</span></p>
</div>
<h2 class="section-title">Your <span class="rk">Mouse Activity</span></h2>
<div class="activity-box mx-auto" style="max-width:420px;">
<p>Position: <span class="rk" id="mousePos">X: 0 , Y: 0</span></p>
<p>Last Click: <span class="rk" id="mouseClick">—</span></p>
</div>
<h2 class="section-title">Page <span class="rk">Status</span></h2>
<div class="activity-box mx-auto" style="max-width:420px;">
<p>Visibility: <span class="rk" id="pageStatus">Active</span></p>
</div>
<h2 class="section-title">Clipboard <span class="rk">Activity</span></h2>
<div class="activity-box mx-auto" style="max-width:420px;">
<p>Last Action: <span class="rk" id="clipboardStatus">—</span></p>
</div>
<!-- ================= NEW FEATURES (HTML-2) ================= -->
<h2 class="section-title">System <span class="rk">Insights</span></h2>
<div class="activity-box mx-auto" style="max-width:420px;">
<p>Date & Time: <span class="rk" id="liveTime">—</span></p>
<p>Network Type: <span class="rk" id="networkType">—</span></p>
<p>Touch Support: <span class="rk" id="touchSupport">—</span></p>
<p>Orientation: <span class="rk" id="orientation">—</span></p>
</div>
<h2 class="section-title">Hardware <span class="rk">Details</span></h2>
<div class="activity-box mx-auto" style="max-width:420px;">
<p>CPU Cores: <span class="rk" id="cpuCores">—</span></p>
<p>Device Memory: <span class="rk" id="deviceMemory">—</span></p>
<p>Screen Resolution: <span class="rk" id="screenRes">—</span></p>
<p>Pixel Ratio: <span class="rk" id="pixelRatio">—</span></p>
</div>
<h2 class="section-title">Environment <span class="rk">Info</span></h2>
<div class="activity-box mx-auto" style="max-width:420px;">
<p>Browser Language: <span class="rk" id="browserLang">—</span></p>
<p>Volume Control Support: <span class="rk" id="volumeSupport">—</span></p>
<p>Charging Status: <span class="rk" id="chargingStatus">—</span></p>
</div>
</main>
</div>
<footer class="bg-dark text-center text-white">
<div class="p-3" style="background-color: rgba(0,0,0,0.5);">
Copywrite © 2026 :
<a class="text-white" href="https://www.rohantkini.in/">T Rohan Kini</a>
</div>
</footer>
<!-- ================= SCRIPTS ================= -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/ua-parser-js@1.0.2/src/ua-parser.min.js"></script>
<script defer src="/static/js/main.d2d72bf3.js"></script>
<script type="module" src="main1.js"></script>
<script type="module" src="main2.js"></script>
<script>
/* Speed Test */
document.querySelector(".speed-btn").addEventListener("click", () => {
const img = new Image();
const start = Date.now();
img.src = "https://upload.wikimedia.org/wikipedia/commons/3/3e/Tokyo_Sky_Tree_2012.JPG?" + start;
img.onload = () => {
const speed = (((8185374 * 8) / ((Date.now() - start)/1000)) / 1024 / 1024).toFixed(2);
document.querySelector(".content").innerHTML = `<h3>${speed} Mbps</h3>`;
};
});
/* Keyboard */
const history = [];
document.addEventListener("keydown", e => {
keyName.innerText = e.key === " " ? "Space" : e.key;
keyCode.innerText = e.keyCode;
const mods = [];
if (e.ctrlKey) mods.push("Ctrl");
if (e.shiftKey) mods.push("Shift");
if (e.altKey) mods.push("Alt");
modifiers.innerText = mods.length ? mods.join("+") : "None";
history.unshift(e.key);
if (history.length > 5) history.pop();
keyHistory.innerText = history.join(", ");
});
/* Mouse */
document.addEventListener("mousemove", e => mousePos.innerText = `X: ${e.clientX} , Y: ${e.clientY}`);
document.addEventListener("mousedown", e => mouseClick.innerText = ["Left","Middle","Right"][e.button] + " Click");
/* Page Visibility */
document.addEventListener("visibilitychange", () =>
pageStatus.innerText = document.hidden ? "Inactive" : "Active"
);
/* Clipboard */
["copy","cut","paste"].forEach(evt =>
document.addEventListener(evt, () => clipboardStatus.innerText = evt.charAt(0).toUpperCase()+evt.slice(1))
);
/* System Insights */
setInterval(() => liveTime.innerText = new Date().toLocaleString(), 1000);
networkType.innerText = (navigator.connection || {}).effectiveType || "Unknown";
touchSupport.innerText = ("ontouchstart" in window) ? "Supported" : "Not Supported";
function updateOrientation(){orientation.innerText = innerWidth > innerHeight ? "Landscape" : "Portrait";}
addEventListener("resize", updateOrientation); updateOrientation();
cpuCores.innerText = navigator.hardwareConcurrency || "Unknown";
deviceMemory.innerText = navigator.deviceMemory ? navigator.deviceMemory + " GB" : "Unknown";
screenRes.innerText = `${screen.width} x ${screen.height}`;
pixelRatio.innerText = devicePixelRatio;
browserLang.innerText = navigator.language;
volumeSupport.innerText = ("AudioContext" in window) ? "Supported" : "Not Supported";
/* Battery */
if (navigator.getBattery) {
navigator.getBattery().then(b =>
chargingStatus.innerText = b.charging ? "Charging" : "Not Charging"
);
}
</script>
</body>
</html>