Implement support of cookies
- Dominant language
- HTML
- Stars
- 93
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
In Kiwix Apple, the support of cookie has been implemented in3.17.
This means:
* Traditional javascript cookie interface is supported (see https://github.com/kiwix/kiwix-apple/issues/1657)
* New cookie store API support (see https://github.com/kiwix/kiwix-apple/issues/1674)
It works by injecting javascript to the HTML page and rewriting cookie javascript primitive. Once this done, the cookie are red and written. using a native Apple method.
This method should be reusable in all other readers (modulo Kiwix Server) which works differently.
Both of this issues provide ZIM files to develop and test implementation.
This issue is the ombrella ticket to discuss challenges and implementation is all readers.
Contributor guide
Research direction
Start by reading the Kiwix Apple implementation described in issues 1657 and 1674, and use the ZIM files they provide for development and testing. Compare how the other readers handle HTML and JavaScript, excluding Kiwix Server, then define how both cookie interfaces should work across them. Done means cookie values can be read and written through both APIs in the applicable readers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100