[object DOMException]

Idk what this error means after hours of researching. When I open the manage extentions i have error btn on my extention and i have this error. It highlights get hasWebApi (){ try{ return typeof window < "u" !!window.localStorage; } catch{ //here return console.log(e), !1; } }
6 Replies
filthytone
filthytone•2w ago
The console.error really should go away because there's generally nothing you can do to "fix" the issue .. in certain cases, the act of even attempting to access window.localStorage can throw an error (usually access denied) .. in this case above, returning False is the right behavior, but the console.log, like i said , should really just go away in the library
filthytone
filthytone•2w ago
example on app.asana.com (i'm authenticated and have some stuff injecting into main frame and subframes)
No description
Oos Feri
Oos FeriOP•2w ago
Thanks for responding but its not in the console. Its in the extention errors
YAGPDB.xyz
YAGPDB.xyz•2w ago
Gave +1 Rep to @filthytone (current: #4 - 25)
Oos Feri
Oos FeriOP•2w ago
Here
No description
No description
filthytone
filthytone•2w ago
Yea this is literally an error from the extension . It’s an example of it happening I’m just showing it from console but it’s originating from extension and generates an error in the extension page just like you’re showing Anyway good luck with it
Want results from more Discord servers?
Add your server