V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
300
V2EX  ›  问与答

为什么慢慢买可以用百度的 cookies

  •  
  •   300 · Mar 18, 2018 · 2412 views
    This topic created in 2972 days ago, the information mentioned may be changed or developed.

    按链接查商品历史价格走势

    在页底看到了以前的搜索记录,但我系统都重装几次了。

    然后我看了一下 cookies 发现和百度的一样

    7 replies    2018-03-19 00:40:08 +08:00
    akira
        1
    akira  
       Mar 18, 2018   ❤️ 1
    <script>
    var _hmt = _hmt || [];
    (function() {
    var hm = document.createElement("script");
    hm.src = "//hm.baidu.com/hm.js?892a2ec2384af54c954095a2f6204108";
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(hm, s);
    })();
    </script>
    300
        2
    300  
    OP
       Mar 18, 2018
    @akira #1 可这个 hm.baidu.com 已经被 ubo 屏蔽了。而且 cookies 不是有作用域的吗(´•ω•`๑)
    Telegram
        3
    Telegram  
       Mar 18, 2018 via iPhone   ❤️ 1
    因为页面里有百度的统计。
    des
        4
    des  
       Mar 18, 2018 via Android   ❤️ 1
    建议关闭三方 cookie,有些无法登录的设置例外即可
    300
        5
    300  
    OP
       Mar 18, 2018 via Android
    @Telegram 嗯,可是 ublocko 屏蔽了也不行吗(゜o゜;

    @des 知道了,原来第三方 cookies 指的是这个啊😯
    7DLNU56W
        6
    7DLNU56W  
       Mar 19, 2018   ❤️ 1
    嗯,应该就是百度统计的是,代码中调用了百度的代码,百度的代码就可以访问百度的 cookie 了。
    night98
        7
    night98  
       Mar 19, 2018 via Android
    卧槽,你不说 ubo 我都忘了,难怪之前加百度统计一直加不上。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   939 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 20:30 · PVG 04:30 · LAX 13:30 · JFK 16:30
    ♥ Do have faith in what you're doing.