File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed
Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ Scripts that could be injected in MITM attacks using dSploit for Android.
1111* rotate.js - Rotates images in webpage
1212* reverse.js - Reverses images
1313* blinkRed.js - Text is blinking red and black
14+ * textSize.js - Increasing and decreasing text size
1415
1516## License
1617The full license text is included in ` LICENSE.txt ` .
Original file line number Diff line number Diff line change 1+ // Increasing and decreasing text size
2+
3+ < script type = "text/javascript" >
4+ window.onload = function() {
5+ var size = 1.0
6+ var up = true ;
7+
8+ setInterval ( function ( ) {
9+ document . body . style . fontSize = size + "em" ;
10+ if ( up )
11+ size += 1 ;
12+ else
13+ size -= 1 ;
14+ if ( size == 10 )
15+ up = false ;
16+ if ( size == 0 )
17+ up = true ;
18+ } , 100 ) ;
19+ }
20+ </ script >
You can’t perform that action at this time.
0 commit comments