---
name: "up.popup.url"
area: "API"
kind: "JavaScript function"
parent: "up.layer module"
visibility: "deprecated"
url: "https://unpoly.com/api/up.popup.url"
---
<nav aria-label="Unpoly docs">[All docs](https://unpoly.com/index.md) · [up.layer module](https://unpoly.com/api/up.layer.md)</nav>

# up.popup.url()

**This feature has been deprecated**. Use [`up.layer.location`](https://unpoly.com/api/up.layer.location.md) instead.

Load [`unpoly-migrate.js`](https://unpoly.com/changes/upgrading.md) to polyfill deprecated features.

Returns the location URL of the fragment displayed in the current overlay.

---

## Return value {#return-value}

Type: string

