Robbi
unread,Jun 7, 2022, 4:15:00 AM6/7/22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium Extensions, salem...@gmail.com, Chromium Extensions, iwillcr...@gmail.com, Simeon Vincent
If this is of any interest, with Mozilla Firefox popup windows are opened in the center of the screen.
It is useless to set the properties "left" and "top".
I don't know if this is recent or if it has always been this way.
I have not tested "normal" windows.
Also I tried (just for fun) to move the window with browser.windows.update immediately after its creation. The command is ignored.
So I encapsulated the same update command in a 3 second delay setTimeout and the update now worked.
My thoughts to mozilla: "Thank Firefox, you did a favor by giving us the ability to create popups perfectly centered on the monitor without too much fuss,
on the other hand, you thwarted my attempt to simulate a notification with two buttons (that dear firefox do not support) with a popup window positioned at the bottom right and with two nice buttons inside. So shame on you".
My general thought to all browser vendors: "Sometimes it just seems that you don't sleep at night always thinking about new and original ways to break the fuck we developers are always forced to adapt or rewrite code (of course always in the name of greater "security")"