Here’s a helpful, practical feature using window.open() with useful features — a that opens a centered, resizable, focused child window with safe defaults and a fallback for popup blockers.
, 500);
return popup;
// Store reference window.popupRef = popup; window.open features