Skip to content

Jaaap/BehindTheOverlayRevival

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This project has been migrated to GitLab: https://gitlab.com/ivanruvalcaba/BehindTheOverlayRevival (#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.

Features

  • 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.

Changelog

  • 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.

Feedback

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

License

Licensed under the MIT License.

About

One button to close any overlay on any website —Mozilla Firefox WebExtension—

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%