В файл /bitrix/.settings_extra.php нужно добавить:
<?php
return array(
'analytics_counter' => array(
'value' => array(
'enabled' => false
),
'readonly' => false,| // $(document).ready() replacement. | |
| function ready(fn) { | |
| if (document.readyState != 'loading'){ | |
| fn(); | |
| } else { | |
| document.addEventListener('DOMContentLoaded', fn); | |
| } | |
| } | |
| // Get UTM params from URL to pass to Mailchimp. Store in localStorage so they follow the user around the site. |
В файл /bitrix/.settings_extra.php нужно добавить:
<?php
return array(
'analytics_counter' => array(
'value' => array(
'enabled' => false
),
'readonly' => false,This is a simplified example of Smarter Link Underlines built for Sass rather than Stylus. Original code example by Adam Schwartz of eager.io.
View a live example on Codepen
| /* | |
| Works best for background images with set dimensions | |
| Just add a ".pngfix" class to anything you want fixed | |
| or put in some other jQuery selector. | |
| */ | |
| $('.pngfix').each( function() { | |
| $(this).attr('writing-mode', 'tb-rl'); | |
| $(this).css('background-image', 'none'); | |
| $(this).css( 'filter', 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src="path/to/image.png",sizingMethod="scale")'); | |
| }); |
| http { | |
| map $http_user_agent $limit_bots { | |
| default ''; | |
| ~*(google|bing|yandex|msnbot) $binary_remote_addr; | |
| } | |
| limit_req_zone $limit_bots zone=bots:10m rate=1r/m; | |
| server { |