Lightweight, Open Source solution for Rick Rolling adblock users

https://github.com/HughParry/BlockAdBlock

BlockAdBlock

Minimal implementation of Anti Adblock.

Will block access to all content on your site and Rick Roll users to help worsen the user experience.

My site is covered in important adverts that cover the main content on mobile. How can I use this?

Use the minimal demo as an example for setup.

That's confusing. My site is dangerously usable. Help me change it now!

This is exactly what jsdelivr was made for.

Add this script tag literally anywhere.

<script src="https://cdn.jsdelivr.net/gh/HughParry/BlockAdBlock/demo/src/assets/bundle.js"></script>

I have some ideas about how I can make the internet a worse place. How can I help?

Contributions are welcome, just make a PR.

To Do:

  • Microservices
{
"by": "HughParry",
"descendants": 0,
"id": 40246684,
"kids": [
40246685
],
"score": 1,
"time": 1714737616,
"title": "Lightweight, Open Source solution for Rick Rolling adblock users",
"type": "story",
"url": "https://github.com/HughParry/BlockAdBlock"
}
{
"author": "HughParry",
"date": null,
"description": "Minimal implementation of anti adblock browser addons - HughParry/BlockAdBlock",
"image": "https://opengraph.githubassets.com/ab9f6bf8f9b07c8ac99c756ebe4f9df01aff1d313a256915cb231e22985354cf/HughParry/BlockAdBlock",
"logo": "https://logo.clearbit.com/github.com",
"publisher": "GitHub",
"title": "GitHub - HughParry/BlockAdBlock: Minimal implementation of anti adblock browser addons",
"url": "https://github.com/HughParry/BlockAdBlock"
}
{
"url": "https://github.com/HughParry/BlockAdBlock",
"title": "GitHub - HughParry/BlockAdBlock: Minimal implementation of anti adblock browser addons",
"description": "BlockAdBlock Minimal implementation of Anti Adblock. Will block access to all content on your site and Rick Roll users to help worsen the user experience. My site is covered in important adverts that cover...",
"links": [
"https://github.com/HughParry/BlockAdBlock"
],
"image": "https://opengraph.githubassets.com/ab9f6bf8f9b07c8ac99c756ebe4f9df01aff1d313a256915cb231e22985354cf/HughParry/BlockAdBlock",
"content": "<div><article><p></p><h2>BlockAdBlock</h2><a target=\"_blank\" href=\"https://github.com/HughParry/BlockAdBlock#blockadblock\"></a><p></p>\n<p>Minimal implementation of Anti Adblock.</p>\n<p>Will block access to all content on your site and Rick Roll users to help worsen the user experience.</p>\n<p></p><h2>My site is covered in important adverts that cover the main content on mobile. How can I use this?</h2><a target=\"_blank\" href=\"https://github.com/HughParry/BlockAdBlock#my-site-is-covered-in-important-adverts-that-cover-the-main-content-on-mobile-how-can-i-use-this\"></a><p></p>\n<p>Use the minimal demo as an example for setup.</p>\n<p></p><h2>That's confusing. My site is dangerously usable. Help me change it now!</h2><a target=\"_blank\" href=\"https://github.com/HughParry/BlockAdBlock#thats-confusing-my-site-is-dangerously-usable-help-me-change-it-now\"></a><p></p>\n<p>This is exactly what jsdelivr was made for.</p>\n<p>Add this script tag literally anywhere.</p>\n&lt;script src=\"<a target=\"_blank\" href=\"https://cdn.jsdelivr.net/gh/HughParry/BlockAdBlock/demo/src/assets/bundle.js%22%3E%3C/script%3E\">https://cdn.jsdelivr.net/gh/HughParry/BlockAdBlock/demo/src/assets/bundle.js\"&gt;&lt;/script&gt;</a>\n<p></p><h2>I have some ideas about how I can make the internet a worse place. How can I help?</h2><a target=\"_blank\" href=\"https://github.com/HughParry/BlockAdBlock#i-have-some-ideas-about-how-i-can-make-the-internet-a-worse-place-how-can-i-help\"></a><p></p>\n<p>Contributions are welcome, just make a PR.</p>\n<p></p><h2>To Do:</h2><a target=\"_blank\" href=\"https://github.com/HughParry/BlockAdBlock#to-do\"></a><p></p>\n<ul>\n<li>Microservices</li>\n</ul>\n</article></div>",
"author": "",
"favicon": "https://github.githubassets.com/favicons/favicon.svg",
"source": "github.com",
"published": "",
"ttr": 22,
"type": "object"
}