Add more documentation about windows

This commit is contained in:
Brandon Thomas committed 2022-07-16 22:24:02 -04:00
1 parent de9cf3a8fe
commit dbfe3ef757
1 file changed
+8
+8
View File
@@ -86,6 +86,14 @@ You can also set cookie flags by accessing the flag API, eg.
https://api.jungle.horse/flags/design_refresh/enable
Or toggle cookies manually, eg.
```javascript
let flagValue=(document.cookie.split(";").find(f => f.includes("refresh")) || "").trim().split("=")[1] === "true"; document.cookie = `refresh=${!flagValue}`; document.location.reload();
```
Where "refresh" is the name of the cookie flag to toggle.
Fixing common errors
--------------------