You've already forked AstralRinth
forked from didirus/AstralRinth
Fix adblock message (#653)
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
<a
|
<a
|
||||||
href="http://carbonads.net/?utm_source=modrinthcom&utm_medium=ad_via_link&utm_campaign=in_unit&utm_term=carbon"
|
href="https://docs.modrinth.com/docs/details/carbon"
|
||||||
class="info-popup-poweredby"
|
class="info-popup-poweredby"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener sponsored"
|
rel="noopener sponsored"
|
||||||
@@ -54,7 +54,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
checkAds(tries) {
|
checkAds(tries) {
|
||||||
if (!window._carbonads) {
|
if (!document.getElementById('carbonads')) {
|
||||||
this.isBlocked = true
|
this.isBlocked = true
|
||||||
|
|
||||||
if (tries < 1000) {
|
if (tries < 1000) {
|
||||||
|
|||||||
Reference in New Issue
Block a user