I need a script to prevent advertisement blocking via CSS overwrite browser plugins. This script should meet the following requirements:
- Based on javascript (No js library like jquery)
- Executable inline
- Integrate existing script for classic ad blocker (details will follow after order)
- Add div with generated download link that interpreted by the server (php) if:
- Adblock plugin disabled
- CSS styles from CSS overwrite plugin are not set below rules
- Otherwise add other div if:
- Adblock plugin enabled
- CSS styles are set with following rules:
- display:none
- div height <100px
- margin value deviates from the position
+ expandable to other div id
- Total validation as quickly as possible