blob: b30edc466e24e860d9549d07a523f80f16894e30 [file] [log] [blame] [raw]
<!DOCTYPE html>
<html lang="en">
<style>
</style>
<body>
<h1><span style="color: darkslategray">Necessary</span> Local Storage</h1>
<p>To store your preferred options between sessions, such as your input code &amp; pane layout,
we make use of your browser's localStorage, where we place:</p>
<ol>
<li>The current page state (Such as: your current code, selected compilers, pane layout, font sizes)</li>
<li>Your settings as shown in the settings popup (Which can be found at: More > Settings)</li>
</ol>
<p>Note that the usage of localStorage is necessary for the proper functioning of the site, so they won't be disabled
if you choose to not grant cookie usage consent. More info on the FAQ.</p>
<h1><span style="color: green">Optional</span> Cookies</h1>
<p>In order to track website usage, we use cookies, managed by Google Analytics.</p>
<p>A cookie is a small text file that a website saves on your computer or mobile device when you visit the site.</p>
<p>By granting consent to use cookies, an identifying cookie will be used to keep track of your user sessions.</p>
<p>Our Google Analytics setup has user anonymization set-up, so Google Analytics does not receive any data which could
be linked back to you.</p>
<h2>FAQ</h2>
<ul>
<li>Why is localStorage necessary?
<ul>
<li>localStorage is currently necessary because we rely on being able to store your current page state there.
<!-- TODO: Add more explanation? --></li>
</ul>
</li>
</ul>
<h3>How to control the cookies</h3>
<!-- TODO: Link some different page here? -->
<p>You can control and/or delete cookies as you wish.</p>
<p>For more details, see <a href="https://developer.mozilla.org/docs/Web/HTTP/Cookies" target="_blank" rel="noreferrer noopener">the Mozilla dev page on cookies</a>.</p>
<p>You can delete all cookies that are already on your computer and you can set most browsers to prevent them
from being placed. If you do this,note that you may have to manually adjust some preferences every time you visit
a site and some services and functionalities may not properly work.</p>
<p>You can change your cookie consent decision on Compiler Explorer by pressing one of the following buttons:</p>
</body>
</html>