PageSourceSearch

https://www.venda.cz/js/watchdog.js?version=88

js venda.cz collected 2026-10-05 20:38:33 UTC 1,260 bytes, 37 lines download raw bytes

1$(document).ready(function () {
2    $(".watchdog_form").submit(function (event) {
3        var showMessages = $(".js-show-messages");
4        showMessages.removeClass("message");
5        $(".message").remove();
6
7        var formData = {
8            product_id: $(".js-watchdog-product-id").val(),
9            email: $(".js-watchdog-email").val(),
10            phone: $(".js-watchdog-phone").val(),
11            marketing: $(".js-watchdog-merketing").is(':checked')
12        };
13
14        $.ajax({
15            type: "POST",
16            url: "../../auth/data/ajax_watchdog_form.php",
17            data: formData,
18            dataType: "json",
19            encode: true,
20        })
21            .done(function (data) {
22                if (!data.success) {
23                    if (data.errors) {
24                        showMessages.append(
25                            '<div class="message message-error">' + data.errors + "</div>"
26                        );
27                    }
28                } else {
29                    showMessages.html(
30                        '<div class="message message-success">' + data.message + "</div>"
31                    );
32                }
33            })
34
35        event.preventDefault();
36    });
37});

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.