7

百度自动推送不能用了吗?你错了,刚恢复了!

 3 years ago
source link: https://geekplayers.com/baidu-recover-push-js.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
百度自动推送不能用了吗?你错了,刚恢复了!_极客玩家大白

百度搜索线上公开课 的第二期公开课中百度的产品运营小姐姐 李文菊 提到自动推送push.js接口过一段时间会恢复上线的。

百度自动推送恢复-极客玩家大白

百度自动推送恢复-极客玩家大白

视频回放地址: http://mbd.baidu.com/webpage?type=live&action=liveshow&source=h5pre&room_id=3789761765, 就是在时间点03:04的。

这不,今天就恢复上线了~

今天进入 百度搜索资源平台 时,发现”自动推送”的入口已恢复,有图有真相!

百度自动推送恢复-极客玩家大白

具体的代码如下:

<script>
(function(){
    var bp = document.createElement('script');
    var curProtocol = window.location.protocol.split(':')[0];
    if (curProtocol === 'https') {
        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
    }
    else {
        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
    }
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(bp, s);
})();
</script>

各位小伙伴,赶紧加回来吧,你的网站收录情况一定会越来越好喔~

  • 本文作者:极客玩家大白
  • 本文链接:https://geekplayers.com/baidu-recover-push-js.html
  • 郑重声明:本文为博主原创或经授权转载的文章,欢迎转载,但转载文章之后必须在文章页面明显位置注明出处,否则保留追究法律责任的权利。如您有任何疑问或者授权方面的协商,请留言。

dotnet.jpg
一个有故事的程序员

(转载本站文章请注明作者和出处 极客玩家大白

点击了解 :.NET技术人的网站

Show Disqus Comments

0 comments

Be the first person to leave a comment!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK