PageSourceSearch

https://cloud.dstar.su/maps/BrowserTools.js

js dstar.su collected 2026-10-04 02:22:44 UTC 546 bytes, 25 lines download raw bytes

1// BrowserTools.js
2// Copyright 2012 Artem Prilutskiy
3
4function activateWebKitScroll(element)
5{
6  var expression = /(iPod|iPhone|iPad|Android)/i;
7  if (expression.test(navigator.userAgent))
8  {
9    var scroll = $(element).data('scroll');
10    if (scroll == undefined)
11    {
12      $(element).css('position', 'absolute');
13      $(element).css('height', 'auto');
14      var scroll = new iScroll(element);
15      $(element).data('scroll', scroll);
16    }
17    setTimeout(
18      function()
19      {
20        scroll.refresh();
21      },
22      100
23    );
24  }
25}

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.