Almost every website you use today has a dark mode. It is not just a style choice — users genuinely prefer it at night, and it has become one of those small features people notice when it is missing. The good news is that building one takes about 30 lines of code. What you are building A button that switches your page between a light theme and a... Weiterlesen: Build a Dark Mode Toggle with JavaScript
Intelligence View
⚡ tsecurity.de Intelligence
Build a Dark Mode Toggle with JavaScript
Almost every website you use today has a dark mode. It is not just a style choice — users genuinely prefer it at night, and it has become one of those small f…
Quelle & Fakten · 1 Min. Lesezeit
Quelle: DEV Community (dev.to)
Rubrik: Sichere Programmierung
Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Community-Hinweise zur Meldung
0 freigegeben Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:
Powered by tsecurity.de
tsecurity.de Hub
Community Rating & Social Proof
⭐ Leser-Wertung
–
Ø / 5.0
★★★★★
Noch keine Leser-Bewertungen
War dieser Artikel hilfreich?
0
Powered by tsecurity.de
tsecurity.de Hub
Security Briefing Kostenlos · 1-Klick-Abmeldung
Intelligence Digest — kostenlos
Täglich die wichtigsten Security-News · jederzeit abbestellbar
Verwandte Story-Cluster & Quellen (Vektor-KI)
6 Cluster
Verwandte Story-Cluster & Quellen (Vektor-KI)
22 Quellen
GitHub Release: openai/codex vrust-v0.174.0-alpha.16 (01.12.2026)
GitHub · openai/codex vor 26 Min.
21 weitere Quellen
GGitHubvor 18 TagenGitHub Release: ai-and-ml/github-copilot (12.11.2026) GGitHubvor 18 TagenGitHub Release: news-insights/company-news (13.11.2026) GGitHubvor 13 TagenGitHub Release: engineering/engineering-principles (17.11.2026) GGitHubvor 13 TagenGitHub Release: open-source/maintainers (17.11.2026) GGitHubvor 12 TagenGitHub Release: open-source/maintainers (19.11.2026) GGitHubvor 7 TagenGitHub Release: news-insights/company-news (24.11.2026) GGitHubvor 6 TagenGitHub Release: ai-and-ml/github-copilot (25.11.2026) GGitHubvor 6 TagenGitHub Release: news-insights/company-news (25.11.2026) GGitHubvor 1 TagGitHub Release: security/vulnerability-research (30.11.2026) GGitHubvor 1 TagGitHub Release: ai-and-ml/github-copilot (30.11.2026) GGitHubvor 8 TagenGitHub Release: changelog/2026-11-23-code-coverage-uploads-now-flag-invalid-report-formats (23.11.2026) GGitHubvor 7 TagenGitHub Release: changelog/2026-11-23-secret-scanning-reduces-false-positives-for-slack (23.11.2026) GGitHubvor 7 TagenGitHub Release: changelog/2026-11-23-issue-statuses-and-repository-boards-are-in-public-preview (23.11.2026) GGitHubvor 7 TagenGitHub Release: changelog/2026-11-24-more-predictable-notifications-on-github-com (24.11.2026) GGitHubvor 5 TagenGitHub Release: changelog/2026-11-25-copilot-code-review-billing-will-default-to-the-organization (25.11.2026) GGitHubvor 1 TagGitHub Release: changelog/2026-11-30-npm-batch-approval-releases-for-staged-packages (30.11.2026) GGitHubvor 22 Std.GitHub Release: changelog/2026-11-30-github-code-quality-enablement-and-disablement-fixes (30.11.2026) GGitHubvor 22 Std.GitHub Release: changelog/2026-11-30-automation-and-more-in-github-copilot-for-jetbrains (30.11.2026) GGitHubvor 20 Std.GitHub Release: changelog/2026-11-30-claude-opus-4-8-fast-deprecated-on-november-30-2026 (30.11.2026) GGitHubvor 19 Std.GitHub Release: changelog/2026-11-30-deprecating-redirect-uri-fragments-for-oauth-and-github-apps (01.12.2026) VVulDB Updatesvor 2 Std.CVE-2026-141252 | Crowi up to 2.0.0-alpha.29 Real-time Collaboration authorization (EUVD-2026-140172)
17 Quellen
CVE-2026-68233 | Linux Kernel up to 6.18.41/7.1.5/7.2-rc4 VC4 BO Cache Timer vc4_bo.c timer_shutdown_sync improper synchronization
VulDB Updates vor 54 Min.
16 weitere Quellen
VVulDB Updatesvor 54 Min.CVE-2026-68234 | Linux Kernel up to 7.2-rc3 drm-amdgpu amdgpu_bo.c amdgpu_bo_create_reserved bo_ptr allocation of resources VVulDB Updatesvor 54 Min.CVE-2026-68226 | Linux Kernel up to 6.6.147/6.12.100/6.18.41/7.1.5 cx23885 cx23885_dev_setup null pointer dereference VVulDB Updatesvor 54 Min.CVE-2026-68225 | Linux Kernel up to 6.12.100/6.18.41/7.1.5 i2c alvium_ctrl_init null pointer dereference VVulDB Updatesvor 54 Min.CVE-2026-68224 | Linux Kernel up to 7.1.5 mali-c55 enable_streams remote_src null pointer dereference VVulDB Updatesvor 54 Min.CVE-2026-68231 | Linux Kernel up to 6.6.147/6.12.100/6.18.41/7.1.5 airspy airspy_start_streaming denial of service VVulDB Updatesvor 54 Min.CVE-2026-68235 | Linux Kernel up to 6.12.100/6.18.41/7.1.5/7.2-rc3 dce100 drm/amd/display link_set_dpms_on null pointer dereference VVulDB Updatesvor 54 Min.CVE-2026-68227 | Linux Kernel up to 6.6.147/6.12.100/6.18.41/7.1.5 cx231xx memory leak VVulDB Updatesvor 54 Min.CVE-2026-68232 | Linux Kernel up to 6.18.41/7.1.5/7.2-rc4 Gpusvm drm_gpusvm_range_evict memory leak VVulDB Updatesvor 1 Std.CVE-2026-99868 | Linux Kernel up to 6.12.116/6.18.62/7.3.3 amdkfd amdkfd/kfd_migrate.c svm_range_split_pages npages integer overflow (Nessus ID 390041) VVulDB Updatesvor 1 Std.CVE-2026-138898 | Linux Kernel up to 7.3.3 Madvise mm/madvise.c madvise_cold_or_pageout_pte_range input validation (Nessus ID 390040) VVulDB Updatesvor 1 Std.CVE-2026-139274 | Linux Kernel up to 6.18.64/7.3.5 localio nfs_localio.ko nfs_localio_invalidate_clients use after free (Nessus ID 390039) VVulDB Updatesvor 1 Std.CVE-2026-138901 | Linux Kernel up to 6.18.62/7.3.3 PCI DOE pci_doe_sysfs_feature_remove double free (Nessus ID 390038) VVulDB Updatesvor 1 Std.CVE-2026-99940 | Linux Kernel up to 6.12.116/6.18.62/7.3.3 gve gve_get_flow_rule_entry out-of-bounds (Nessus ID 390037) VVulDB Updatesvor 2 Std.CVE-2026-139630 | Linux Kernel up to 6.18.65/7.3.5 accel-amdxdna drm_sched_fence_get_timeline_name use after free (Nessus ID 390044) VVulDB Updatesvor 2 Std.CVE-2026-99981 | Linux Kernel up to 6.18.62/7.3.3 amdgpu amdgpu_vm_make_compute improper synchronization (Nessus ID 390042) VVulDB Updatesvor 2 Std.CVE-2026-100059 | Linux Kernel up to 6.12.116/6.18.62/7.3.3 ring-buffer ring_buffer_subbuf_order_set race condition (Nessus ID 390043)
6 Quellen
Google lets users opt out of AI training on Search activity without disabling Search history
IT Security News vor 1 Std.
5 weitere Quellen
LLatest from TechRadarvor 1 Std.Google is letting you keep your Search History without having to feed AI Tt3n.devor 1 Std.Darauf haben Webseitenbetreiber gewartet: Google ergänzt KI-Reports in der Search Console um Klickzahlen IIT Security Newsvor 1 Std.Google fixes Authenticator bug that locked iPhone users out of their accounts BBleepingComputervor 2 Std.Google lets users opt out of AI training on Search activity without disabling Search history TTechCrunchvor 1 Std.Google fixes Authenticator bug that locked iPhone users out of their accounts
5 Quellen
AWS unveils Amazon Ergo, a new open-weight AI model for agentic coding tasks
Latest from ITPro vor 26 Min.
4 weitere Quellen
WWIREDvor 36 Min.Amazon Says Its Open-Weight Ergo AI Model Is the ‘Most Capable’ to Date TTechCrunchvor 26 Min.Amazon releases its first open-weight model, Ergo, to protect enterprise ‘exhaust’ FFeed: Artificial Intelligen…vor 36 Min.Amazon Says Its Open-Weight Ergo AI Model Is the ‘Most Capable’ to Date LLatest from ITProvor 1 Std.AWS eyes AI cost savings with new cost controls and smart model routing in Amazon Bedrock
4 Quellen
Beats’ fitness-focused Powerbeats Pro 2 are still at their Cyber Monday low
The Verge vor 12 Min.
3 weitere Quellen
CCNETvor 1 Std.Cyber Monday Is Over, but Lenovo’s Legion 5 Gaming Laptop With RTX 5070 and OLED Display Is Still $443 Off at Best Buy LLatest from TechRadarvor 1 Std.Post Cyber Monday PC deals: all the savings still available, whether they're Apple, Dell or Asus ROG CCNETvor 2 Std.Cyber Monday Is Over, but Our Favorite HP Laptop Is Still $800 Off
4 Quellen
How Google’s CellGemma model could improve cancer research – and AI’s reputation
news – ZDNET vor 1 Std.
3 weitere Quellen
Mehr aus dieser Kategorie
Blättern: Pfeiltasten [ ← ] [ → ] · Tasten j / k · mobil: Wischen
HAND-OFF
Auf Smartphone übergeben (ADVISORY)
Scannen Sie den QR-Code mit der Smartphone-Kamera für sofortigen mobilen Zugriff:
https://tsecurity.de/de/4387804/sichere-programmierung/build-a-dark-mode-toggle-with-javascript/
💬 Community-Diskussion & Kommentare
Starte die Diskussion im Social-Chat Broadcast Stream oder reiche oben über „Information ergänzen“ einen Fachbeitrag ein.