mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-14 21:10:34 +01:00
fix tracker localStorage DOMException in data URLs
This commit is contained in:
parent
d4da5aef00
commit
be656f0b63
@ -3,10 +3,10 @@
|
||||
screen: { width, height },
|
||||
navigator: { language },
|
||||
location,
|
||||
localStorage,
|
||||
document,
|
||||
history,
|
||||
} = window;
|
||||
const localStorage = location.href.startsWith('data:') ? undefined : window.localStorage
|
||||
const { hostname, href } = location;
|
||||
const { currentScript, referrer } = document;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user