I Built a Free Firefox New Tab Extension with Live Weather, World Clocks, and a Privacy Focus
说明与用途
为 Firefox 新标签页创建的扩展,提供实时天气、世界时钟和搜索栏,注重隐私。
问题
Firefox new tab pages were either cluttered with unwanted news or blank and useless, lacking useful functionality.
结果
The extension delivers useful new tab features—live weather, world clocks, and a search bar—while maintaining privacy by using only geolocation and storage permissions and avoiding third‑party scripts.
工作流
- 1. Developed a WebExtension using pure HTML/CSS/JS without frameworks or build tools.
- 2. Integrated Open‑Meteo API for current conditions and 3‑day forecast using geolocation.
- 3. Added world clock feature allowing up to 6 pinned cities.
- 4. Implemented a clean search bar with selectable search engine.
- 5. Implemented dark/light mode following system preference or manual toggle.
- 6. Ensured privacy by limiting permissions to geolocation and storage, avoiding analytics or third‑party scripts.
- 7. Published on Mozilla Add‑ons (AMO) and GitHub.
- 8. Users install via AMO or GitHub and use the extension on every new tab.
证据
I built Weather & Clock Dashboard after being frustrated with Firefox new tab options — either cluttered with news I didn’t want or blank and useless.
Live weather: Current conditions + 3‑day forecast using your geolocation. Temperature in °C/°F, weather icons, humidity, wind speed. Powered by Open‑Meteo API — free, no API key, no data sold.
World clocks: Pin up to 6 city clocks. See what time it is in Berlin, Tokyo, or New York without opening a separate app.
Geolocation used only to fetch weather. Weather requests go directly to Open‑Meteo (not through any intermediary). Clock cities stored in browser local storage only. No analytics, no tracking, no third‑party scripts.
Full permissions list on AMO: just geolocation and storage.
- 记录日期: 2026-10-21T14:56:10.815Z