โฐ BlackMagic Test: Cookie Duration

Testing different cookie expiration times

โš™๏ธ Current Settings

Mode: Dynamic Color Conversion

Factor: 0.4 (Default)

Background Color: #2d2d2d

Initial Duration: 1 hour

Auto Switch: true

Description: Test how different cookie durations affect theme persistence. Choose different durations and test by refreshing the page or waiting for expiration.

๐Ÿงช Testing Instructions:

  1. Select a cookie duration from the options below
  2. Toggle to dark mode
  3. Refresh the page to see if the theme persists
  4. For short durations (1-5 minutes), wait and refresh to see expiration
  5. Check browser dev tools โ†’ Application โ†’ Cookies to see expiration times

Cookie Duration Options

Click on a duration to test different cookie expiration times:

1 Hour
Good for testing
5 Minutes
Quick expiry test
1 Minute
Very quick expiry
1 Day
Standard duration
1 Week
Extended persistence
1 Month
Long-term storage
1 Year
Maximum persistence
Session Only
Expires when browser closes

Current Cookie Expiration

Cookie will expire in: 1 hour

Exact expiry: --

Test Controls

Status Dashboard

Theme Status

Light Mode

Cookie Exists

Checking...

Selected Duration

1 Hour

Auto Switch Status

Enabled

Color Test Content

This content changes color when you toggle dark mode. Use this to test that the theme persists correctly after page refreshes within the cookie duration.

Red
Green
Blue
Orange