Limited availability
Note: See SharedWorker()
to understand usage.
SharedWorker(aURL)
SharedWorker(aURL, name)
SharedWorker(aURL, options)
Parameters
aURL
See SharedWorker()
.
name
Optional
See SharedWorker()
.
options
Optional
See SharedWorker()
.
Note: options.sameSiteCookies
only supports the value "none", which is the default.
An unpartitioned SharedWorker
object.
SecurityError
DomException
Thrown if access was not granted.
See SharedWorker()
document.requestStorageAccess({ SharedWorker: true }).then(
(handle) => {
console.log("SharedWorker access granted");
handle.SharedWorker(shared_worker_url);
},
() => {
console.log("SharedWorker access denied");
},
);
Note: See Using the Storage Access API for a more complete example.
Specifications Browser compatibility See alsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4