PageSourceSearch

https://www.wittchen.com/blog/wp-content/plugins/silicon-counters/framework/assets/js/silicon-counters.js

js wittchen.com collected 2026-09-25 02:36:47 UTC 1,888 bytes, 60 lines download raw bytes

1jQuery(document).ready(function ($) {
2    "use strict";
3    $.each($('.silicon_counters li a'), function (index, element) {
4        var $counter_color;
5        var $counter_color_hover;
6        var $icon_color;
7        var $icon_color_hover;
8        var $number_color;
9        var $number_color_hover;
10        var $label_color;
11        var $label_color_hover;
12
13        $counter_color = $(this).css('background-color');
14        $counter_color_hover = $(this).data('color-hover');
15        $icon_color = $(this).find('.fa').css('color');
16        $icon_color_hover = $(this).find('.fa').data('color-hover');
17        $number_color = $(this).find('.count').css('color');
18        $number_color_hover = $(this).find('.count').data('color-hover');
19        $label_color = $(this).find('.label').css('color');
20        $label_color_hover = $(this).find('.label').data('color-hover');
21
22        $(element).hover(
23            function () {
24                $(this).css({
25                    'background-color': $counter_color_hover,
26                });
27
28                $(this).find('.fa').css({
29                    'color': $icon_color_hover,
30                });
31
32                $(this).find('.count').css({
33                    'color': $number_color_hover,
34                });
35
36                $(this).find('.label').css({
37                    'color': $label_color_hover,
38                });
39            },
40            function () {
41                $(this).css({
42                    'background-color': $counter_color,
43                });
44
45                $(this).find('.fa').css({
46                    'color': $icon_color,
47                });
48
49                $(this).find('.count').css({
50                    'color': $number_color,
51                });
52
53                $(this).find('.label').css({
54                    'color': $label_color,
55                });
56            }
57        );
58
59    });
60});

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.