This repository has been archived by the owner. It is now read-only.
One button to close any overlay on any website —Mozilla Firefox WebExtension—
Clone or download
Latest commit 373355d Jun 9, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Release Behind The Overlay Revival v1.8.0 Sep 4, 2017
extension Release Behind The Overlay Revival v1.8.0 Sep 4, 2017
LICENSE Release Behind The Overlay Revival v1.8.0 Sep 4, 2017 Update Jun 9, 2018

This project has been migrated to GitLab: (#GithubExodus).

Behind The Overlay Revival —Mozilla Firefox WebExtension—

This project is a fork of Behind The Overlay add-on, ported as Mozilla Firefox WebExtension as well as some improvements implemented.

What's it all about?

Some websites will use an overlay to mask its content with a transparent background to force you to read a message before you can see the actual content.

I find this very annoying as every site will have a different way to close that overlay popup.

This extension solves this problem by offering you one button to close any overlay on any website you may ever encounter.

WebExtension in action

Does it work everywhere ?

The extension should work on all sites that have overlays.


  • Requires no special permissions.
  • Extremely lightweight, relies on little known document.elementFromPoint browser's function to find elements that are in front with the highest z-index.
  • Non-intrusive. The extension activates only when you click its button, thereby it has no impact on navigation performance when you don't use the extension. Doesn't inject tons of CSS rules as AdBlock extension is doing for example.
  • Supports hiding of multiple DOM overlay elements.
  • Enables overflow auto of the body when overlay script hides it to disable the scroll of the page.


  • Porting the original complement as Firefox Web Extension.
  • Improved the original code.
  • Add to Behind The Overlay Revival one shortcut (Alt + Shift + x).
  • English/Spanish translations added (locale support).
  • Implemented a clickable icon inside the browser's address bar (pageAction).
  • The WebExtension is only enabled when visiting web pages that use the HTTP/HTTPS protocol.


If you have any suggestion or comment, please create an issue here. Any feedback is highly appreciated.


Licensed under the MIT License.