Request.mode - Web documentation
property Request.mode

Returns the mode associated with request, which is a string indicating whether the request will use CORS, or will be restricted to same-origin URLs.

Type