New:Socket for Asana Is Now Available.Learn more
Get Started

@zachleat/browser-window

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zachleat/browser-window

Used in demos as a way to fake a Safari-esque web browser window.

latest
Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
34
41.67%
Maintainers
1
Weekly downloads
 
Created
Source

browser-window

A small themed zero-dependency Web Component for demos with a fake browser window (Safari-esque).

  • Go to the Demo
  • Read the blog post

“this is maybe my favoritest [web component] yet.”—Dave Rupert, President of Web Components

Installation

Via npm or download browser-window.js directly for use in your project.

npm install @zachleat/browser-window

Changelog

  • v2.0.0 URL bar now shows the full url by default (including pathname, searchParams, et al). Use url-mode="hostname-only" to swap back to previous behavior.

FAQs

Package last updated on 14 Nov 2025

Related posts