PageSourceSearch

https://zb.gov.cn/zbxzf/xhtml/js/outurl.js

js zb.gov.cn collected 2026-10-02 17:04:33 UTC 3,189 bytes, 52 lines download raw bytes

1function outlink(_domainName, _webUrl, _webUrlInner, _title) {
2    $("body").append("<a id=\"hash\" href=\"javascript:void(0)\" onclick=\"return false;\"></a><div" +
3        " class=\"alert-warning\"><div class=\"alert-title\">镇巴县人民政府</div><div" +
4        " class=\"alert-wzsm\"><p>您访问的链接即将离开<br><span class='fB'>“"+ _domainName +"”</span>网站</p><p" +
5        " class='color'>是否继续?</p><p" +
6        " id=\"outUrl\"" +
7        " style=\"display:" +
8        " none\"></p></div><div class='alert-footer'><div class='confirm'><span class='visits'" +
9        " onclick=\"window.open(outUrl.innerText);document.getElementById('closets').click();\">继续访问</span><span class=\"cancel\">放弃</span></div></div></div><div class=\"alert-mengban\"></div>");
10    $("a").each(function () {
11        var htm = $(this).html();
12        $(this).click(function () {
13            if (this.host != "zwfw.hanzhong.gov.cn" && this.href != "" && this.href.toLowerCase().indexOf("javascript") == -1 && this.href.toLowerCase().indexOf("#") == -1&& this.href.toLowerCase().indexOf(_webUrl) == -1 && this.href.toLowerCase().indexOf("javascript:preVious") == -1 && this.href.toLowerCase().indexOf("javascript:next") == -1 && this.href != "zwfw.hanzhong.gov.cn")
14            {
15                document.getElementById('outUrl').innerText = this.href;
16                document.getElementById('hash').click();
17                $(".alert-mengban").fadeIn(200);
18                $(".alert-warning").delay(200).show().animate({top: "75px"}, 300);
19                $(".visits,.cancel,.alert-mengban").click(function () {
20                    $(".alert-warning").animate({top: "-400px"}, 200).hide(300);
21                    $(".alert-mengban").delay(300).fadeOut(300);
22                });
23                $(".continue").click(function () {
24                    $(".alert-warning").hide(200);
25                    $(".alert-mengban").delay(200).fadeOut(200);
26                });
27                return false;
28            }
29        });
30    });
31    $("select").on("change", function () {
32        var opVal = $(this).find("option:selected").val();
33        if (opVal != "" && opVal.toLowerCase().indexOf("javascript") == -1 && opVal.toLowerCase().indexOf("zb.gov.cn") == -1 && opVal.toLowerCase().indexOf("javascript:preVious") == -1 && opVal.toLowerCase().indexOf("javascript:next") == -1) {
34            document.getElementById('hash').click();
35            document.getElementById('outUrl').innerText = opVal;
36            $(".alert-mengban").fadeIn(200);
37            $(".alert-warning").delay(200).show().animate({top: "75px"}, 300);
38            $("#closets,.cancel,.alert-mengban").click(function () {
39                $(".alert-warning").animate({top: "-400px"}, 200).hide(300);
40                $(".alert-mengban").delay(300).fadeOut(300);
41            });
42            $(".continue").click(function () {
43                $(".alert-warning").hide(200);
44                $(".alert-mengban").delay(200).fadeOut(200);
45            })
46            return false;
47        }
48    })
49}
50jQuery(function ($) {
51    outlink("镇巴县人民政府", "zb.gov.cn","www.zb.gov.cn", '温馨提示')
52});

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.