GetSimple Support Forum

Full Version: Referrer Blocker
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys, I've written another plugin for GetSimple, hope you find it useful.


About
Referrer Blocker is a plugin that inspects the referrer of a website visitor, and checks it against a
list of referrers that are known to be spammy and/or malicious, it will return a 404 not found error if
the client's referrer matches any in the list.

The list of referrers is initally empty, but you can fetch a good list by clicking the "Fetch List" button
in the top right of the plugins setting page, this list is fetched from  https://raw.githubusercontent.com/piwik/...ammers.txt

All credit for the list goes towards their contributors.

Screenshot
[Image: screenshot.png]

[Image: referrer_blocker_log.png]


Features
  • Add custom referrers
  • Whitelist IP addresses (bypasses referrer check)
  • English and Norwegian language
  • Logging of all blocked requests, using GetSimple's logging class and viewer
GitHub - Extend - Website


Demo
This plugin is currently running on my norwegian business website LisethSolutions.no if anyone want's to try it out, you can spoof your referrer by using this chrome extension: 

https://chrome.google.com/webstore/detai...ciin?hl=en
If anyone have any feature requests or feedback that would be great Smile
Great plugin, thanks for your work.