MozillaZine

how to start Mozilla/Phoenix with a popup?

Discussion of general topics about Seamonkey
michel v

User avatar
 
Posts: 145
Joined: November 5th, 2002, 8:54 am
Location: Corsica

Post Posted November 14th, 2002, 4:30 am

I have some bookmarklet that opens a popup window (using window.open) to add content to my website (a functionnality most weblog tools provide), and I was thinking about how cool it would be to just have a shortcut to this bookmarklet on the desktop.

So, is there a way to call Mozilla/Phoenix to just display a popup window?

ThomasB
 
Posts: 20
Joined: November 5th, 2002, 4:20 am

Post Posted November 14th, 2002, 6:21 am

You can put a html file like this one on your desktop:

<HTML>
<BODY onLoad="window.open('url','popupwin','width=440,height=380,top=40,left=60'); window.close();">
</BODY>
</HTML>

It opens the popup and then closes itself, so you have only the popup window.

michel v

User avatar
 
Posts: 145
Joined: November 5th, 2002, 8:54 am
Location: Corsica

Post Posted November 14th, 2002, 6:44 am

It won't work when Phoenix is set to disable unrequested popup windows though. :(

Ted Mielczarek
 
Posts: 1269
Joined: November 5th, 2002, 7:32 am
Location: PA

Post Posted November 14th, 2002, 7:58 am

Rework it as chrome. Probably 2 lines of XUL would do it. Chrome doesn't have the popup restriction.

Return to SeaMonkey General


Who is online

Users browsing this forum: No registered users and 2 guests