PageSourceSearch

https://www.linders.ie/js/event.js?v=2

js linders.ie collected 2026-10-07 16:47:27 UTC 814 bytes, 42 lines download raw bytes

1var attempts, stamp;
2function registerCall(location='') {
3    attempts = 0;
4    doAjaxRequestLoop(location);
5}
6
7function doAjaxRequestLoop(location='') {
8
9    attempts += 1;
10    if (attempts > 10) {
11      return;
12    }
13
14    if (location) {
15      var data = { stamp: stamp, location: location };
16    } else {
17      var data = { stamp: stamp };
18    }
19
20    $.ajax({ // do your request
21      url: '/re',
22      data: data,
23      method: 'POST',
24        error: function (error) {
25          setTimeout(function(){ doAjaxRequestLoop(location); }, 1000);
26        }
27    });
28}
29$(document).ready(function () {
30
31  $('.evt-phone').click(function () {
32    stamp = new Date().getTime();
33    let loc = $(this).data('location');
34    console.log(loc);
35    if (loc) 
36      registerCall(loc);
37    else
38      registerCall();
39
40  });
41
42});

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.