Anki add-on: Cookie monster

Simple add-on that allows you to use cookies on cards. I use it to pick a random font from a list on the question side, and then let the answer side know about the font picked. For decks that already use them or for your own note types. To use on your own types, add scripts to the front and back, setting the cookie with code like document.cookie = "font_index=" + font_index + ";" and reading it with var font_index = getCookie("font_index"); .