Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Blockadblock: Difference between revisions

Template page
(Replaced content with "<html> <script type="text/javascript">function detectAdblock(){const e={url:"https://incolumitas.com/data/pp34.js?sv=",id:"837jlaBksSjd9jh"},o={url:"https://incolumitas.co...")
Tag: Replaced
No edit summary
Line 1: Line 1:
<html>
<html>
<script type="text/javascript">function detectAdblock(){const e={url:"https://incolumitas.com/data/pp34.js?sv=",id:"837jlaBksSjd9jh"},o={url:"https://incolumitas.com/data/neutral.js?&ad_height=",id:"hfuBadsf3hFAk"};function t(e){return new Promise((function(o,t){var n=document.createElement("script");n.onload=function(){document.getElementById(e.id)?o(!1):o(!0)},n.onerror=function(){o(!0)},n.src=e.url,document.body.appendChild(n)}))}return new Promise((function(n,a){let i=[t(e),t(o)];Promise.all(i).then((e=>{n({uBlockOrigin:e[0],adblockPlus:e[1]})})).catch((e=>{a(e)}))}))}detectAdblock().then((e=>{alert("It looks like you're using an ad-blocker!\n\nIf you enjoy our content, please support our site by disabling your adblocker. We depend on ad revenue to keep creating quality content for you to enjoy for free. Ads are necessary to keep the platform free for all.\n\nYou can also disable all ads by activating the subscription in your account. In this way, you will be providing serious financial support to our website. For details, please email us.")}));</script>
<script type="text/javascript">
function detectAdblock(){const adblockTests={uBlockOrigin:{url:"https://incolumitas.com/data/pp34.js?sv=",id:"837jlaBksSjd9jh"},adblockPlus:{url:"https://incolumitas.com/data/neutral.js?&ad_height=",id:"hfuBadsf3hFAk"}};function canLoadRemoteScript(obj){return new Promise(function(resolve,reject){var script=document.createElement("script");script.onload=function(){if(document.getElementById(obj.id)){resolve(false)}else{resolve(true)}};script.onerror=function(){resolve(true)};script.src=obj.url;document.body.appendChild(script)})}return new Promise(function(resolve,reject){let promises=[canLoadRemoteScript(adblockTests.uBlockOrigin),canLoadRemoteScript(adblockTests.adblockPlus)];Promise.all(promises).then(results=>{resolve({uBlockOrigin:results[0],adblockPlus:results[1]})}).catch(err=>{reject(err)})})}
</script>
  <script type="text/javascript">
    detectAdblock().then((res) => {
      alert("It looks like you're using an ad-blocker!\n\nIf you enjoy our content, please support our site by disabling your adblocker. We depend on ad revenue to keep creating quality content for you to enjoy for free. Ads are necessary to keep the platform free for all.\n\nYou can also disable all ads by activating the subscription in your account. In this way, you will be providing serious financial support to our website. For details, please email us.");
    });
  </script>
</html>
</html>

Revision as of 04:38, 6 October 2022

Advertising: