-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtooltips.php
More file actions
32 lines (24 loc) · 728 Bytes
/
tooltips.php
File metadata and controls
32 lines (24 loc) · 728 Bytes
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
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>AdBlock Filter Categories</title>
<link rel="stylesheet" href="style.css">
<script type="module" src="tooltips.js"></script>
</head>
<body>
<h1>
AdBlock Filter Categories
</h1>
<div id="viewer">
</div>
<script type="module">
import { tooltips } from './tooltips.js';
let viewer = document.getElementById('viewer');
for ( let key in tooltips ) {
let descriptionText = `<h2><span class="` + key + `">` + key + `</span></h2>` + tooltips[key];
descriptionText = `<div style="border:1px solid black; width: 600px;">` + descriptionText + "</div>";
viewer.innerHTML += descriptionText;
}
</script>
</body>
</html>