PageSourceSearch

https://www.forlinx.net/source-js-050366217f96624312e315c2ac965ad4-1791149191.html

js forlinx.net collected 2026-10-04 21:26:48 UTC 5,437 bytes, 132 lines download raw bytes

1/* Js for https://www.forlinx.net/, Version=1791149191 */
2 v.lang = {"confirmDelete":"\u60a8\u786e\u5b9a\u8981\u6267\u884c\u5220\u9664\u64cd\u4f5c\u5417\uff1f","deleteing":"\u5220\u9664\u4e2d","doing":"\u5904\u7406\u4e2d","loading":"\u52a0\u8f7d\u4e2d","updating":"\u66f4\u65b0\u4e2d...","timeout":"\u7f51\u7edc\u8d85\u65f6,\u8bf7\u91cd\u8bd5","errorThrown":"<h4>\u6267\u884c\u51fa\u9519\uff1a<\/h4>","continueShopping":"\u7ee7\u7eed\u8d2d\u7269","required":"\u5fc5\u586b","back":"\u8fd4\u56de","continue":"\u7ee7\u7eed","bindWechatTip":"\u53d1\u5e16\u529f\u80fd\u8bbe\u7f6e\u4e86\u7ed1\u5b9a\u5fae\u4fe1\u7684\u9650\u5236\uff0c\u8bf7\u5148\u7ed1\u5b9a\u5fae\u4fe1\u4f1a\u5458\u3002","importTip":"\u53ea\u5bfc\u5165\u4e3b\u9898\u7684\u98ce\u683c\u548c\u6837\u5f0f","fullImportTip":"\u5c06\u4f1a\u5bfc\u5165\u6d4b\u8bd5\u6570\u636e\u4ee5\u53ca\u66ff\u6362\u7ad9\u70b9\u6587\u7ae0\u3001\u4ea7\u54c1\u7b49\u6570\u636e"};;v.path = [0];;v.categoryID = ';';v.pageLayout = "global";;v.defaultMode = "card";;place9093ea3800c6f3412e2f0734d3e0c428='IDLIST_PLACEHOLDERIDLIST_PLACEHOLDER';;
3    $(function() {
4        $('.active').parents('ul.d-secondDrop').parent().find('div:first').addClass('active');
5        $('.active').parents('li.first').find('div:first').addClass('active');
6        $('.d-firstNav').click(function(e) {
7            dropSwift($(this), '.d-firstDrop');
8            //$(this).addClass("active");
9            e.stopPropagation();
10        });
11        $('.d-secondNav').click(function(e) {
12            dropSwift($(this), '.d-secondDrop');
13            //$(this).addClass("active");
14            e.stopPropagation();
15        });
16        /**
17         * @param dom   点击的当前元素
18         * @param drop  下一级菜单
19         */
20        function dropSwift(dom, drop) {
21            //点击当前元素,收起或者伸展下一级菜单
22            dom.next().slideToggle();
23            //设置旋转效果
24            //1.将所有的元素都至为初始的状态    
25            //dom.parent().siblings().find('.d-firstNav').removeClass('active');
26            //2.点击该层,将其他显示的下滑层隐藏        
27            dom.parent().siblings().find(drop).slideUp();
28            // var iconChevron = dom.find('.d-firstNav');
29            // if(iconChevron.hasClass('active')) {            
30            //     iconChevron.removeClass('active');
31            // } else {
32            //     iconChevron.addClass('active');
33            // }
34        }
35    })
36;
37  $(window).scroll(function() {
38		if($(window).scrollTop() > 200) {
39	    $('.back').fadeIn();
40	  } else {
41      $('.back').fadeOut();
42	  }
43	})
44  $(".back").click(function(){
45	  $('body,html').animate({scrollTop:0},1000);
46	  return false;
47	});
48;$(document).ready(function()
49{
50    /* Set current active topNav. */
51    var hasActive = false;
52    if(v.categoryID > 0 && $('.nav-product-' + v.categoryID).length >= 1)
53    {
54        hasActive = true;
55        $('.nav-product-' + v.categoryID).addClass('active');
56    }
57
58    if(v.categoryID > 0 && $('.nav-product-' + '0').length >= 1)
59    {
60      if(!hasActive)
61      {
62        hasActive = true;
63        $('.nav-product-' + '0').addClass('active');
64      }
65    }
66    if(v.categoryPath && v.categoryPath.length)
67    {
68        $.each(v.categoryPath, function(index, category)
69        {
70            if(!hasActive)
71            {
72                if($('.nav-product-' + category).length >= 1) hasActive = true;
73                $('.nav-product-' + category).addClass('active');
74            }
75        });
76    }
77    else if(v.path && v.path.length)
78    {
79        $.each(v.path, function(index, category)
80        {
81            if(!hasActive)
82            {
83                if($('.nav-product-' + category).length >= 1) hasActive = true;
84                $('.nav-product-' + category).addClass('active');
85            }
86        });
87        if(!hasActive) $('.nav-product-0').addClass('active');
88    }
89    
90    if(v.categoryID !== 0 && $('#category' + v.categoryID).size() > 0) {
91        $('#category' + v.categoryID).parent().addClass('active');
92    }
93});/*$('input').bind('click','focus',function(){
94  $('select').css('display','block')
95  $('select').attr('multiple','multiple')
96});*/
97$('option').click(function(e){
98    $('select').css('display','none')
99    $('input').prop('value',e.target.label)
100});
101/*
102$('input').on('input',function(){
103    $('select').css('display','none')
104});
105*/
106;
107var hash = window.location.hash.substring(1);
108var browserLanguage = navigator.language || navigator.userLanguage; 
109var resolution      = screen.availWidth + ' X ' + screen.availHeight;
110$.get(createLink('log', 'record', "hash=" + hash), {browserLanguage:browserLanguage, resolution:resolution});
111;
112    $(function(){
113        //判断手机端
114        if(/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
115            $("ul.page").hide();
116            $("aside").css({"bottom":"50px","top":"initial"});
117            //$(".list_new:not(:last-child)").remove();
118            $('.list_new:first-child').css('border-radius','10px');
119        } else {
120            $(".pager.form-inline").hide();
121        }
122        //返回顶部按钮
123        var backButton = $("#scrolltop");
124        var height = backButton.offset().top;
125        // 滑动滚动条
126        function backToTop() {
127            $('html,body').animate({
128                scrollTop: 0
129            }, 800);
130        }
131        backButton.on('click', backToTop);
132    })

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.