zwillhill
V2EX  ›  问与答

网站引用了网易云音乐,然后被广告劫持……

  •  
  •   zwillhill · Sep 3, 2017 · 3131 views
    This topic created in 3213 days ago, the information mentioned may be changed or developed.
    日志里有这么一句:
    http://api.share.baidu.com/s.gif?r=http%3A%2F%2Fwww.域名.com%2F&l=http://music.163.com/outchain/player?type=2&id=……

    是不是云音乐调用了百度的某些资源(统计什么的)?

    几个莫名奇妙的 js
    http://push.zhanzhang.baidu.com/push.js
    http://hm.baidu.com/h.js?86f43783acc56b0c8abb5bb039edc763 等等

    网站并没有用百度统计之类的百度服务。网上搜索一番基本是说网络运营商劫持之类的。

    是不是启用 https 才能比较好的解决(网站基于 nginx+wordpress )?

    虽然说用户端弄个广告屏蔽就看不见,但还是想基于网站端解决下。谢谢
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2450 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 10:29 · PVG 18:29 · LAX 03:29 · JFK 06:29
    ♥ Do have faith in what you're doing.