Skip to content

mnadel/shut-your-pi-hole

Repository files navigation

Shut Your Pi-Hole

Shut Your Pi-Hole: a Chrome plugin to temporarily disable Pi-hole.

How It Works

This plugin fires off an HTTP request to your Pi-hole to temporarily disable itself for a specified number of seconds. It's identical to clicking the Disable > Custom time in the lefthand navigation bar of your Pi-hole admin screen.

Installing

In chrome://extensions, enable developer mode, select Load unpacked and point Chrome at the directory containing this repo's manifest.json file.

Configuring

  1. Enter your Pi-hole API URL (e.g. http://pi.hole/admin/api.php)
  2. Enter your Pi-hole API Token (Settings > API/Web Interface > Show API token)

Nota Bene

If you're seeing XSS issues try adding a local DNS entry in Pi-hole for your Pi called pi.hole and using that as your endpoint URL domain name.

Changelog

Version Changes
0.5 Use a popup w/ multiple TTL options instead of background page
0.4 Menu item will show the disable TTL
0.3 Expose menu item when right-clicking
0.2 Change plugin to not persistently run in the background
0.1 Initial release

About

Temporarily disable your Pi-hole from Chrome

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published