SShortSingh.
Back to feed

Chrome Side Panel API lets developers build persistent, native browser sidebars

0
·2 views

Google's Chrome Side Panel API, introduced as a stable feature in Chrome 114 in May 2023, allows developers to build extensions that display a persistent sidebar within the browser's native UI. Unlike popup-based extensions or content-script-injected sidebars, the Side Panel renders as a full extension page outside the host page's DOM, eliminating CSS conflicts and breakage on dynamic sites. The panel remains open and maintains its state as users navigate across multiple tabs, giving it a significant usability advantage over traditional popups. Developers can enable the feature using Manifest V3 by adding the 'sidePanel' permission and a 'side_panel' key to the extension manifest. A single call to setPanelBehavior in the service worker is sufficient to wire the toolbar icon to toggle the panel open and closed.

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 ·

Developer cuts AI scoring costs by rebuilding LLM pipeline for 10,000 daily job listings

A developer building a production job board platform for a client faced unsustainable OpenAI API costs when scaling an LLM scoring pipeline from 100 test listings to over 10,000 per day. The platform ingests job listings from five ATS providers — Greenhouse, Lever, Ashby, Workable, and Recruitee — normalizing them into a standard schema stored in MongoDB. A critical performance issue caused by MongoDB's skip()-based pagination was resolved by switching to cursor-based pagination using the _id field, eliminating CPU spikes at over one million documents. To ensure consistent, structured output from the LLM, the developer replaced freeform JSON prompts with OpenAI function calling, which enforces a fixed schema for scores and match reasons on every response. The rebuilt architecture addressed both reliability and cost challenges that had made the original approach economically unviable at production scale.

0
ProgrammingDEV Community ·

How to Learn HTML in 2026: A 7-Step Beginner-Friendly Approach

A structured guide recommends that beginners learn HTML by building real web pages rather than memorizing lists of tags out of context. The article argues that of roughly 110 still-useful HTML elements, only about 20 are used regularly, making rote memorization an ineffective and discouraging strategy. The proposed learning path spans seven progressive stages: page structure, text, links and images, lists and tables, semantic elements, forms, and accessibility best practices. Each stage builds directly on the previous one, ensuring that every new element is learned in response to a concrete, visible need. The approach is designed to help learners retain knowledge by anchoring each tag to a real problem they encountered while constructing an actual page.

0
ProgrammingDEV Community ·

Why Product Launch Day Is a Starting Point, Not the Finish Line

Developers often treat launch day as the ultimate goal, but the real work begins once a product is live. Users interact with software in unexpected ways, surfacing issues and friction points that were invisible during development. Feedback gathered post-launch frequently prompts teams to revisit decisions that once seemed final. Meaningful product improvement often comes through small, incremental changes rather than major new features. Ultimately, releasing software marks the start of an ongoing conversation with users, with long-term maintenance and iteration being just as vital as the initial build.

0
ProgrammingDEV Community ·

Developer Builds Lightweight Time Zone Converter Focused on Clean UX

A developer has created a streamlined time zone converter tool designed to address the clutter and slowness found in many existing solutions. The utility allows users to quickly compare local times across cities such as Singapore, London, and New York, while correctly handling date rollovers and ambiguous timezone abbreviations. Key design priorities included a simple layout, fast interaction, and mobile-friendly responsiveness without unnecessary visual noise. The project used standard IANA timezone identifiers to avoid confusion from abbreviations like CST, which carry different meanings in different regions. Future additions such as shareable meeting links, calendar export, and a working-hours overlap view are under consideration, though the developer intends to keep the tool lightweight.