PageSourceSearch

https://www.hatachikikin.com/_check_count/target_count.js

js hatachikikin.com collected 2026-10-03 21:20:20 UTC 2,861 bytes, 102 lines download raw bytes

1// 
2$(document).ready(function () {
3
4    /**
5     * 
6     */
7    function errorRedirect() {
8        window.location.href = "https://www.hatachikikin.com/error";
9    }
10
11    /**
12     * 
13     */
14    $("#btn01").on("click", async function() {
15        var pathname = location.pathname;
16        var redirect_url = '';
17        var is_error = false;
18
19        await $.ajax({
20            type: 'POST',
21            url: 'https://www.hatachikikin.com/_check_count/target.php',
22            data: {"path": pathname},
23            async: false,
24            dataType: "json"
25
26        }).done(function (data, textStatus, xhr) {
27            // success
28            console.log(data);
29            console.log(textStatus);
30            if (data.result == true) {
31                console.log('success');
32            } else {
33
34                console.log("done error");
35                event.preventDefault();
36                // location.href = "https://www.hatachikikin.com/error";
37                // setTimeout(errorRedirect(), 0);
38                is_error = true;
39                // return false;
40            }
41        }).fail(function(xhr, stat, e) {
42            // error
43            console.log("fail error");
44            console.log(xhr.status);
45            console.log(stat);
46            console.log(e);
47
48            event.preventDefault();
49            // location.href = "https://www.hatachikikin.com/error";
50            // setTimeout(errorRedirect(), 0);
51            is_error = true;
52            // return false;
53        });
54
55        if (is_error == true) {
56            console.log('is_error true');
57            setTimeout(errorRedirect(), 0);
58            return false;
59        }
60    });
61
62    $("#image").on("click", async function() {
63        var pathname = location.pathname;
64        var redirect_url = '';
65        var is_error = false;
66
67        await $.ajax({
68            type: 'POST',
69            url: 'https://www.hatachikikin.com/_check_count/target.php',
70            data: {"path": pathname},
71            async: false,
72            dataType: "json"
73
74        }).done(function (data, textStatus, xhr) {
75            // success
76            console.log(data);
77            console.log(textStatus);
78            if (data.result == true) {
79                console.log('success');
80            } else {
81
82                console.log("done error");
83                event.preventDefault();
84                is_error = true;
85            }
86        }).fail(function(xhr, stat, e) {
87            // error
88            console.log("fail error");
89
90            event.preventDefault();
91            is_error = true;
92        });
93
94        if (is_error == true) {
95            console.log('is_error true');
96            setTimeout(errorRedirect(), 0);
97            return false;
98        }
99
100    });
101
102});

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.