-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
55 lines (49 loc) · 1.16 KB
/
popup.html
File metadata and controls
55 lines (49 loc) · 1.16 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
<!DOCTYPE html>
<!--
This page is shown when the extension button is clicked, because the
"browser_action" field in manifest.json contains the "default_popup" key with
value "popup.html".
-->
<html>
<head>
<title>Media Bias/Fact Check Popup</title>
<style>
html {
width: 400px;
}
h1 {
margin-top: 0;
}
#factual {
font-weight: bold;
}
.HIGH {
color: #008000;
}
.MIXED {
color: #f60;
}
.LOW {
color: #f00;
}
</style>
<!--
- JavaScript and HTML must be in separate files: see our Content Security
- Policy documentation[1] for details and explanation.
-
- [1]: https://developer.chrome.com/extensions/contentSecurityPolicy
-->
<script src="browser.js"></script>
<script src="getTabSource.js"></script>
<script src="popup.js"></script>
</head>
<body>
<h1 id="bias"></h1>
<p id="description"></p>
<h2 id="name">
<a id="homepage" href=""></a>
</h2>
<p id="factualParagraph">Factual reporting: <span id="factual"></span></p>
<a id="more-info" href=""></a>
</body>
</html>