SShortSingh.
Back to feed

Developer ports Chrome extension to Firefox with just four manifest.json changes

0
·1 views

A developer published KH4 Companion, a Kingdom Hearts IV countdown extension, on the Chrome Web Store in August before porting it to Mozilla's addons.mozilla.org this week. The port required only four changes to the manifest.json file, making the process far simpler than anticipated. Key differences included declaring a permanent Firefox extension ID, using a dual background-script key to support both browsers, and replacing importScripts calls with a guarded fallback for Firefox's event-page model. Since November 2025, AMO also requires extensions to declare data collection practices directly in the manifest, which the developer fulfilled with a 'none' declaration. The developer recommends running the addons-linter tool first before preparing any store assets, as AMO rejects non-compliant packages before a listing form is even shown.

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 ·

AI Writes Code Fast, But Verifying It Correctly Is Now the Critical Developer Skill

As AI tools rapidly generate functional-looking code, software engineers face a growing challenge: proving that code is actually correct, not just superficially working. A 2025 Stack Overflow survey found 84% of developers use or plan to use AI tools, yet only 33% trust AI output accuracy, with 66% frustrated by code that is 'almost correct but not quite.' Industry frameworks from NIST and CISA recommend layered verification practices — including peer review, static analysis, and automated testing — rather than relying on any single check. Experts argue that AI shifts the developer's role from writing code to rigorously understanding, verifying, and validating what AI produces before it reaches production. The core message is that while code generation is becoming cheaper and faster, the ability to critically evaluate and prove correctness is becoming the more valuable engineering skill.

0
ProgrammingDEV Community ·

Beyond Chatbots: A Practical Guide to Computer Vision, 3D and Multimodal AI

A technical overview published on DEV Community outlines the broad scope of computer vision, emphasizing that the field extends well beyond basic object detection. The article maps out major sub-domains including image classification, video analysis, 3D reconstruction, LiDAR processing, and vision-language models. It explains how raw image data is structured and preprocessed before being fed into deep learning pipelines, and highlights commonly used libraries such as OpenCV, Pillow, and NumPy. The piece also traces the evolution of neural network architectures from early CNNs like LeNet and AlexNet to modern Vision Transformers and multimodal AI systems. Written for software developers, it aims to show how these distinct areas interconnect in real-world projects.

0
ProgrammingDEV Community ·

bsday.js launches as a modern JavaScript library for Nepal's Bikram Sambat calendar

A new open-source JavaScript and TypeScript library called bsday.js has been released to simplify working with Nepal's Bikram Sambat (BS) calendar system. The library offers zero external dependencies, a roughly 12KB gzipped core package, and an API designed to feel familiar to developers who have used Day.js or Moment.js. It supports bidirectional conversion between BS and Gregorian dates, Devanagari numeral parsing, and a 111-year astronomical dataset spanning 1990 to 2100 BS. The ecosystem includes dedicated packages for React, Vue 3, Angular, and Svelte, each providing headless UI components and framework-native patterns. The library also addresses Nepal-specific needs such as fiscal year calculations, banking workday logic, KYC age verification, and localized Nepali date formatting.

0
ProgrammingDEV Community ·

Developers Rethink MCP Context Bloat by Turning Resources into On-Demand Tools

Engineers working with the Model Context Protocol (MCP) identified a common problem where integrations dump all server resources into the system prompt at startup, causing context bloat, silent truncation, and broken binary file handling. To address this, they introduced two synthetic client-side tools — read_resource(uri) and invoke_prompt(name) — that let the language model fetch only the resources it actually needs during a conversation. Under this approach, the system prompt carries only a lightweight catalog of resource names and descriptions rather than full content. The model then retrieves specific resources on demand through the same tool-calling loop it already uses for other functions. This shift keeps context lean, preserves full document fidelity, and gives the model agency over what information it consumes.

Developer ports Chrome extension to Firefox with just four manifest.json changes · ShortSingh