PageSourceSearch

https://eshop.scio.sk/scripts/eaf.js?v=QfcUDbvZB0QqWHf025ZfogHsyOQ5uOIm1B9Rr6v9n60

js scio.sk collected 2026-10-05 21:49:55 UTC 1,868 bytes, 71 lines download raw bytes

1//variables
2jQuery.eaf_default_submit = "Default.Next";
3
4//functions
5
6jQuery.Eaf_GetFunction = function (code, argNames) {
7    var fn = window, parts = (code || "").split(".");
8    while (fn && parts.length) {
9        fn = fn[parts.shift()];
10    }
11    if (typeof (fn) === "function") {
12        return fn;
13    }
14    argNames.push(code);
15    return Function.constructor.apply(null, argNames);
16}
17
18jQuery.Eaf_Submit = function (obj) {   
19    var form = $(obj).closest("form");       
20    if (form === undefined)
21        return false;
22
23    var submit = $(obj).data("eaf-do-submit");
24        
25    if (submit !== "ajax") {
26        if (submit === "")
27            submit = $.eaf_default_submit;
28            
29        var button = $(form).children("button[type=\"submit\"][name=\"" + submit + "\"]").first();
30        if (button === undefined)
31            return false;
32    } else
33        submit = $.eaf_default_submit;
34
35    if ($("input[name='" + submit + "']").length === 0) {
36        $("<input />")
37            .attr("type", "hidden")
38            .attr("name", submit)
39            .attr("value", "script_submit")
40            .appendTo(form);
41    }
42
43    var usrFunc = $(obj).data("eaf-submit-fnc");   
44    if (usrFunc !== undefined) {            
45        $.Eaf_GetFunction(usrFunc, [ "obj" ]).apply(obj);
46    }
47    $(form).submit();
48
49    return true;
50};
51
52jQuery.Eaf_SubmitableInit = function () {
53    $(document).on("click", "[data-eaf-do-submit]", function () { $.Eaf_Submit(this); });
54}
55
56jQuery.Eaf_SetValueToTarget = function (obj) {
57    var targetId = $(obj).data("eaf-target");
58    if (targetId === undefined)
59        return;
60    var val = $(obj).data("eaf-value");
61    if (val === undefined)
62        return;
63
64    $("#" + targetId).val(val);
65}
66
67$(function () {    
68    $.Eaf_SubmitableInit();
69});
70
71

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.