简体   繁体   中英

I am getting Failed to load resource: net::ERR_BLOCKED_BY_CLIENT with Google chrome

I am getting white page after running my project but its work with .net Client properly Do I need any settings in the browser? and the link will come after the error

Failed to load resource: net::ERR_BLOCKED_BY_CLIENT http://clkmon.com/adServe/getTag?cid=200093510300000000&pid=CRSRDR&type=inject

Failed to load resource: net::ERR_BLOCKED_BY_CLIENT http://ads.626apps.com/a.php?626ref2=200093510300000000&626Name=Plus-HD-4.9&626ref3=B41A77C1675040A28F7E209964620E5EIE&626ref1=63726f73737269646572

These errors are usually generated from an ad blocking plugin, such as Adblock Plus. To test this use either a different browser or uninstall the ad blocking plugin (right clicking the extension by the URL bar and clicking "Remove from Chrome...").

There is an easier way to temporarily disable an extension. In Chrome, opening an Incognito tab will usually stop extensions running (unless you have specifically told Chrome which ones to run in Incognito).

My advice is to avoid any image names; class names or ID's with the words:

  • Advert
  • Advertise

in their name!

I ran some tests and Ad blockers regularly block any direct content with these names either within the CSS file, Div or Span Layers.

So an image name loaded via CSS such as advertise-with-us.png gets blocked on any machine running such software for example.

EDIT: I've Traced a list of web page elements in Chrome which AdBlock Plus sets the CSS value to "display:none". They probably apply to other browsers too:

::content #ads > .dose > .dosesingle, 
::content #content > #center > .dose > .dosesingle,
::content #content > #right > .dose > .dosesingle, 
::content #header + #content > #left > #rlblock_left, 
::content .trc_rbox_border_elm .syndicatedItem, 
::content .trc_rbox_div .syndicatedItem, 
::content div[id^="mainads"], ::content #ad-banner-980, 
::content #adbox300600, ::content #chartAdWrap, 
::content #in-content-ad, ::content #main-right-ad-tray, 
::content #second-right-ad-tray, ::content #sponsored-message, 
::content #tr-adv-banner, ::content #votvAds_inner, 
::content #welcome_ad, ::content #wp_ad_marker, 
::content .PremiumObitAdBar, ::content .ad-active

There are two steps here: troubleshooting and then fixing the issue:

  • To troubleshoot, check to see if it is a browser and/or extension problem. Chrome, Firefox and others have incognito or private mode which does not load extensions or the basic database of passwords and cookies.

  • In the case of ERR_BLOCKED_BY_CLIENT that is usually some kind of blocking software, such as Adblock, Ghostery, or some other kind of privacy/anti-spyware tool.

Don't use keyworks like "ad", "ads", "advertise", etc. in image url or image class. Adblock block them automatically.

If you are running multiple extensions that perform ad or script blocking you will need to

individually update each one to your whitelist

Taking from this source , here are some of the extensions that may cause the case and how to deal with them.

Adblock Plus

  • Click the Adblock Plus icon.
  • Click “Enabled on this site” to disable ad blocking for the current site.
  • In Firefox Click “disable on wired.com” to disable ad blocking.
  • Reload the page you were viewing.
  • If problem still persist, cek if the character string "-300x600" is in the file name, that particular text pattern matches an expression list pattern in the AdBlock Plus .

Firefox Tracking Protection

  • In Firefox “Tracking Protection” may activate our adblock notice. It can be temporarily disabled for a browsing session by clicking the “shield” icon in the url bar if visible and following the instructions.

  • For further details on Tracking Protection please review Mozilla's support.

Adblock

  • Click the Ad Block icon.
  • Click “Don't run on pages on this domain”.
  • Reload the page you were viewing.

Ghostery

  • Click the Ghostery icon.
  • In Ghostery versions < 6.0 Click “Whitelist site”.
  • In Ghostery version 7.0 click “trust site”
  • In Versions < 6.0 You will see the message “Site is whitelisted”. Click “reload the page to see your changes.”
  • Reload the page you were viewing.

uBlock / uBlock Origin

  • Click the uBlock / uBlock Origin icon.

  • Click the “power” button in the menu that appears to whitelist the current web site.

  • Click the reload icon to reload the page you were viewing.

Disconnect

  • Click the Disconnect icon.
  • Click “Whitelist site”.

Kaspersky Ant-Banner
Please review How to configure Anti-Banner in Kaspersky Total Security for information on how to whitelist with Kaspersky Total Security.

As other people have mentioned, this issue is common when using adblock or similar extensions.

The source of my issues was my Privacy Badger extension.

I noticed the same error as soon as I added Google Analytics and started testing on localhost.

I have both AdBlock as well as Ghostery... it actually (for me) wasn't AdBlock interfering - it was Ghostery. To "fix", in Ghostery settings, under "Analytics", uncheck Google Analytics.

You can also just run chrome in incognito mode, that automatically switches off all your plugins/extensions, including any add blockers. Then you can quickly see if the extensions are causing the problem.

我也遇到过类似的错误,基本上是使用广告拦截器造成的。关闭它们,您就可以轻松运行了。

I had a similar issue, also seeing "Failed to load resource: net::ERR_CONTENT_DECODING_FAILED" and "ILLEGAL TOKEN" errors when loading JS files locally. Pressing CTRL+SHIFT+DEL and deleting all "Cookies and other site and plugin data" and "Cached images and files" fixed it.

This issue may be due to the flags of chrome browser. Reset it, it worked for me. chrome://flags Right corner 'Reset all to defaults' button.

As others have pointed out, you need to disable extensions and retry the page to see if errors reoccur. If not, then the culprit might be one (or more) of them.

On my own case it was a deprecated switch, I've set up long ago. I used process-per-tab which was getting phased-out in recent (48-53) versions. Once I removed that switch all started to work correctly.

A little bit late to the party... but I found this as a solution for me when having "blocked"-Error in chrome:

Blocking resources whose URLs contain both \\n and < characters.

More info here: https://www.chromestatus.com/feature/5735596811091968

for chrome open cache. dev -> network -> disable to enable

My browser is Edge and I was not using any adblocker. For me the problem was using having the "Tracking prevention" setting in the browser set to "strict".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM