|
|
|
@ -9,7 +9,7 @@ function countImpressions (impressionUrl) { |
|
|
|
|
|
|
|
|
|
function showAd () { |
|
|
|
|
const domainName = window.location.hostname |
|
|
|
|
if (domainName.endsWith('blockscout.com')) { |
|
|
|
|
if (domainName === 'blockscout.com' || domainName.endsWith('.blockscout.com')) { |
|
|
|
|
$('.js-ad-dependant-mb-2').addClass('mb-2') |
|
|
|
|
$('.js-ad-dependant-mb-3').addClass('mb-3') |
|
|
|
|
$('.js-ad-dependant-mb-5-reverse').removeClass('mb-5') |
|
|
|
|