https://github.com/firesphere/silverstripe-adblockwarning
Warn your visitors they are not using an adblocker
https://github.com/firesphere/silverstripe-adblockwarning
Last synced: over 1 year ago
JSON representation
Warn your visitors they are not using an adblocker
- Host: GitHub
- URL: https://github.com/firesphere/silverstripe-adblockwarning
- Owner: Firesphere
- License: gpl-3.0
- Created: 2023-09-18T07:10:30.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-19T01:38:09.000Z (over 2 years ago)
- Last Synced: 2025-02-01T14:30:18.731Z (over 1 year ago)
- Language: PHP
- Size: 686 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Repository moved
https://codeberg.org/Firesphere/silverstripe-adblockwarning
# Adblock Warning for Silverstripe
Help your users understand the importance of using an adblocker, by alerting
those that don't have one.
## Demo
Disable your adblocker and visit my website:
https://firesphere.dev

## Defaults
The included template is based on Bootstrap 5.
Note, the (big) list of classnames is part of the functionality!
## Installation
`composer require firesphere/adblockwarning`
## Usage
In your template, include the following:
`$AdblockWarning`
## Customising
Copy the contents of the Templates folder to your theme or app, and modify to your likings.
Contents of heading/notification are editable via the SiteConfig.
# Thanks
[Beko Pharm](https://social.tchncs.de/@bekopharm/111082075749714822)
# Did you read this entire readme? You rock!
Pictured below is a cow, just for you.
```
/( ,,,,, )\
_\,;;;;;;;,/_
.-"; ;;;;;;;;; ;"-.
'.__/`_ / \ _`\__.'
| (')| |(') |
| .--' '--. |
|/ o o \|
| |
/ \ _..=.._ / \
/:. '._____.' \
;::' / \ .;
| _|_ _|_ ::|
.-| '==o==' '|-.
/ | . / \ | \
| | ::| | | .|
| ( ') (. )::|
|: | |; U U ;|:: | `|
|' | | \ U U / |' | |
##V| |_/`"""`\_| |V##
##V## ##V##
```