Exit This Page
This module adds an "Exit this page" banner to your Drupal site, allowing users to quickly and discreetly leave the current page without leaving a trace in their browsing history. It includes a sticky banner, a keyboard shortcut, screen reader announcements, and a configurable exit URL.
Exit This Page provides the GOV.UK Design System "Exit this page" pattern for Drupal. Content editors can flag pages with a prominent banner that allows a user to leave the site quickly and discreetly, without leaving a trace in their browsing history.
Features
- A sticky banner with a one-click exit link, shown on flagged content only.
- A keyboard shortcut (pressing Shift three times within five seconds) that triggers the same exit, for keyboard users.
- Screen reader announcements of remaining shift presses and loading state.
- A full-screen overlay that blanks the page instantly on activation, before navigating away.
- The current history entry is replaced, so the browser "back" button doesn't return to the flagged page.
- A configurable exit URL โ defaults to the BBC Weather homepage, an innocuous, commonly visited site.
Configuration
- Set the exit URL at Configuration > Content > Exit This Page
(/admin/config/content/exit-this-page). - On a node's edit form, enable "Enable 'Exit this page'" in the "Exit this page" sidebar group to show the banner on that
content.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.0-alpha1 | Pre-release | 10โ11 | First alpha release. | Sep 26, 2026 |