MozillaZine

seamonkey does not forbid big giant javascript alert

Discussion of bugs in Seamonkey
therube

User avatar
 
Posts: 18011
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted February 28th, 2016, 6:16 am

Do you have a URL for any pages that produce such pop-ups?


I ended up at some warez-like site, in an unprotected browser, but sandboxed (Sandboxie), when I ran across the dialog, so offhand, no.
But maybe I'll try to round one up later.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

barbaz
 
Posts: 1680
Joined: October 1st, 2014, 3:25 pm

Post Posted February 28th, 2016, 10:18 am

[deleted]
Last edited by barbaz on February 29th, 2016, 11:08 am, edited 1 time in total.
*Always* check the changelogs BEFORE updating that important software!

Andy Boze

User avatar
 
Posts: 2755
Joined: June 30th, 2005, 9:53 pm
Location: South Bend, IN

Post Posted February 28th, 2016, 10:53 pm

Michael REMY wrote:you can easily produce it yourself :

Yes, but you can just press the Esc key to dismiss it. If that's all it takes, it seems like a trivial problem. therube said he'd found some alert boxes that couldn't be dismissed using Esc, so that's what I was wanting to see.
But then again, I may be wrong.

Michael REMY
 
Posts: 307
Joined: December 19th, 2009, 2:27 am

Post Posted February 29th, 2016, 12:17 am

Andy Boze wrote:
Michael REMY wrote:you can easily produce it yourself :

Yes, but you can just press the Esc key to dismiss it. If that's all it takes, it seems like a trivial problem. therube said he'd found some alert boxes that couldn't be dismissed using Esc, so that's what I was wanting to see.

that was multiple alrtbox in row.
once you close one, a new one just open after !
like a crapy code like :
(for i=0;i<11i++;) alert ("crappy");

then you can just use ESC, because another will come. and off course, as it is giant, you can't have the time to forbid the reopen.

the next i catch, i will put the link here.

LordOfTheBored
 
Posts: 236
Joined: December 7th, 2005, 8:36 pm

Post Posted February 29th, 2016, 9:30 am

Michael REMY wrote:
Andy Boze wrote:
Michael REMY wrote:you can easily produce it yourself :

Yes, but you can just press the Esc key to dismiss it. If that's all it takes, it seems like a trivial problem. therube said he'd found some alert boxes that couldn't be dismissed using Esc, so that's what I was wanting to see.

that was multiple alrtbox in row.
once you close one, a new one just open after !
like a crapy code like :
(for i=0;i<11i++;) alert ("crappy");

then you can just use ESC, because another will come. and off course, as it is giant, you can't have the time to forbid the reopen.

the next i catch, i will put the link here.

That code will spawn 11 dialogs. We need to glitch that loop a bit!
(for i=1, i>0, i++) seems like it will get the intended effect, at least until we get an overflow error.

This concludes your daily dose of fun with infinite loops.

Andy Boze

User avatar
 
Posts: 2755
Joined: June 30th, 2005, 9:53 pm
Location: South Bend, IN

Post Posted March 2nd, 2016, 1:07 am

Try adding this code to your userChrome.css file.
Code: Select all
@-moz-document url(chrome://global/content/commonDialog.xul) {
   #commonDialog > grid {
      height: 100px !important;
      overflow-y: scroll !important;
   }
}

It should limit the height of any alert boxes that pop up. Maybe it will help.
But then again, I may be wrong.

Return to SeaMonkey Bugs


Who is online

Users browsing this forum: No registered users and 1 guest