Jump to content

[JS] dialogue alert spam.

so i have made a simple JS thing that basically spams as much dialogue boxes as i want.

 
 <script>
for (i=0;i<9999999999;i++) {
alert("text");
}
</script>
 
on internet explorer you get one chance to stop this by clicking "dont allow this site to....." and then it keeps going.  you cannot interact with the browser , the only way out is task manager. im aiming this code towards non experienced users so they wont know what it is hopefully. but in chrome it says 
"stop this site from showing further dialouges" is there anyway i can stop this from coming up?
[edit: i posted it by accedent when i wasnt done]

>tfw no princessan 

my rig : Intel Xeon 1246-v3 , asus z97 sabertooth mark 1 , 16gb hyperx fury , 1tb wd black , 240gb hyperx 3k ssd , corsair 650w RM psu , hyper 212 evo , gtx 970 ,

and a cat

Link to comment
Share on other sites

Link to post
Share on other sites

I'm sorry, but I always find it fun calling out people like this:

v4HGqvZ.png

lol i get a mini heart attack when i notice that i do that 

>tfw no princessan 

my rig : Intel Xeon 1246-v3 , asus z97 sabertooth mark 1 , 16gb hyperx fury , 1tb wd black , 240gb hyperx 3k ssd , corsair 650w RM psu , hyper 212 evo , gtx 970 ,

and a cat

Link to comment
Share on other sites

Link to post
Share on other sites

-snip-

Why would you want that...

Chrome has that added so sites cannot mess with you like that (among other reasons too..)

If you really want to annoy people, add popups or something? 

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to comment
Share on other sites

Link to post
Share on other sites

I don't think you could disable it with any JavaScript... It's in place for precisely that reason. 

Link to comment
Share on other sites

Link to post
Share on other sites

MORE IMPORTANTLY WHY IS YOUR AVATAR SO CUUUUUUUUUUUUUUUUUUUUTTEEE~!! 

Current system - ThinkPad Yoga 460

ExSystems

Spoiler

Laptop - ASUS FX503VD

|| Case: NZXT H440 ❤️|| MB: Gigabyte GA-Z170XP-SLI || CPU: Skylake Chip || Graphics card : GTX 970 Strix || RAM: Crucial Ballistix 16GB || Storage:1TB WD+500GB WD + 120Gb HyperX savage|| Monitor: Dell U2412M+LG 24MP55HQ+Philips TV ||  PSU CX600M || 

 

Link to comment
Share on other sites

Link to post
Share on other sites

Why would you want that...

Chrome has that added so sites cannot mess with you like that (among other reasons too..)

If you really want to annoy people, add popups or something? 

you can still interact with the other tabs when popups are there

>tfw no princessan 

my rig : Intel Xeon 1246-v3 , asus z97 sabertooth mark 1 , 16gb hyperx fury , 1tb wd black , 240gb hyperx 3k ssd , corsair 650w RM psu , hyper 212 evo , gtx 970 ,

and a cat

Link to comment
Share on other sites

Link to post
Share on other sites

I don't think you could disable it with any JavaScript... It's in place for precisely that reason. 

dang flabbit

>tfw no princessan 

my rig : Intel Xeon 1246-v3 , asus z97 sabertooth mark 1 , 16gb hyperx fury , 1tb wd black , 240gb hyperx 3k ssd , corsair 650w RM psu , hyper 212 evo , gtx 970 ,

and a cat

Link to comment
Share on other sites

Link to post
Share on other sites

MORE IMPORTANTLY WHY IS YOUR AVATAR SO CUUUUUUUUUUUUUUUUUUUUTTEEE~!! 

YESSSSSSSSSSSSSSSSSSSS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

>tfw no princessan 

my rig : Intel Xeon 1246-v3 , asus z97 sabertooth mark 1 , 16gb hyperx fury , 1tb wd black , 240gb hyperx 3k ssd , corsair 650w RM psu , hyper 212 evo , gtx 970 ,

and a cat

Link to comment
Share on other sites

Link to post
Share on other sites

dang flabbit

 

Its a browser feature, one that I don't think you can change with any script. Why did you want to spam alerts anyway?

Link to comment
Share on other sites

Link to post
Share on other sites

Its a browser feature, one that I don't think you can change with any script. Why did you want to spam alerts anyway?

i like to do twitch raids , and getting people to click on annoying links is funny , its just that we have to make the links and stuff

[edit : changed "if funny" to "is funny" im making a lot of mistakes today ._.]

>tfw no princessan 

my rig : Intel Xeon 1246-v3 , asus z97 sabertooth mark 1 , 16gb hyperx fury , 1tb wd black , 240gb hyperx 3k ssd , corsair 650w RM psu , hyper 212 evo , gtx 970 ,

and a cat

Link to comment
Share on other sites

Link to post
Share on other sites

i like to do twitch raids , and getting people to click on annoying links is funny , its just that we have to make the links and stuff

[edit : changed "if funny" to "is funny" im making a lot of mistakes today ._.]

<html>  <head>  </head>  <body>    <script type="text/javascript">      var countdown = 99;      function annoy(){      if(countdown>0){      alert(countdown+" bottles of beer on the wall, "+countdown+" bottles of beer! Take one down,       pass it around, "+(countdown-1)+" bottles of beer on th      e wall!");      countdown--;      // Time must always be 1000 milliseconds, 999 or less causes the checkbox to appear      setTimeout(function(){      annoy();            }, 1000);         }      }      // Don't alert right away or Chrome will catch you      setTimeout(function(){      annoy();      }, 1000);  </script></body></html>

Found this which will stop it displaying the option, but won't spam it how you wanted and gives them the chance to close it before the next one appears... 

Link to comment
Share on other sites

Link to post
Share on other sites

<html>  <head>  </head>  <body>    <script type="text/javascript">      var countdown = 99;      function annoy(){      if(countdown>0){      alert(countdown+" bottles of beer on the wall, "+countdown+" bottles of beer! Take one down,       pass it around, "+(countdown-1)+" bottles of beer on th      e wall!");      countdown--;      // Time must always be 1000 milliseconds, 999 or less causes the checkbox to appear      setTimeout(function(){      annoy();            }, 1000);         }      }      // Don't alert right away or Chrome will catch you      setTimeout(function(){      annoy();      }, 1000);  </script></body></html>

Found this which will stop it displaying the option, but won't spam it how you wanted and gives them the chance to close it before the next one appears... 

 

interesting , i guess that must be the best i can do on chrome , but on internet explorer my code works fine

>tfw no princessan 

my rig : Intel Xeon 1246-v3 , asus z97 sabertooth mark 1 , 16gb hyperx fury , 1tb wd black , 240gb hyperx 3k ssd , corsair 650w RM psu , hyper 212 evo , gtx 970 ,

and a cat

Link to comment
Share on other sites

Link to post
Share on other sites

interesting , i guess that must be the best i can do on chrome , but on internet explorer my code works fine

 

First time I've seen IE work better than other browsers with JavaScript... Well, better for you anyway not so much the victim. 

Link to comment
Share on other sites

Link to post
Share on other sites

First time I've seen IE work better than other browsers with JavaScript... Well, better for you anyway not so much the victim. 

yea lol haha

>tfw no princessan 

my rig : Intel Xeon 1246-v3 , asus z97 sabertooth mark 1 , 16gb hyperx fury , 1tb wd black , 240gb hyperx 3k ssd , corsair 650w RM psu , hyper 212 evo , gtx 970 ,

and a cat

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×