"by others" is a bit fuzzy. Other sites just cannot see your cookies. But a user can always see the cookies on his browser. At best, you can encrypt its content. Not foolproof for somebody motivated with some programming knowledge...
I guess my tone was not right... I assumed there was a different method in Processing(meant by "in Js mode") and meant to ask about its safety measures... But i tried document.cookies and it worked fine... Sorry for the inconvineince... @PhiLho could you close this discussion? Dont want it to be hangong around as unanswered...
A complete description on all cookie function(Javascript) are found here. It works for Processing Js mode too...
document.cookie is a String variable i guess.
Answers
I guess my tone was not right... I assumed there was a different method in Processing(meant by "in Js mode") and meant to ask about its safety measures... But i tried
document.cookies
and it worked fine... Sorry for the inconvineince... @PhiLho could you close this discussion? Dont want it to be hangong around as unanswered...http://p5js.org/reference/
I rarely close threads not breaking rules.
I suggest to show a little bit of code illustrating your finding, and to accept your own answer! :-D
A complete description on all cookie function(Javascript) are found here. It works for Processing Js mode too...
document.cookie
is a String variable i guess.to write. To read use as here
Now how do i accept my answer @PhiLho?