inject.preload.js无法从我的开发环境加载chrome文件 [英] inject.preload.js failing to load a file in chrome from my dev environment

查看:64
本文介绍了inject.preload.js无法从我的开发环境加载chrome文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将google chrome用于我的php/js开发.

I use google chrome for my php/js development.

今天我开始看到无法加载的文件.

today I started to see a file that is failing to load.

文件名总是不同的

Request URL: blob:http://random.homestead.test/4d9f984b-b8f8-4e77-97cb-4fcfd8ace348

网络页面显示发起方为inject.preload.js:373

network page says that initiator is inject.preload.js:373

如果我打开此文件,第一行说

if I open this file, the first line says

/*
 *This file is part of Adblock Plus <https://adblockplus.org/>,

但是我禁用了Adblock Plus.我注意到该文件有时会成功加载.并且还请注意,只有在我激活AdBlock(不是AdblockPlus)时才请求此文件.如果我禁用了AdBlock-没问题.但是即使我将我的开发站点从adblock中排除,文件下载仍然失败.

But I have Adblock Plus disabled. I noticed that file is being loaded with success occasionally. And also noticed that this file is only requested when I have AdBlock (not AdblockPlus) active. If I have AdBlock disabled - no problem. but even if I exclude my dev site from adblock - the file download is still failing.

我的问题是:如何在不完全停用adblock的情况下摆脱控制台日志和网络中的红线?

我在stackoverflow.com上尝试过它,并且看到相同的文件inject.preload.js正在加载相同的随机命名文件并成功.文件头显示:

I tried it on stackoverflow.com and I see the same file inject.preload.js loading same randomly named file and succeeding. the file header says:

/*
* 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 take care to (re)inject our
* wrappers when the contentWindow is accessed.
*/

它于2018年6月14日开始

it started today on 14 of June 2018

推荐答案

在评论中 https://issues.adblockplus.org/ticket/6744#comment:17 ,您可以找到构建列表 https://downloads.adblockplus.org/devbuilds/adblockpluschrome/,安装开发版本适用于Google Chrome和Opera 3.1.0.2069的Adblock Plus",该错误将不再显示

In the comment https://issues.adblockplus.org/ticket/6744#comment:17 , you can find a link to build list https://downloads.adblockplus.org/devbuilds/adblockpluschrome/, install the development version "Adblock Plus for Google Chrome and Opera 3.1.0.2069" and the error won't display anymore

已更新

在2018.7.17上,已修复错误的新版本在chrome网站商店上发布.因此,此问题已自动解决.

On 2018.7.17 the new verison with bug fixed is released on chrome webstore. So this issue is automatically resolved.

这篇关于inject.preload.js无法从我的开发环境加载chrome文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆