PageSourceSearch

https://www.budilnik.com/wp-content/plugins/goliveDbTransfer/functions.js?ver=7.1.2

js budilnik.com collected 2026-10-02 10:49:55 UTC 1,643 bytes, 46 lines download raw bytes

1jQuery( document ).ready(function( $ ) {
2
3    $(".goliveDbTransferSubmit").click(function(e){
4		e.preventDefault();
5        golivedbTransferAjax(0);
6    });
7
8
9    function golivedbTransferAjax(lastCatID){
10        jQuery.post(
11            GoliveDbTrasfer.ajaxurl,
12            {
13                action      : 'goliveDbTrans',
14                lastID      : lastCatID
15
16            },
17            function(response) {
18                response = response.slice(0, -1);
19                var status = string_splitter(response, 'status');
20                var procent = string_splitter(response, 'procent'); // comment this if you dont want to percentage
21				$(".procent").html(parseFloat(procent)+'%'); // comment this if you dont want to percentage
22                if(status=="continue"){
23                    var lastid = string_splitter(response, 'lastid');
24                    var text = string_splitter(response, 'text');
25                    $("#goliveDbTransferResults").append(text);
26                    golivedbTransferAjax(lastid);
27                }
28                if(status=="end"){
29                    $("#goliveDbTransferResults").html("END.");
30                }
31            }
32        );
33    }
34
35    function string_splitter(string, string_splitter){
36        if (string.indexOf(string_splitter) >= 0){
37            var string_parts = string.split("["+string_splitter+"]");
38            var string_parts_1 = string_parts[1].split("[/"+string_splitter+"]");
39            var final_string = string_parts_1[0];
40            return final_string;
41        } else {
42            return '';
43        }
44    }
45
46});

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.