Skip to content

Instantly share code, notes, and snippets.

@nokimaro
Created November 10, 2017 01:25
Show Gist options
  • Save nokimaro/ce99a5efa9336a2d7549fab4032ee705 to your computer and use it in GitHub Desktop.
Save nokimaro/ce99a5efa9336a2d7549fab4032ee705 to your computer and use it in GitHub Desktop.
Octobird anti adblock domain change

Инструкция для смены домена

Берем рекламный код в кабинете

<script async src="//show.octobird.com/loader.js"></script>
<!-- Первый -->
<div class="octobird-block"
     data-site="961"
     data-ad-slot="961-961"></div>
<script>
  (adsoctobird = window.adsoctobird || []).push({});
</script>
  1. Меняем //show.octobird.com на http://shop-land.org
  2. Меняем octobird-block на shopland-block
  3. Меняем adsoctobird на adsshopland

Получится

<script async src="http://shop-land.org/loader.js"></script>
<!-- Первый -->
<div class="shopland-block"
     data-site="961"
     data-ad-slot="961-961"></div>
<script>
  (adsshopland = window.adsshopland || []).push({});
</script>

Рабочий пример кода http://shop-land.org/test.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment