SShortSingh.
Back to feed

Developer builds Chrome extension game that turns website cookie counts into currency

0
·3 views

A developer has created Crumbongo, a free Chrome extension that converts the number of accessible cookies on any visited website into in-game currency for a small browser-based game. The extension counts only the number of cookie records for a chosen site and never reads, stores, or transmits actual cookie names or values. Built entirely with vanilla JavaScript, HTML, CSS, and Chrome Extension APIs — without any frameworks or backend — the game features a progression system, pixel-art cosmetics, companions, habitats, and two minigames. All game progress is stored locally in the browser, and the extension requests cookie access one site at a time to keep its privacy model transparent. Crumbongo is available for free on the Chrome Web Store and appears to be the first game built around this particular mechanic.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

iFlytek Releases Domux, an Edge AI Model for Smart-Home Voice Commands

iFlytek has released Domux, an open-source AI model designed to interpret natural-language smart-home commands by identifying user intent and extracting relevant details such as device, room, and settings. The model is fine-tuned on Google's Gemma-4-E2B-it base and supports both image and text inputs. Domux is built for on-device or edge deployment, reducing dependence on large cloud-hosted AI systems. By running locally, it can minimize network round-trips and keep user interactions private. The model is available on Hugging Face under the Gemma license, though access is gated and requires a login request.

0
ProgrammingDEV Community ·

BrunnerCTF Boot2Root Challenge Uses Real CVEs for WordPress-to-Root Exploit Path

A capture-the-flag challenge called 'WordPressed to Root' tasks participants with compromising a Dockerized WordPress 7.0.0 installation running on PHP 8.2 and Apache atop Debian Trixie. Initial access is gained by exploiting a deliberately vulnerable plugin called wp2shell, which leverages a public proof-of-concept chaining two CVEs for unauthenticated SQL injection and remote code execution. Once inside as www-data, players must escalate privileges using a recent CVE in sudo itself, with gcc and libc6-dev pre-installed on the image to hint that compiling a local exploit on the box is the intended approach. A misconfiguration in the entrypoint script exposes randomly generated WordPress admin credentials to all child processes, including Apache and PHP workers, providing a secondary avenue for credential harvesting. Standard container-escape and SUID techniques are intentionally blocked, steering solvers toward the sudo vulnerability as the sole privilege escalation path.

0
ProgrammingDEV Community ·

Reusing Login Code Across Projects Reveals Case for Centralized Auth Services

Developers commonly build login and user management features from scratch or by duplicating code across multiple projects, a practice that creates long-term maintenance challenges. When a bug is found in one project's login system, the same flaw often exists in all copies, requiring repeated fixes across every codebase. As new projects introduce additional requirements — such as role management — those features remain siloed rather than benefiting all applications. This pattern of fragmented, copy-pasted authentication logic highlights the inefficiency of project-by-project auth development. The scenario makes a case for centralizing authentication and user management into a shared, reusable service instead of rebuilding it each time.

0
ProgrammingDEV Community ·

switch(true) Pattern in JavaScript Can Replace Messy If/Else Chains

JavaScript developers often rely on if/else statements for complex conditional logic, but long chains of conditions can make code difficult to read and maintain. A lesser-known technique involves passing the boolean value 'true' into a switch statement, allowing it to evaluate complex multi-variable expressions just like if/else does. Each case in a switch(true) block holds a full boolean expression, making the overall structure more visually scannable. This approach is particularly useful when conditions involve multiple variables and value ranges simultaneously. Developers are encouraged to refactor lengthy if/else chains using this pattern to improve code clarity and reduce the chance of errors.