Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Page.WindowOpenEvent
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { WindowOpenEvent } = Protocol.Page;

Fired when a new window is going to be opened, via window.open(), link click, form submission, etc.

Properties

url: string

The URL for the new window.

windowName: string

Window name.

windowFeatures: string[]

An array of enabled window features.

userGesture: boolean

Whether or not it was triggered by user gesture.