Skip to content

Commit b02ad83

Browse files
committed
added blinkRed.js
1 parent a85e64d commit b02ad83

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Scripts that could be injected in MITM attacks using dSploit for Android.
1010
* move.js - Moves the page a few pixels up and then down constantly
1111
* rotate.js - Rotates images in webpage
1212
* reverse.js - Reverses images
13+
* blinkRed.js - Text is blinking red and black
1314

1415
## License
1516
The full license text is included in `LICENSE.txt`.

scripts.zip

283 Bytes
Binary file not shown.

scripts/blinkRed.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// Text is blinking red and black
2+
3+
<script type="text/javascript">
4+
window.onload=function() {
5+
var isRed = false;
6+
var selectAll = document.body;
7+
setInterval(function() {
8+
if (!isRed) {
9+
selectAll.style.color = "red";
10+
isRed = true;
11+
} else {
12+
selectAll.style.color = "black";
13+
isRed = false;
14+
}
15+
}, 100);
16+
}
17+
</script>

0 commit comments

Comments
 (0)