|
@@ -9,10 +9,14 @@
|
|
window.Ya.adfoxCode || (window.Ya.adfoxCode = {});
|
|
window.Ya.adfoxCode || (window.Ya.adfoxCode = {});
|
|
window.Ya.adfoxCode.hbCallbacks || (window.Ya.adfoxCode.hbCallbacks = []);
|
|
window.Ya.adfoxCode.hbCallbacks || (window.Ya.adfoxCode.hbCallbacks = []);
|
|
</script>
|
|
</script>
|
|
|
|
+<? if( !Yii::$app->deviceDetect->isSafari() ) {
|
|
|
|
+?>
|
|
<script src="https://yandex.ru/ads/system/header-bidding.js" async></script>
|
|
<script src="https://yandex.ru/ads/system/header-bidding.js" async></script>
|
|
<script src="https://yandex.ru/ads/system/context.js" async ></script>
|
|
<script src="https://yandex.ru/ads/system/context.js" async ></script>
|
|
-
|
|
|
|
-<?php if(Yii::$app->controller->action->id!="index" && Yii::$app->deviceDetect->isMobile()):?>
|
|
|
|
|
|
+<?
|
|
|
|
+ }
|
|
|
|
+?>
|
|
|
|
+<?php if(Yii::$app->controller->action->id!="index" && Yii::$app->deviceDetect->isMobile() && !Yii::$app->deviceDetect->isSafari()):?>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
(function () {
|
|
(function () {
|