eight04 / popup-tab

A Firefox addon, easily convert a tab into a popup and vice versa.
MIT License
17 stars 4 forks source link

Convert any popup into a normal window (tab) #3

Open eight04 opened 7 years ago

eight04 commented 7 years ago

https://addons.mozilla.org/zh-tw/firefox/addon/popup-tab/reviews/926206/

eight04 commented 7 years ago

A "popup" created by page script (window.open()) is actually a normal window (WindowType === "normal"), so it is impossible to determine whether the window is a popup (without the tab bar) and update the contextmenu.

I guess it would be better to use an addon like https://addons.mozilla.org/en-US/firefox/addon/otherwindow/?src=search