generated from JetBrains/intellij-platform-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
From Vladimir Kharitonov
Looks like you may implement GET/POST handlers(to read/write file). I see in JCEF that it's possible to intercept POST (
CefPostDataElement
) requests as well as GET.
Other consideration about local storage
Actually starting upcoming 2024.1 version of IntelliJ platform, JCEF offers an option to use Chrome DevTools Protocol. There is no examples of using it so far.
There is no file system API. Don't think it's possible or actually needed.
Don't see a problem in accessing localStorage in CefLoadHandler . So, yes.
I wonder if we can use CefDevToolsClient
to restore / save a local storage. (need to have a look at this new API 🙂)
- Looks like devtool protocol offers such functionality https://chromedevtools.github.io/devtools-protocol/tot/DOMStorage/#method-setDOMStorageItem
Not sure that it's better than using JS though
I think the local storage is unique not per Frame by itself, but per origin(domain+port).
Metadata
Metadata
Assignees
Labels
No labels