Skip to Content

JavaScript File

URL: https://www.dlyaudachi.ru/javascripts/insales_counter.js?7
HTTP Status: 200 OK
MIME Type: application/javascript
Last Modified: Wed, 20 May 2026 21:56:05 GMT
Download Time: Less than a second
Cookies: None
Size: 3 KB
HTTP Headers:  9 headers
Links In:  1 pages
Links Out:  0 links
Images:  0 images
CSS:  0 files
JavaScript:  0 files
OK Issues: No issues found

1(function() {

2 function readCookie(cookieName) {

3 var cookies = document.cookie.split('; ');

4 for (i = 0 ; i < cookies.length ; i++ ) {

5 var cookie = cookies[i].split('=');

6 if (cookie[0] == cookieName) {

7 return unescape(cookie[1]);

8 }

9 }

10 return "";

11 };

12

13 function setCookie(cookieName, cookieValue, msec_in_utc) {

14 var expire = new Date(msec_in_utc);

15 document.cookie = cookieName + "=" + escape(cookieValue) + ";path=/" +";expires=" + expire.toUTCString();

16 };

17

18 function getUrl(url) {

19 if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari

20 xmlhttp = new XMLHttpRequest();

21 } else {// code for IE6, IE5

22 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");

23 }

24 xmlhttp.open("GET", url, true);

25 xmlhttp.send();

26 };

27

28 // Bots can eval JS. We should not count bot visits.

29 function isHuman() {

30 var bots = navigator.userAgent.toLowerCase().match(/(googlebot|bingbot|Mail.RU_Bot|AhrefsBot|msnbot|YandexBot|DotBot|YandexMobileBot|YandexMetrika|YandexCatalog|YandexMarket|YandexAccessibilityBot|YandexImages|YandexPagechecker|YandexImageResizer|pingadmin|HostTracker|ia_archiver|AdsBot-Google|BingPreview|FeedFetcher|Baiduspider|SemrushBot)/i);

31 if (Array.isArray(bots)) {

32 return false;

33 } else {

34 return true;

35 }

36 }

37

38 var server_path = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'counter.insales.com';

39

40 var referrer = (window.decodeURI)?window.decodeURI(document.referrer):document.referrer;

...

</html>