Skip to content

dotMavriQ/Molestar

Repository files navigation

Molestar

Molestar Logo

A browser extension for Vivaldi that blocks access to specific websites unless you're connected to Mullvad VPN. Built for people who want hard guarantees that certain sites are never visited on a naked connection.

May also work on other Chromium-based browsers (Chrome, Brave, Edge, etc.), though it's developed and tested on Vivaldi.

How it works

You define a list of protected URLs -- either manually or by pointing at a bookmark folder. When you try to visit one of those sites without an active Mullvad connection, Molestar blocks the request before it leaves your browser and shows a warning page instead.

VPN status is verified against Mullvad's own API (am.i.mullvad.net/json). No third-party services, no telemetry, no data collection.

Key details

  • Request-level blocking via declarativeNetRequest -- the connection is stopped before your real IP ever touches the destination server
  • Fail-safe -- if the Mullvad API is unreachable, Molestar assumes the VPN is down and blocks accordingly
  • Bookmark folder support -- protect an entire folder of bookmarks at once, including subfolders
  • Periodic re-checks -- VPN status is polled every 2 minutes and on every protected navigation attempt
  • Badge indicator -- the toolbar icon shows ON/OFF so you always know your status at a glance

Installation

  1. Download or clone this repository
  2. Open vivaldi://extensions (or chrome://extensions for other browsers)
  3. Enable Developer mode (top right toggle)
  4. Click Load unpacked and select the Molestar folder

Usage

Click the Molestar icon in your toolbar to open the popup:

  • Add URLs -- type a domain (example.com) or a domain with path (reddit.com/r/privacy) and click Add. Subdomains are matched automatically.
  • Add bookmark folders -- select a folder from the dropdown. Every URL inside it (recursively) becomes protected.
  • Recheck -- manually trigger a VPN status check at any time.

When you visit a protected site without Mullvad active, you'll see a block page with options to retry (after connecting) or go back.

Permissions

Permission Why
storage Stores your protected URL list and VPN status
bookmarks Reads bookmark folders you choose to protect
webNavigation Detects navigation to protected sites
declarativeNetRequest Blocks requests before they leave the browser
alarms Periodic VPN status checks
am.i.mullvad.net The only external request -- Mullvad's connection check API

Privacy

Molestar makes no network requests other than to am.i.mullvad.net. No data is collected, stored externally, or shared with anyone. Your protected URL list and settings stay in your browser's local storage. See privacy-policy.html for the full policy.

Support

If you find Molestar useful, consider supporting development:

Liberapay

License

MIT

About

Browser extension for Vivaldi that blocks protected sites unless Mullvad VPN is active

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors