-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpopup.html
More file actions
40 lines (29 loc) · 1.04 KB
/
popup.html
File metadata and controls
40 lines (29 loc) · 1.04 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
<!--
How this program works:
The popup.js file sends a message "Clicked" to content.js when the hackButton is pressed in popup.html
content.js then receives this message and knows to hack the page i.e. make it editable
This is done by putting this in the console:
document.body.contentEditable = 'true'
-->
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="styles.css">
<title>Hack This Page?</title>
</head>
<body>
<!-- Title -->
<h1 id="title">Hack This Page?</h1>
<!-- Hack Button -->
<button id="hackButton">HACK</button>
<!-- Tutorial -->
<p><a href="https://youtu.be/678LAl7E76U" target="_blank" id="tutorial">Tutorial</a>
<a href="https://chromewebstore.google.com/detail/hack-this-page/nfnancecciahmmbdmjnlojmnmdlofkjc/reviews"
target="_blank" id="tutorial">Leave a review</a>
</p>
<!-- Credit -->
<p id="credits">Developed by <a target="_blank" href="https://youtube.com/@Virej?sub_confirmation=1">@VirejDasani</a>
</p>
<script src="popup.js"></script>
</body>
</html>