生于忧患,咸鱼安乐
Toggle navigation
Home
About Me
Archives
Tags
解决Geekbang弹窗
前端
2020-12-19 12:00:08
1496
0
0
squarefong
前端
手机上买了极客帮的课程,但是手机屏幕太小了,希望在电脑上看。但是电脑上打开极客帮会弹窗,不管是Linux还是ChromeOS上,都会有弹窗,而且每打开一个页面都会弹。   作为一个刚学了几天前端的新手。。。我决定解决一下这个问题。在Chrome中打开开发者工具,看看到底发生了什么。发现console下有个报错。  报错内容`Not allowed to launch 'bytedance://dispatch_message/' because a user gesture is required.`。不难发现是字节跳动想打开一个东西,我只是想看看极客帮,把头条屏蔽了还是没什么问题的。那么问题来了,这是哪个文件发出来的呢。 切换到Network,refresh一下。  toutiao.js后就dispatch_message了,~~证据确凿~~,于是点了一下toutiao.js,复制了以下Request URL。加入广告拦截插件,比如AdBlocks,顺利解决。 
Pre:
Rust Digest -- Hello,World
Next:
NotiSync-Qt使用简介
0
likes
1496
Weibo
Wechat
Tencent Weibo
QQ Zone
RenRen
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus
Table of content