I need synchronize cookies

I need something that synchronize cookies between webviever and web component.

Use webstring, or specify the question.

I need extension or something that copies cookies from webviewer to web component and use them. Because I need to copy the roblosecurity and other identificator cookies and use them into web component.

Add this code to your javascript
window.AppInventor.setWebViewString(document.cookie)
For getting cookies:
blocks (16)
Get and convert cookies to dictionary:
blocks (17)

It's working, but I need to paste in that cookies into Web component.

I did not see any block for set cookies in Web component.