ScramjetClient
Defined in: typedoc-repos/scramjet/src/client/index.ts:72
Class created by $scramjetLoadClient
, which handles the sandboxing features.
Most use cases for Scramjet when it comes to proxy site devs should use ScramjetController
instead.
Properties
Section titled “Properties”bare:
BareClientType
Defined in: typedoc-repos/scramjet/src/client/index.ts:75
cookieStore
Section titled “cookieStore”cookieStore:
CookieStore
Defined in: typedoc-repos/scramjet/src/client/index.ts:82
descriptors
Section titled “descriptors”descriptors:
DescriptorStore
Defined in: typedoc-repos/scramjet/src/client/index.ts:78
eventcallbacks
Section titled “eventcallbacks”eventcallbacks:
Map
<any
, [{event
:string
;originalCallback
:Function
;proxiedCallback
:Function
; }]>
Defined in: typedoc-repos/scramjet/src/client/index.ts:84
global
Section titled “global”global: typeof
globalThis
Defined in: typedoc-repos/scramjet/src/client/index.ts:97
locationProxy
Section titled “locationProxy”locationProxy:
any
Defined in: typedoc-repos/scramjet/src/client/index.ts:73
meta:
URLMeta
Defined in: typedoc-repos/scramjet/src/client/index.ts:95
natives
Section titled “natives”natives:
NativeStore
Defined in: typedoc-repos/scramjet/src/client/index.ts:77
serviceWorker
Section titled “serviceWorker”serviceWorker:
ServiceWorkerContainer
Defined in: typedoc-repos/scramjet/src/client/index.ts:74
sourcemaps
Section titled “sourcemaps”sourcemaps:
SourceMaps
Defined in: typedoc-repos/scramjet/src/client/index.ts:79
wrapfn()
Section titled “wrapfn()”wrapfn: (
i
, …args
) =>any
Defined in: typedoc-repos/scramjet/src/client/index.ts:80
Parameters
Section titled “Parameters”any
…any
Returns
Section titled “Returns”any
Accessors
Section titled “Accessors”Get Signature
Section titled “Get Signature”get frame():
ScramjetFrame
Defined in: typedoc-repos/scramjet/src/client/index.ts:323
Returns
Section titled “Returns”isSubframe
Section titled “isSubframe”Get Signature
Section titled “Get Signature”get isSubframe():
boolean
Defined in: typedoc-repos/scramjet/src/client/index.ts:349
Returns
Section titled “Returns”boolean
Get Signature
Section titled “Get Signature”get url():
URL
Defined in: typedoc-repos/scramjet/src/client/index.ts:396
Returns
Section titled “Returns”URL
Set Signature
Section titled “Set Signature”set url(
url
):void
Defined in: typedoc-repos/scramjet/src/client/index.ts:400
Parameters
Section titled “Parameters”string
| URL
Returns
Section titled “Returns”void
Methods
Section titled “Methods”hook()
Section titled “hook()”hook():
void
Defined in: typedoc-repos/scramjet/src/client/index.ts:363
Returns
Section titled “Returns”void
loadcookies()
Section titled “loadcookies()”loadcookies(
cookiestr
):void
Defined in: typedoc-repos/scramjet/src/client/index.ts:359
Parameters
Section titled “Parameters”cookiestr
Section titled “cookiestr”string
Returns
Section titled “Returns”void
Proxy()
Section titled “Proxy()”Proxy(
name
,handler
):void
Defined in: typedoc-repos/scramjet/src/client/index.ts:416
Parameters
Section titled “Parameters”string
| string
[]
handler
Section titled “handler”Proxy
Returns
Section titled “Returns”void
RawProxy()
Section titled “RawProxy()”RawProxy(
target
,prop
,handler
):void
Defined in: typedoc-repos/scramjet/src/client/index.ts:437
Parameters
Section titled “Parameters”target
Section titled “target”any
string
handler
Section titled “handler”Proxy
Returns
Section titled “Returns”void
RawTrap()
Section titled “RawTrap()”RawTrap<
T
>(target
,prop
,descriptor
):PropertyDescriptor
Defined in: typedoc-repos/scramjet/src/client/index.ts:566
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”target
Section titled “target”any
string
descriptor
Section titled “descriptor”Trap
<T
>
Returns
Section titled “Returns”PropertyDescriptor
Trap()
Section titled “Trap()”Trap<
T
>(name
,descriptor
):PropertyDescriptor
Defined in: typedoc-repos/scramjet/src/client/index.ts:545
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”string
| string
[]
descriptor
Section titled “descriptor”Trap
<T
>
Returns
Section titled “Returns”PropertyDescriptor