Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Exit This Page

Security covered Under active development

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

  1. Set the exit URL at Configuration > Content > Exit This Page
    (/admin/config/content/exit-this-page).
  2. 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.

Ask your assistant about Exit This Page

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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

Tracked releases
2
Tracked since
Sep 2026
Latest release
1 month ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Core PHP Release date
1.0.0-alpha2 Pre-release 10–11 Sep 28, 2026
1.0.0-alpha1 Pre-release 10–11 Sep 26, 2026