Skip to Content

JavaScript File

URL: https://zaroom.ru/catalog/view/theme/market/js/common.js
HTTP Status: 200 OK
MIME Type: application/x-javascript
Last Modified: Thu, 26 Aug 2021 12:14:05 GMT
Download Time: Less than a second
Cookies: None
Size: 12 KB
HTTP Headers:  5 headers
Links In:  1 pages
Links Out:  0 links
Images:  0 images
CSS:  0 files
JavaScript:  0 files
OK Issues: No issues found

1function getURLVar(b) {

2 var e = [];

3 var d = String(document.location).split("?");

4 if (d[1]) {

5 var a = d[1].split("&");

6 for (i = 0; i < a.length; i++) {

7 var c = a[i].split("=");

8 if (c[0] && c[1]) {

9 e[c[0]] = c[1]

10 }

11 }

12 if (e[b]) {

13 return e[b]

14 } else {

15 return ""

16 }

17 } else {

18 var d = String(document.location.pathname).split("/");

19 if (d[d.length - 1] == "cart") {

20 e.route = "checkout/cart"

21 }

22 if (d[d.length - 1] == "checkout") {

23 e.route = "checkout/checkout"

24 }

25 if (e[b]) {

26 return e[b]

27 } else {

28 return ""

29 }

30 }

31}

32$(document).ready(function () {

33 $(".text-danger").each(function () {

34 var a = $(this).parent().parent();

35 if (a.hasClass("form-group")) {

36 a.addClass("has-error")

37 }

38 });

39 $(window).scroll(function () {

40 var a = $(window).scrollTop();

...

</html>