Kneel and ask for help to analyze the source of cookie on the home page of github.com

beg the god to help me analyze the source of cookie on the home page of github.com. I encountered some trouble when analyzing the home page cookie
trouble
use google browser to enter the github.com page, first delete cookie, as follows

clipboard.png


cookie

clipboard.png



cookiegithub.com google networkgithub.comcookies,cookiescookiescookiecookie

clipboard.png



githubcookiescookiecookiecookie

clipboard.png

< hr >

one sentence to describe the problem: you can try the github.com page and check the source of the returned cookies, these cookies. It must be returned by the server, but you do not see these cookie set in the response headers of other request paths

.

_ ga and _ gat are not actually returned by the server, but are created through js, and
is created through the following code in the framework.js file

S = function(e, t, r, o, i, a) {
            if (!(i = !T(i) && !(C.test(k.location.hostname) || "/" == r && L.test(o))))
                return !1;
            if (t && 1200 < t.length && (t = t.substring(0, 1200),
            n(24)),
            r = e + "=" + t + "; path=" + r + "; ",
            a && (r += "expires=" + new Date((new Date).getTime() + a).toGMTString() + "; "),
            o && "none" != o && (r += "domain=" + o + ";"),
            o = k.cookie,
            k.cookie = r,
            !(o = o != k.cookie))
                e: {
                    for (e = j(e),
                    o = 0; o < e.length; oPP)
                        if (t == e[o]) {
                            o = !0;
                            break e
                        }
                    o = !1
                }
            return o
        }

break point can be seen

Menu