Skip to content

Issue with "Window.open()": Can't make "popup" work #11988

@johaneven

Description

@johaneven

MDN URL: https://developer.mozilla.org/en-US/docs/Web/API/Window/open

What information was incorrect, unhelpful, or incomplete?

The popup description is for me a bit unclear. For instance "minimal UI parts"...what does that mean? Does it mean that the address bar is not visible?

Specific section or headline?

Popup feature

What did you expect to see?

Did you test this? If so, how?

@page
@model IndexModel
@{
ViewData["Title"] = "Home page";
}

<script> var windowObjectReference; var windowFeatures = "popup=yes"; function openRequestedPopup() { windowObjectReference = window.open("https://edition.cnn.com/asia/live-news/novak-djokovic-australia-visa-01-13-22/index.html", "CNN_WindowName", windowFeatures); } </script>

The popup looks exactly the same regardless if I use "popup=yes" or not. I've tried this on Chrome Version 97.0.4692.71 (Official Build) (64-bit) as well as Chrome Version 98.0.4758.54 (Officiell version) beta (64 bitar).

MDN Content page report details

Metadata

Metadata

Assignees

No one assigned

    Labels

    Content:WebAPIWeb API docseffort: smallThis task is a small effort.help wantedIf you know something about this topic, we would love your help!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions