Pi Hole Block Page Versions Save

A "Website Blocked" page to go with https://pi-hole.net

2.3.0

7 years ago

Changelog

2.3.0:

  • Updated remote stylesheet to cater for the changes in this update
  • Replaced usage of http://pi.hole with IP address to minimise Admin Console spam (Issue #8)
  • Provided correct output when site is blocked by wildcard (Mentioned in Issue #9)
  • Provided English/German translation of wildcard blocking
  • Replaced usage of JS "More Info" toggling with HTML/CSS "Checkbox Hack" (Caters to Noscript/Scriptsafe users)
  • Javascript is now only necessary for whitelisting from the block page
  • Now shows "disabled" whitelisting form when JS is not available
  • Now shows feedback when whitelisting has been initiated
  • Provided debug output for when JS is not available (When NOSCRIPT html tag is honoured, which Scriptsafe does not)
  • Elaborated on some debug text

2.2.1:

  • Prompt user to chmod their HTML folder so www-data can write to it (Otherwise, notableFlag will not show up)

2.2.1

7 years ago

Changelog

  • Refactored code
  • Clicking on the "Blocked by Pi-hole" image now links back to the block page
  • Provide 'X-Pi-hole' header if not already set within lighttpd.conf (EG: DietPi installations)
  • Better handling when attempting to read 'queryads.php'
  • Better handling of user config issues and error notices
  • Provided more debug output with ?debug and ?debug=config
    • Debugging user config redacts selfDomain and adminEmail
  • Added ability to customise most text (e.g: Translations)
  • German translation example provided within user config
  • Disabled whitelist fields when Admin Console password is not set

2.1.0

7 years ago

Changelog

  • Local config file phbp.php is now phbp.ini
  • Added more example non-default category URLs
  • More customisation features available within phbp.ini
  • Caches a remote definitions file locally (classifications.ini), to classify URLs
  • Better error handling
  • Better handling of how update messages are shown
  • Migrated exec wget command to PHP functions

2.0.0

7 years ago

MAJOR version update: Previous installations may not work as expected due to these updates. Things are now done in such a way that this should be avoidable in the future now as CSS/SVG's have been moved to an external repo. I now have a better handle on how this project is going to work!

My sincerest apologies to the users affected by my sloppy development practices.

Changelog:

  • Moved CSS/SVG's to external repo: wally3k.github.io
  • Removed hardcoded Blocked by Pi-hole SVG
  • Removed hardcoded HTML styles
  • Added and/or renamed config options:
    • Custom CSS
    • Custom Favicon
    • Custom Logo
    • Custom Blocked by Pi-hole image
    • Altering of 1x1 blank GIF iframe behaviour
    • Altering of whitelisting from block page
    • Altering of update notifications
  • Removed flag notification if user doesn't have a matching adlists.list URL
  • Core script update notification (It will show up subtly in the footer as (Update available))
  • Only show Blacklisted manually if domain is explicitly contained within blacklist.txt
  • Show message if user arrives at block page, when domain is not blacklisted (EG: Landing page disabled)
  • Disable buttons if user has javascript disabled
  • Changed Unknown Error whitelisting error notification
  • Fixed unset $selfDomain PHP error

1.0.1

7 years ago
  • Updated grep search
  • Minor CSS fixes