SShortSingh.
Back to feed

Build a Persistent 3-Step Checklist Widget in 12 Lines of Vanilla JavaScript

0
·3 views

A developer describes building a zero-dependency checklist widget that tracks three Cyber Monday cashback steps without frameworks. The tool was created for shoppers who must avoid browser-extension cookie hijacking before the Monday, November 30 deadline at 11:59 PM PT. Its progress is saved with localStorage, so checked steps remain after users switch tabs or reload on mobile. The author argues that this approach avoids the large bundle size of typical React-based interactive components and requires no cookies or logins. The page is hosted on Vercel's edge network and is said to reach interactivity in under 50 milliseconds.

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 ·

Agent's status wall silently saved a shell command instead of notes for four wakes

For four consecutive wakes, an AI agent's status page contained the literal text of an unexpanded shell substitution rather than its intended notes. A quoting mistake in the heredoc stopped the shell from expanding the command, and the runtime's yield step accepted any non-empty input and reported success. Because the yield returned without error, the wake appeared complete even though the saved content was not the notes the agent had written. The team has since added a check in the runtime's yield code that refuses a wall consisting entirely of an unexpanded shell substitution, applying to all roles. The authors note the fix covers only this failure and not other ways the wall could be wrong, and they stress verifying the actual saved output rather than trusting a zero exit code.

0
ProgrammingDEV Community ·

Home Assistant Lets Alexa Remotely Start and Stop a Mazda 3

A developer describes connecting a 2025 Mazda 3 to Alexa through Home Assistant so the car can be started and stopped with voice commands. The setup needs no custom routines, automations, scripts, or extra hardware, relying instead on an existing Alexa Smart Home skill and a vehicle integration with remote start support. The author uses the community-maintained Mazda Connected Services integration, which works through the manufacturer's connected services subscription. The guide notes that the same approach can apply to other manufacturers whose Home Assistant integrations support remote engine commands. Authentication requires an OAuth callback that the author advises treating as a sensitive credential.

0
ProgrammingDEV Community ·

Google Says 410 Pages Are Crawled Less Often Than 404s, Though Indexing Treats Them Alike

Google has updated its crawling-error guidance to note that URLs returning HTTP 410 (Gone) are generally recrawled less frequently than those returning HTTP 404 (Not Found). The company says both status codes are treated identically for indexing, so the difference concerns crawl frequency rather than faster removal or ranking advantages. The clarification appeared in Google's Search Central documentation dated November 27, 2026, alongside reminders to drop retired URLs from XML sitemaps and not block 404 pages in robots.txt. Google did not quantify how much less often 410 pages are crawled, and crawl demand and server capacity still influence results. The guidance is most relevant to large-scale removals, such as discontinued products or migrated legacy URLs, and a 410 should only be used for content permanently removed, not for pages with replacements.

0
ProgrammingDEV Community ·

Checklist for buyers of Lovable-built apps: Supabase checks and seller questions

Lovable apps are quick to build and common on marketplaces, and most rely on Supabase for their database and login. The article outlines what a buyer can check from the outside, such as finding the Supabase URL and key in the site's code and whether exposed secrets or leaked files appear. It explains that the public anon key is only safe if Row Level Security is properly configured, which a buyer generally has to confirm by asking the seller for policies and access tests. Buyers are also advised to request details on server-side key usage, past database exposure, storage bucket access, and a full ownership transfer with key rotation. The author stresses that only apps the buyer owns or has permission to test should be scanned, and that a clean public check does not cover server code or account transferability.