Non http-only cookies access from UXP plugin

Is there any way to access non-httponly cookie inside UXP plugin? Regular browsers would provide this feature through document.cookie. I need this access to implement XSRF protection mechanism.