This repository was archived by the owner on Apr 1, 2025. It is now read-only.
1.2
Implement the cookie import/export feature
- Added the
export_cookie_settingsandimport_cookie_settingsfunctions. - Updated the
cookie_settings_pagefunction:
- Added
enctype="multipart/form-data"to the form tag to allow file uploads. - Included export and import buttons in the form.
- Added code blocks after the form to handle export and import requests when the corresponding buttons are clicked.
- Now, when you click "Export Settings", a JSON file containing your settings will be downloaded. When you click "Import Settings", the settings from the selected JSON file will be imported and saved to your site.