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

前端 未结 13 2180
面向向阳花
面向向阳花 2020-11-29 16:16

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

相关标签:
13条回答
  • 2020-11-29 16:48

    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.

    0 讨论(0)
  • 2020-11-29 16:49

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

    0 讨论(0)
  • 2020-11-29 16:51

    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.

    0 讨论(0)
  • 2020-11-29 16:58

    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
    
    0 讨论(0)
  • 2020-11-29 16:59

    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.

    0 讨论(0)
  • 2020-11-29 16:59

    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.

    0 讨论(0)
提交回复
热议问题