PageSourceSearch

https://goc.gov.tr/Areas/WebPart/Contents/EFooter/js/EFooter.js

js goc.gov.tr collected 2026-09-24 17:20:37 UTC 2,555 bytes, 41 lines download raw bytes

1(function (jquery) {
2    $.fn.EFooter = function (settings) {
3        var defaults = {
4            textColor: '#ffffff',
5            iconColor: '#aaaaaa'
6        };
7        var settings = $.extend(defaults, settings);
8        return this.each(function () {
9            settings.modulid = "#" + $(this).attr('id');
10
11
12            var sheet = document.styleSheets[document.styleSheets.length - 1];
13            var rules = sheet.cssRules;
14            sheet.insertRule(settings.modulid + ' .footer .footer-menu .menu-header h3 { color:' + settings.textColor + ';}', rules.length);
15            sheet.insertRule(settings.modulid + ' .footer .footer-menu .menu-header h3 a{ color:' + settings.textColor + ';}', rules.length);
16            sheet.insertRule(settings.modulid + ' .footer .footer-menu .menu-header a{ color:' + settings.textColor + ';}', rules.length);
17            sheet.insertRule(settings.modulid + ' .footer .footer-menu .menu-content ul li a { color:' + settings.textColor + ';}', rules.length);
18            sheet.insertRule(settings.modulid + ' .footer .footer-menu .menu-content ul li a.ext-link:after { color:' + settings.iconColor + ';}', rules.length);
19            sheet.insertRule(settings.modulid + ' .footer .footer-menu .menu-content ul li a[data-toggle="collapse"]:after { color:' + settings.iconColor + ';}', rules.length);
20
21            //rgbTextColor = hexToRgb(settings.iconColor); //console.log(rgbTextColor);
22            sheet.insertRule(settings.modulid + ' .footer .footer-menu .menu-content ul li a { border-bottom: 1px solid rgba(' + settings.iconColor + ', 0.1);}', rules.length);
23            sheet.insertRule(settings.modulid + ' .footer .footer-menu .menu-content ul li a:hover, ' + settings.modulid + ' .footer .footer-menu .menu-content ul li a.hover { border-bottom: 1px solid ' + settings.iconColor + ';}', rules.length);
24            sheet.insertRule(settings.modulid + ' .footer .footer-menu .menu-header { border-bottom: 1px solid ' + settings.iconColor + ';}', rules.length);
25
26            sheet.insertRule(settings.modulid + ' .footer .footer-divider { border-bottom: 1px solid ' + settings.iconColor + ';}', rules.length);
27
28        });
29
30        function hexToRgb(hex) {
31            if (hex.charAt(0) == "#") { hex = hex.substr(1, hex.length); }
32
33            var bigint = parseInt(hex, 16);
34            var r = (bigint >> 16) & 255;
35            var g = (bigint >> 8) & 255;
36            var b = bigint & 255;
37
38            return r + "," + g + "," + b;
39        }
40    }
41})(jQuery);

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.