<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: AlexDao</title>
    <description>The latest articles on DEV Community by AlexDao (@hawkinfo).</description>
    <link>https://dev.to/hawkinfo</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4277701%2F82ed4251-60f8-4f52-8e3e-5ee8eae4a9bb.png</url>
      <title>DEV Community: AlexDao</title>
      <link>https://dev.to/hawkinfo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hawkinfo"/>
    <language>en</language>
    <item>
      <title>Building a browser screen light without camera permissions</title>
      <dc:creator>AlexDao</dc:creator>
      <pubDate>Wed, 02 Dec 2026 06:31:18 +0000</pubDate>
      <link>https://dev.to/hawkinfo/building-a-browser-screen-light-without-camera-permissions-f74</link>
      <guid>https://dev.to/hawkinfo/building-a-browser-screen-light-without-camera-permissions-f74</guid>
      <description>&lt;p&gt;A small companion tool for PhotoGlow turns a spare display into a controllable light. This is a development note about the shipped implementation, not a claim about measured photography results.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keep the browser tool local
&lt;/h2&gt;

&lt;p&gt;Color presets, displayed intensity and full/ring/top shapes are controlled by browser JavaScript and CSS. The tool does not request camera or microphone access. Hardware screen brightness remains a separate device setting.&lt;/p&gt;

&lt;h2&gt;
  
  
  Design for unavailable browser APIs
&lt;/h2&gt;

&lt;p&gt;The implementation attempts browser fullscreen during the user click, then uses a fixed-position light mode if fullscreen is unavailable. Screen wake lock is optional. Exit, Escape and wake-lock release are handled explicitly. Simulated-API checks cover these flows; real-device testing is still needed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keep web light and camera expectations clear
&lt;/h2&gt;

&lt;p&gt;Opening another camera app on the same phone replaces the browser screen. The instructions therefore describe a second display near the camera. The iPhone app combines lighting controls and capture in one workflow.&lt;/p&gt;

&lt;h2&gt;
  
  
  Publish ordinary HTML
&lt;/h2&gt;

&lt;p&gt;The site is generated from structured article files by a dependency-free Python builder. Canonical URLs and a sitemap are generated for the production origin. Unconfigured previews use noindex. Article drafts are excluded until their status and review fields allow publication.&lt;/p&gt;

&lt;h2&gt;
  
  
  Measurement without invented results
&lt;/h2&gt;

&lt;p&gt;The first version emits browser-local events for tool actions and store clicks. It has no connected analytics collector yet; no traffic or conversion claims can be made from those events alone.&lt;/p&gt;

&lt;p&gt;Try the tool: &lt;a href="https://photoglow-web.vercel.app/tools/screen-light/?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=photoglow_launch" rel="noopener noreferrer"&gt;https://photoglow-web.vercel.app/tools/screen-light/?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=photoglow_launch&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We build PhotoGlow; the linked site also introduces our iPhone app.&lt;/p&gt;

&lt;p&gt;Results vary by device and surroundings. The web light needs a second screen when another app is used for capture. App screenshot portraits are AI illustrations, not before-and-after evidence.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
