CellWall Logo

High Contrast Cookie 377d02d81834cc55

GitHub

Accessibility
Needs review
v9556ef31
A script for managing user display preferences, specifically related to high-contrast modes, and persisting these preferences using browser storage.
Updated 11/27/2026
https://github.githubassets.com/assets/high-contrast-cookie-377d02d81834cc55.js
Overall Score
89

Recorded Observations

24

For this resource version

File Size

0.51 KB

Download size

Load Time

17.65ms

Network latency

Execution Time

0.00ms

Runtime performance

Version Telemetry

Version Timeline

Visual representation of each version's active period

Metrics Over Time

Security score, performance score, and file size trends

0255075100v9556Normalized ScoreVersion
Security Score
Performance Score
File Size (KB)

Uptime History

Average response time over time

Version History Details

Detailed information for each version

v9556ef31Latest
Span: 3 days
Score: 79
Size: 0.51 KB

Exposure & Risks

Security Score

Overall Security79 / 100
Security RatingNeeds review

Risk Assessment

Critical Risks0
Total Observations0

Security Rating

Needs review
Behavioral concerns detected; review and mitigation are advised.

Behavioral Concerns

No Known Security Risks

Our telemetry scan did not detect any immediate behavioral security risks for this resource.

Security Observations

Security-related findings from analysis

No security observations recorded for this version

Privacy & Data Flow

Data Collection

Cookies and local storage used by this script

Cookies

_gh_contrast_pref1 year
Stores the user's preference for high-contrast mode.

Local Storage

gh_high_contrast_enabled
Indicates whether the high-contrast mode is currently enabled by the user.

Third-party Connections

External domains this script connects to

No external connections detected

Permissions Required

Browser permissions and capabilities used

No special browser permissions required.

Privacy Observations

Privacy-related findings from analysis

No privacy observations recorded for this version

Technical & Performance Analytics

Load Performance

File Size0.51 KB
Load Time17.65ms

Runtime Performance

Execution Time0.00ms
Network Requests0

Impact Assessment

Good
Minimal performance impact on page load

Performance Observations

Performance-related findings from analysis

No performance observations recorded for this version

Global Variables

Variables added to the global scope

No global variables detected

Event Listeners

Events this script listens for

No event listeners detected

Browser API Access

APIs and browser features accessed by this script

No API access detected

Technical Details

Compressed
Yes
CDN Delivery
No
Recorded Observations
24
Is Mirror
No
Network Requests
0
Resource Hash
9556ef31bdd47d211d224f28a5c505d4f0b290fb864b60944c3e17fefd67b731

AI Insights & Alternatives

Description

A comprehensive overview of this resource

This script is responsible for handling user interface accessibility features, primarily a high-contrast mode. It allows users to toggle a high-contrast display setting on the website to improve readability for individuals with visual impairments. The script captures this user preference and stores it, likely in a browser cookie or local storage, to ensure the setting persists across different sessions or page loads. Upon loading, it checks for the stored preference and applies the high-contrast style to the web page if enabled. This enhances the user experience by providing a consistent and accessible browsing environment based on individual needs. Its primary behavior in a browser is to listen for user interactions that trigger the high-contrast mode, modify the page's CSS to apply the necessary styles, and then save this state. When the page reloads, it quickly applies the saved preference before the full page render is complete, minimizing visual flicker.

Key Features

Core functionalities and capabilities of this resource

  • Accessibility
  • High Contrast Mode
  • User Preferences
  • Persistent Settings
  • UI Customization
  • Readability Enhancement

Alternatives

Similar libraries you might consider

Documentation & Resources

Official Documentation