seamonkey does not forbid big giant javascript alert

Discussion of bugs in Seamonkey
User avatar
therube
Posts: 21703
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Re: seamonkey does not forbid big giant javascript alert

Post by therube »

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.
Fire 750, bring back 250.
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: 1504
Joined: October 1st, 2014, 3:25 pm

Re: seamonkey does not forbid big giant javascript alert

Post by barbaz »

[deleted]
Last edited by barbaz on February 29th, 2016, 11:08 am, edited 1 time in total.
User avatar
Andy Boze
Posts: 2755
Joined: June 30th, 2005, 9:53 pm
Location: South Bend, IN

Re: seamonkey does not forbid big giant javascript alert

Post by Andy Boze »

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: 323
Joined: December 19th, 2009, 2:27 am

Re: seamonkey does not forbid big giant javascript alert

Post by Michael REMY »

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: 307
Joined: December 7th, 2005, 8:36 pm

Re: seamonkey does not forbid big giant javascript alert

Post by LordOfTheBored »

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.
User avatar
Andy Boze
Posts: 2755
Joined: June 30th, 2005, 9:53 pm
Location: South Bend, IN

Re: seamonkey does not forbid big giant javascript alert

Post by Andy Boze »

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.
Post Reply