Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is Chome devtools automatically blocking a request?

I am trying to build a PWA (Progressive Web App) but the Chrome devtools console is warning that it is blocking my css and icon file.

Request was blocked by DevTools: "https://example.com/styles/style.css".

I cannot find any information about this happening automatically and, to my knowledge, should only happen if the user has manually requested to block a script. Chrome does not offer any other information about the warnings other than being blocked.

like image 788
Bakala Avatar asked Jan 05 '20 09:01

Bakala


People also ask

How do I enable requesting blocks in Chrome?

Right-click on the request in the Network panel and select Block Request URL. A new Request blocking tab pops up in the Drawer, which lets you manage blocked requests.

Why is request blocked?

The request was blocked for security reasons message can sometimes appear in your browser and prevent you from downloading attachments or visiting certain websites.


1 Answers

This error means the domain or URL has been blocked in the devtools. Most of the time, it's just because the developer blocked the request without paying attention.

To unblock it, just follow these steps:

  • Open your devtools
  • Go to the network tab
  • Right-click on the request that blocked
  • Then click Unblock <request-url>

Chrome Inspector - Unblock Request URL

like image 121
Medteck Avatar answered Nov 15 '22 18:11

Medteck