-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtooltips.html
73 lines (58 loc) · 2.94 KB
/
tooltips.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
<DOCTYPE HTML>
<html>
<head>
<title>
Spam Tooltip
</title>
<meta charset="utf-8">
</head>
<body>
Score: <span id="score"> </span>/14 <br><br>
Hi, <br>
Your <span id="error1" onclick="check(id)" title="Grammar issue here"> spark </span> client reward has arrived <br><br>
LOYALTY REWARD <br><br>
<span id="error2" onclick="check(id)" title="Grammar issue here"> What's is it and </span> how to claim it? <br>
We are celebrating our 3 milion subscribers during this pandemic
<span id="error3" onclick="check(id)" title="This sentence isn't sensiscal"> so we decided giving our loyal clients </span> a 100
<span id="error4" onclick="check(id)" title="NZ companies don't specify NZD">nzd </span> reward directly
<span id="error5" onclick="check(id)" title="Can't deposit to a bank card, only an account"> deposited to their bank card </span>. <br>
This gift card can be
<span id="error6" onclick="check(id)" title="Things aren't credited to cards in NZ"> credited directly to your card </span>
<span id="error7" onclick="check(id)" title="Grammar issue here"> Simply </span> follow the the 3 steps after clicking on "claim now" <br><br>
<a href="javascript:;" id="error8" onclick="check(id)" title="This url is shady"> Claim gift now </a> <br><br>
<span id="error9" onclick="check(id)" title="Money is usually deposited into an account"> The balance of the gift will be credited to your credit card </span> in
<span id="error10" onclick="check(id)" title="Grammar issue here"> the next 24 hour </span>
<span id="error11" onclick="check(id)" title="Grammar issue here">, It </span> will appear on your bank statement </span>
<span id = "eror12" onclick="check(id)" title="Grammar issue here">on the name </span>
<span id="error13" onclick="check(id)" title="Most bank references aren't that long">"gift card from SparkgiftsNz". </span> <br>
<span id="error14" onclick="check(id)" title="This is just a weird sentnece"> The credit balance can be used for personal use </span> <br><br>
The team at Spark <br><br>
Copyright 2021 © <br>
Spark New Zealand Trading Limited. <br>
All rights reserved <br><br>
<table border="1" id="myTable">
<tr>
<th>Issue</th>
<th>Reason</th>
</tr>
</table>
</body>
<script>
window.onload = function() {
document.getElementById("score").innerHTML = 0;
};
function check(issue) {
let score = Number(document.getElementById('score').innerHTML)
if (document.getElementById(issue).style.color.length == 0) {
document.getElementById(issue).style.color = "red";
document.getElementById('score').innerHTML = score + 1;
let table = document.getElementById("myTable");
var row = table.insertRow(-1);
var cell1 = row.insertCell(0);
var cell2 = row.insertCell(1);
cell1.innerHTML = document.getElementById(issue).innerHTML;
cell2.innerHTML = document.getElementById(issue).title;
}
}
</script>
</html>