PageSourceSearch

https://stlaurentdesbois41.fr/wa_js/wa_vanilla.js?v=125&

js stlaurentdesbois41.fr collected 2026-10-02 21:24:40 UTC 519 bytes, 28 lines download raw bytes

1class WaFxMarket
2{
3  static detectPublicFolder(KEY_STORE)
4  {
5      var path = window.location.pathname;
6      var n1 = path.lastIndexOf("/"+KEY_STORE+"/");
7      if (n1>-1)
8      {
9        path = path.substring(0,n1);
10      }
11      else
12      {
13        var n2= path.lastIndexOf("/");
14        if (n2>-1)
15        {
16        path = path.substring(0,n2);
17        }
18      }
19
20      if (path.length>0)
21      {
22          if (path.endsWith("/")==false) path +="/";
23      }
24      return path;
25  }
26}
27
28

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.