Preparing search index...
The search index is not available
Sentry JavaScript SDKs
Sentry JavaScript SDKs
@sentry/utils
getLocationHref
Function getLocationHref
get
Location
Href
(
)
:
string
A safe form of location.href
Returns
string
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Sentry
Java
Script SDKs
@sentry/angular -
v7.57.0
@sentry/angular-
ivy -
v7.57.0
@sentry/browser -
v7.57.0
@sentry-
internal/browser-
integration-
tests
@sentry/core -
v7.57.0
@sentry-
internal/e2e-
tests
@sentry/ember
@sentry-
internal/eslint-
config-
sdk
@sentry-
internal/eslint-
plugin-
sdk
@sentry/gatsby -
v7.57.0
@sentry/hub -
v7.57.0
@sentry-
internal/integration-
shims
@sentry/integrations -
v7.57.0
@sentry/nextjs
@sentry/node -
v7.57.0
@sentry-
internal/node-
integration-
tests
@sentry/opentelemetry-
node -
v7.57.0
@sentry-
internal/overhead-
metrics
@sentry/react -
v7.57.0
@sentry/remix -
v7.57.0
@sentry/replay -
v7.57.0
@sentry-
internal/replay-
worker -
v7.57.0
@sentry/serverless -
v7.57.0
@sentry/svelte -
v7.57.0
@sentry/sveltekit -
v7.57.0
@sentry/tracing -
v7.57.0
@sentry-
internal/tracing -
v7.57.0
@sentry/types -
v7.57.0
@sentry/utils -
v7.57.0
Sentry
Error
Sync
Promise
Add
Request
Data
To
Event
Options
Internal
Global
GLOBAL_
OBJ
MAX_
BAGGAGE_
STRING_
LENGTH
_browser
Performance
Time
Origin
Mode
browser
Performance
Time
Origin
using
PerformanceAPI
add
Context
To
Frame
add
Item
To
Envelope
add
Non
Enumerable
Property
add
Or
Update
Integration
add
Request
Data
To
Transaction
arrayify
baggage
Header
To
Dynamic
Sampling
Context
basename
check
Or
Set
Already
Caught
console
Sandbox
convert
To
Plain
Object
create
Attachment
Envelope
Item
create
Client
Report
Envelope
create
Envelope
create
Event
Envelope
Headers
create
Stack
Parser
date
Timestamp
In
Seconds
dirname
disabled
Until
drop
Undefined
Keys
dsn
From
String
dsn
To
String
dynamic
Require
dynamic
Sampling
Context
To
Sentry
Baggage
Header
envelope
Contains
Item
Type
envelope
Item
Type
To
Data
Category
escape
String
For
Regex
extract
Exception
Keys
For
Message
extract
Path
For
Transaction
extract
Request
Data
extract
Traceparent
Data
fill
for
Each
Envelope
Item
generate
Sentry
Trace
Header
get
Dom
Element
get
Event
Description
get
Function
Name
get
Global
Object
get
Global
Singleton
get
Location
Href
get
Number
Of
Url
Segments
get
Original
Function
getSDKSource
get
Sanitized
Url
String
get
Sdk
Metadata
For
Envelope
Header
html
Tree
As
String
is
Absolute
is
Browser
Bundle
isDOMError
isDOMException
is
Element
is
Error
is
Error
Event
is
Event
is
Instance
Of
is
Matching
Pattern
is
NaN
is
Native
Fetch
is
Node
Env
is
Plain
Object
is
Primitive
is
Rate
Limited
is
Reg
Exp
is
String
is
Synthetic
Event
is
Thenable
join
load
Module
make
Dsn
make
Fifo
Cache
make
Promise
Buffer
mark
Function
Wrapped
memo
Builder
node
Stack
Line
Parser
normalize
normalize
Path
normalize
To
Size
objectify
parse
Envelope
parse
Fetch
Args
parse
Retry
After
Header
parse
Semver
parse
Url
rejected
Sync
Promise
relative
resolve
resolved
Sync
Promise
safe
Join
serialize
Envelope
severity
From
String
severity
Level
From
String
snip
Line
stack
Parser
From
Stack
Parser
Options
string
Matches
Some
Pattern
strip
Url
Query
And
Fragment
supportsDOMError
supportsDOMException
supports
Error
Event
supports
Fetch
supports
History
supports
Native
Fetch
supports
Referrer
Policy
supports
Reporting
Observer
timestamp
In
Seconds
timestamp
With
Ms
tracing
Context
From
Headers
truncate
update
Rate
Limits
url
Encode
uuid4
walk
@sentry/vue -
v7.57.0
@sentry/wasm -
v7.57.0
Generated using
TypeDoc
A safe form of location.href