ჩვენს მოხალისეებს, ჯერ არ შეუმუშავებიათ ამ სტატიის ქართული ვარიანტი. შემოგვიერთდით და დაგვეხმარეთ გადათარგმნაში!
ამასთან, შეგიძლიათ იხილოთ სტატიის English (US) ვერსია.

The WorkerNavigator interface represents a subset of the Navigator interface allowed to be accessed from a Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.navigator property obtained by calling window.self.navigator.

Properties

The WorkerNavigator interface implements properties from the NavigatorID, NavigatorLanguage, NavigatorOnLine, NavigatorDataStore, and NavigatorConcurrentHardware interfaces.

WorkerNavigator.connectionRead only
Provides a NetworkInformation object containing information about the network connection of a device.
WorkerNavigator.locks  Read only
Returns a LockManager object which provides methods for requesting a new Lock object and querying for an existing Lock object.
WorkerNavigator.permissions  Read only
Returns a Permissions object that can be used to query and update permission status of APIs covered by the Permissions API.
Navigator.storageRead only
Returns a StorageManager interface for managing persistance permissions and estimating available storage.

Inherited properties

NavigatorID.appCodeName  Read only
Always returns 'Mozilla', in any browser. This property is kept only for compatibility purposes.
NavigatorID.appName  Read only
Returns the official name of the browser. Do not rely on this property to return the correct value.
NavigatorID.appVersion  Read only
Returns the version of the browser as a string. Do not rely on this property to return the correct value.
NavigatorConcurrentHardware.hardwareConcurrencyRead only
Returns the number of logical processor cores available.
NavigatorLanguage.languageRead only
Returns a DOMString representing the language version of the browser. The null value is returned when this is unknown.
NavigatorLanguage.languagesRead only
Returns an array of DOMStrings representing the languages known to the user, in order of preference.
NavigatorOnLine.onLineRead only
Returns a Boolean indicating whether the browser is online.
NavigatorID.platform  Read only
Returns a string representing the platform of the browser. Do not rely on this property to return the correct value.
NavigatorID.product  Read only
Always returns 'Gecko', on any browser. This property is kept only for compatibility purposes.
NavigatorID.userAgentRead only
Returns the user agent string for the current browser.

Methods

The WorkerNavigator interface implements methods from the NavigatorID, NavigatorLanguage and NavigatorOnLine interfaces.

Specifications

Specification Status Comment
HTML Living Standard
The definition of 'WorkerNavigator' in that specification.
Living Standard

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
WorkerNavigatorChrome Full support 1Edge ? Firefox Full support 3.5IE ? Opera Full support YesSafari ? WebView Android Full support YesChrome Android Full support YesFirefox Android Full support 4Opera Android Full support YesSafari iOS ? Samsung Internet Android Full support Yes
connection
Experimental
Chrome Full support 61Edge ? Firefox No support NoIE No support NoOpera Full support YesSafari No support NoWebView Android Full support 50Chrome Android Full support 38Firefox Android Full support 53Opera Android Full support 37Safari iOS No support NoSamsung Internet Android Full support Yes
permissions
Experimental
Chrome Full support 43Edge ? Firefox Full support 46IE ? Opera Full support 30Safari ? WebView Android Full support 43Chrome Android Full support 43Firefox Android Full support 46Opera Android Full support 30Safari iOS ? Samsung Internet Android Full support 4.0
serviceWorkerChrome ? Edge ? Firefox ? IE ? Opera ? Safari ? WebView Android ? Chrome Android ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.

See also

დოკუმენტების ჭდეები და წვლილის შემტანები

ამ გვერდის შექმნაში, წვლილის შემტანები: ExE-Boss, mdnwebdocs-bot, fscholz, jpmedley, chrisdavidmills, Sheppy, AFBarstow, teoli
ბოლო განახლების ავტორი: ExE-Boss,