我使用谷歌浏览器进行php/js开发.
今天我开始看到一个无法加载的文件.
文件名总是不同的
Request URL: blob:http://random.homestead.test/4d9f984b-b8f8-4e77-97cb-4fcfd8ace348
Run Code Online (Sandbox Code Playgroud)
网页说发起人是 inject.preload.js:373
如果我打开这个文件,第一行说
/*
*This file is part of Adblock Plus <https://adblockplus.org/>,
Run Code Online (Sandbox Code Playgroud)
但是我禁用了Adblock Plus.我注意到该文件偶尔会成功加载.并且还注意到只有在AdBlock(非AdblockPlus)处于活动状态时才会请求此文件.如果我禁用了AdBlock - 没问题.但即使我将我的开发网站从adblock中排除 - 文件下载仍然失败.
我的问题是:如何在我的控制台日志和网络中摆脱这条红线而不完全停用adblock?
我在stackoverflow.com上尝试了它,我看到同一个文件inject.preload.js加载相同的随机命名文件并成功.文件头说:
/*
* Frame context wrapper
*
* For some edge-cases Chrome will not run content scripts inside of frames.
* Website have started to abuse this fact to access unwrapped APIs via a
* frame's contentWindow (#4586, 5207). Therefore until Chrome runs content
* scripts consistently for all frames we must …Run Code Online (Sandbox Code Playgroud)