SShortSingh.
Back to feed

Recant Chrome extension runs slow, persistent bulk message unsend under Manifest V3

0
·4 views

The team behind Recant, a Chrome extension that bulk-unsends a user's Instagram messages for both sides of a conversation, describes how they built a long-running job within Manifest V3's constraints. Because service workers are shut down after roughly 30 seconds of inactivity, the job's state is stored in chrome.storage.local after each step so it can resume where it left off. A chrome.alarms heartbeat wakes the worker periodically, and waits are recorded as timestamps rather than long timers. The removal pace is deliberately slow and irregular, with jittered delays and scheduled breaks, to avoid looking like automation to the platform.

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 ·

Analysis: 15 Billion Tokens in 30 Days of AI Coding Agent Use, Mostly Cached Context

A developer analyzed 30 days of Claude Code transcripts, covering 65,315 model calls across 179 sessions. Roughly 98% of input tokens were served from cache, and 62% of calls came from subagents rather than the main conversation. Priced at API list rates, the usage would have cost about $5,700, with cache reads making up 59% of that figure. Each call re-sends the full context, so longer sessions grew more expensive per call, and cache rebuilds after idle periods added about $560, or 10% of the total.

0
ProgrammingDEV Community ·

Poland's KSeF FA(3) e-invoicing: common XSD errors that reject invoices

Poland's National e-Invoicing System (KSeF) became mandatory in stages during 2026, starting 1 February for the largest taxpayers and 1 April for most businesses, with the smallest following in 2027. Every invoice is an XML document in the FA(3) structure, and KSeF validates it against the official XSD on submission, rejecting any invoice that fails the check. The article explains that the schema's error messages are accurate but hard to decode for teams unfamiliar with the Polish field names. It offers a script to download the schema and rewrite its imports to local copies, since the remote imports can fail for reasons unrelated to the invoice. A companion validator is also provided, along with a list of frequent mistakes, such as using the wrong namespace.

0
ProgrammingDEV Community ·

Open-source Rust kernel module unlocks GPU peer-to-peer transfers blocked by NVIDIA's driver

An open-source project called nvdriver is a clean-room Rust kernel module that replaces NVIDIA's proprietary driver component. It aims to re-enable features the closed driver disables on supported hardware, including PCIe peer-to-peer transfers between GPUs, higher NVENC encode session counts, and unprivileged profiling. The module is designed to work with unmodified NVIDIA userspace software such as CUDA libraries, PyTorch, and NCCL, though it requires matching userspace library versions. Its documentation lists compatibility from Maxwell through Blackwell GPUs, with GSP-RM firmware needed for Turing and newer cards. The authors stress that compatibility should be verified before deployment, since mismatches cause failures that resemble broken CUDA rather than a driver problem.

0
ProgrammingDEV Community ·

Developer Builds Offline Android App to Auto-Silence Phone Without Draining Battery

A developer was embarrassed when a phone notification sounded during a Friday prayer service, prompting a search for a better way to manage sound profiles. They wanted a local, offline-first app that could switch modes based on location, calendar events, or prayer times without constant server pings or intrusive permissions. Android's background execution limits made this difficult, so they combined a Foreground Service with a persistent notification and WorkManager, and used the GeofencingClient API so the system handles location tracking efficiently. The article also notes that AlarmManager proved unreliable for time-sensitive tasks, particularly on certain manufacturers' devices that aggressively restrict background apps.