ServiceWorkerRegistration.scope

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since April 2018.

scopeServiceWorkerRegistration インターフェイスの読み取り専用プロパティで、サービスワーカー登録の一意の識別子を返します。 サービスワーカーは、 ServiceWorker を登録する文書と同じオリジンにある必要があります。

メモ: この機能はウェブワーカーで利用できます。

固有の識別子。

仕様書

Specification
Service Workers
# service-worker-registration-scope

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
scope

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support

関連情報