PageSourceSearch

https://afrofootball.com/static/assets/scripts/scripts.min.js

js afrofootball.com collected 2026-10-03 01:09:28 UTC 2,334 bytes, 45 lines download raw bytes

1function selectorSupported(selector) {
2    var support, sheet, doc = document, root = doc.documentElement, head = root.getElementsByTagName("head")[0], impl = doc.implementation || {
3        hasFeature: function() {
4            return !1;
5        }
6    }, link = doc.createElement("style");
7    return link.type = "text/css", (head || root).insertBefore(link, (head || root).firstChild), 
8    sheet = link.sheet || link.styleSheet, sheet && selector ? (support = impl.hasFeature("CSS2", "") ? function(selector) {
9        try {
10            sheet.insertRule(selector + "{ }", 0), sheet.deleteRule(sheet.cssRules.length - 1);
11        } catch (e) {
12            return !1;
13        }
14        return !0;
15    } : function(selector) {
16        return sheet.cssText = selector + " { }", 0 !== sheet.cssText.length && !/unknown/i.test(sheet.cssText) && 0 === sheet.cssText.indexOf(selector);
17    })(selector) : !1;
18}
19
20Modernizr.addTest("targetselector", function() {
21    return selectorSupported(":target");
22}), $(document).ready(function() {
23    AFBWEB.ww = document.body.clientWidth, $(window).width() >= 767 && $("#newsCont").addClass("fullW"), 
24    $(".nav li a").each(function() {
25        $(this).next().length > 0 && $(this).addClass("parent");
26    }), $(".toggleMenu").click(function(e) {
27        e.preventDefault(), $(this).toggleClass("active"), $(".nav").toggle();
28    }), AFBWEB.adjustMenu(), $(window).bind("resize orientationchange", function() {
29        AFBWEB.ww = document.body.clientWidth, AFBWEB.adjustMenu();
30    });
31});
32
33var AFBWEB = AFBWEB || {
34    adjustMenu: function() {
35        AFBWEB.ww < 768 ? ($("#newsCont").removeClass("fullW"), $(".toggleMenu").css("display", "block"), 
36        $(".toggleMenu").hasClass("active") ? $(".nav").show() : $(".nav").hide(), $(".nav li").unbind("mouseenter mouseleave"), 
37        $(".nav li a.parent").unbind("click").bind("click", function(e) {
38            e.preventDefault(), $(this).parent("li").toggleClass("hover");
39        })) : AFBWEB.ww >= 768 && ($("#newsCont").addClass("fullW"), $(".toggleMenu").css("display", "none"), 
40        $(".nav").show(), $(".nav li").removeClass("hover"), $(".nav li a").unbind("click"), 
41        $(".nav li").unbind("mouseenter mouseleave").bind("mouseenter mouseleave", function() {
42            $(this).toggleClass("hover");
43        }));
44    }
45};

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.