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?
how to start Mozilla/Phoenix with a popup?
- michel v
- Posts: 145
- Joined: November 5th, 2002, 8:54 am
- Location: Corsica
- Contact:
-
- Posts: 20
- Joined: November 5th, 2002, 4:20 am
- Contact:
Show only popup window
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.
<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
- Posts: 145
- Joined: November 5th, 2002, 8:54 am
- Location: Corsica
- Contact:
-
- Posts: 1269
- Joined: November 5th, 2002, 7:32 am
- Location: PA
- Contact:
chrome
Rework it as chrome. Probably 2 lines of XUL would do it. Chrome doesn't have the popup restriction.