This type is a string, which represents a particular kind of resource fetched in a web request.

It's used to filter the requests you listen to using the webRequest API. For example: you can listen to requests only for images, or only for scripts.


Values of this type are strings. Possible values are:



Browser compatibility

ChromeEdgeFirefoxFirefox for AndroidOpera
Basic supportYesYes45.048.033


This API is based on Chromium's chrome.webRequest API. This documentation is derived from web_request.json in the Chromium code.

Microsoft Edge compatibility data is supplied by Microsoft Corporation and is included here under the Creative Commons Attribution 3.0 United States License.

Document Tags and Contributors

 Contributors to this page: wbamberg, rolfedh
 Last updated by: wbamberg,