PageSourceSearch

https://krokom.se/site-colors?view=js&sv.contenttype=text/javascript;charset=UTF-8

js krokom.se collected 2026-10-02 11:05:26 UTC 1,800 bytes, 52 lines download raw bytes

1
2
3
4  
5
6
7
8
9  var lp = (function (exports) {
10    var siteColors = exports.siteColors = exports.siteColors || {};
11
12    var _colors = {
13          "svart": "#000000",
14      "svart": "#000000",           "morkgra": "#4a4a4a",
15      "morkgra": "#4a4a4a",           "ljusgra": "#c0c0c0",
16      "ljusgra": "#c0c0c0",           "vit": "#ffffff",
17      "vit": "#ffffff",           "rod": "#b50000",
18      "rod": "#b50000",           "gron567a00": "#567a00",
19      "gron-567a00": "#567a00",           "orangeee8532": "#ee8532",
20      "orange-ee8532": "#ee8532",           "follingeljusrosa": "#ffc9c9",
21      "follinge-ljusrosa": "#ffc9c9",           "hotagenljusrod": "#db3636",
22      "hotagen-ljusrod": "#db3636",           "laxsjoljusbla": "#59abe0",
23      "laxsjo-ljusbla": "#59abe0",           "naldenljusgron": "#9ed1bf",
24      "nalden-ljusgron": "#9ed1bf",           "rodonrod": "#9c3324",
25      "rodon-rod": "#9c3324",           "ronnoforsorange": "#ff784d",
26      "ronnofors-orange": "#ff784d",           "rorvattnetbla": "#21618a",
27      "rorvattnet-bla": "#21618a",           "angegron": "#297d63",
28      "ange-gron": "#297d63"        };
29
30    siteColors.getAll = function () {
31      return _colors;
32    };
33
34    siteColors.get = function (colorSlug, defaultColor) {
35      if (typeof _colors[colorSlug] === 'string') {
36        return _colors[colorSlug];
37      }
38      return defaultColor;
39    };
40
41    siteColors.getSlug = function (colorName) {
42      return colorName
43        .toLowerCase() // All lowercase
44        .replace(/å|ä/g, 'a') // replace åä with a
45        .replace(/ö/g, 'o') // replace ö with o
46        .replace(/[^a-z0-9]+/g, '-') // replace anything but a-z with -
47        .replace(/^-+|-+$/g, ''); // remove invalid trailing and leading
48    };
49
50    return exports;
51  })(lp || {});
52

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.