Skip to content

Original version

Latest
Compare
Choose a tag to compare
@xiarimangguo xiarimangguo released this 13 Feb 17:59
a1eb0eb

This is a cookie interface implemented from Sciter with js, using Sciter's Storage object to store data, allowing Sciter to support the cookie function like a browser.

Sciter is a C++-based GUI framework that allows you to quickly build GUI applications using C++ and HTML.

Use

Load from CDN

Insert the following code in the HTML page that needs to use the Cookie component to get started.

<script src="https://cdn.jsdelivr.net/gh/xiarimangguo/sciter-cookie@zipped/cookie.js" type="module"></script>

Load from local file

Download cookie.js and put it in your project folder.
Insert the following code in the HTML page that needs to use the Cookie component to get started.

<script src="file://path/to/cookie.js" type="module"></script>

Don't forget to change the file path to the file location of cookie.js.