Just in case anyone is wondering, I think that this official documentation says it is quite possible to have a clean popup window. However, I’m not sure it’s that clear.
Example:
globalThis.open("https://URL", undefined, "noopener,popup");
and then:
“To check if a window feature is set, given tokenizedFeatures, featureName, and defaultValue:”
“To check if a popup window is requested, given tokenizedFeatures”
It seems sort of complex now.
https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-open-dev
To check if a popup window is requested, given tokenizedFeatures:
1. If tokenizedFeatures is empty, then return false.
2. If tokenizedFeatures["popup"] exists, then return the result of parsing tokenizedFeatures["popup"] as a boolean feature.
3. Let location be the result of checking if a window feature is set, given tokenizedFeatures, "location", and false.
4. Let toolbar be the result of checking if a window feature is set, given tokenizedFeatures, "toolbar", and false.
5. If location and toolbar are both false, then return true.
6. Let menubar be the result of checking if a window feature is set, given tokenizedFeatures, "menubar", and false.
7. If menubar is false, then return true.
8. Let resizable be the result of checking if a window feature is set, given tokenizedFeatures, "resizable", and true.
9. If resizable is false, then return true.
10. Let scrollbars be the result of checking if a window feature is set, given tokenizedFeatures, "scrollbars", and false.
11. If scrollbars is false, then return true.
12. Let status be the result of checking if a window feature is set, given tokenizedFeatures, "status", and false.
13. If status is false, then return true.
14. Return false.
Lost about how this applies to a real example. . . Anyway, it is not my time for this yet, as I was already stretching my abilities to meddle with JS.