ad.html: attempt to improve noscript experience

This commit is contained in:
Aminda Suomalainen 2024-05-29 13:32:10 +03:00
parent 2defda8803
commit 5d1b2816bd
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
4 changed files with 4 additions and 6 deletions

4
_includes/ad.html vendored
View File

@ -1,7 +1,8 @@
<detect-missing-adblocker>
<noscript><hr></noscript>
<noscript><p class="centered"><strong><em>Dear JavaScript blocker, please accept my apologies for needlessly showing you this:</em></strong></p></noscript>
<span slot="title" class="centered"><p>Dear reader, you may be missing a content blocker! 🙀</p></span>
<span slot="message" class="centered">
<noscript><strong><em>Dear JavaScript blocker, please accept my apologies for needlessly showing you this.</em></strong></noscript>
<p>Please consider installing one to protect yourself, and your close ones, from <a href="https://www.wired.com/story/why-dont-we-just-ban-targeted-advertising/">manipulation</a> and <a href="https://en.m.wikipedia.org/wiki/Malvertising">targeted malvertising</a>!</p>
<p>Personally I love <strong>both</strong> <a href="https://privacybadger.org">Privacy Badger</a> <strong>and</strong> <a href="https://github.com/gorhill/uBlock/blob/master/README.md#ublock-origin-ubo">uBlock Origin</a>
(<strong>with</strong> <a href="https://www.eff.org/files/effdntlist.txt">EFF DNT Policy
@ -11,4 +12,5 @@ Allowlist</a>) <strong>together</strong>, while <a href="https://adnauseam.io">A
<p><a href="https://en.m.wikipedia.org/wiki/Targeted_advertising#Disadvantages">Learn more about targeted advertising!</a>
<p><small>PS. I am sorry if you are already protected and this silly <a href="https://easylist.to/">EasyList</a> targeting(?) script doesn't detect that, thank you for taking the steps towards a safer internet! 💜</small></p>
</span>
<noscript><hr></noscript>
</detect-missing-adblocker>

2
_layouts/mini.html vendored
View File

@ -5,7 +5,7 @@
<div class="page-content">
<div class="wrapper">{{ content }}</div>
{% include ad.html %}{% include ad.html %}
{% include ad.html %}
</div>
</body>
</html>

2
_layouts/page.html vendored
View File

@ -8,6 +8,4 @@ layout: default
</header>
<article class="post-content">{{ content }}</article>
<hr />
{% include ad.html %}
</div>

2
_layouts/post.html vendored
View File

@ -25,6 +25,4 @@ tags_content_temp %} {% endif %} {% endfor %} {% else %} {% assign tags_content
{{ content }}
<p id="post-meta">{{ tags_content }}</p>
</article>
{% include ad.html %}
</div>