惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Hugging Face - Blog
Hugging Face - Blog
腾讯CDC
阮一峰的网络日志
阮一峰的网络日志
博客园_首页
Last Week in AI
Last Week in AI
月光博客
月光博客
D
DataBreaches.Net
WordPress大学
WordPress大学
雷峰网
雷峰网
酷 壳 – CoolShell
酷 壳 – CoolShell
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 叶小钗
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
U
Unit 42
Recent Announcements
Recent Announcements
宝玉的分享
宝玉的分享
MyScale Blog
MyScale Blog
C
Check Point Blog
F
Fortinet All Blogs
B
Blog
小众软件
小众软件
Vercel News
Vercel News
罗磊的独立博客
有赞技术团队
有赞技术团队

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Privacy by Design: What Data My Firefox Extension Sends (...
Weather Cloc · 2026-05-04 · via DEV Community

Weather Clock Dash

When I built the Weather & Clock Dashboard extension for Firefox, I made a non-obvious decision early on: no analytics, no error tracking, no third-party anything except the weather API call.

Here's what that actually means in practice.

What data leaves the browser?

Exactly one thing: your weather location.

When you open a new tab, the extension makes a single HTTP request to Open-Meteo:

GET https://api.open-meteo.com/v1/forecast?latitude=40.71&longitude=-74.01&current_weather=true...

Enter fullscreen mode Exit fullscreen mode

That's it. Your coordinates (obtained from navigator.geolocation) go to Open-Meteo's servers to fetch weather data. No user ID. No session token. No cookies.

Open-Meteo is an open-source project that doesn't log IP addresses beyond standard server logs. Their privacy policy is one page long.

What stays local?

Everything else:

  • Theme preference (dark/light): localStorage
  • Clock timezones: browser.storage.local
  • Last known coordinates: browser.storage.local
  • Search engine preference: browser.storage.local

None of this data is transmitted anywhere. It's stored using browser APIs and stays on your device.

The no-framework advantage

Because the extension is pure HTML/CSS/JS with no build step, there are no transitive dependencies that could be compromised.

Compare this to an npm-based extension:

my-extension
├── webpack 5.88.0
│   ├── webpack-sources 3.2.3
│   ├── enhanced-resolve 5.15.0
│   │   └── graceful-fs 4.2.11
...
(200+ more packages)

Enter fullscreen mode Exit fullscreen mode

Every package in that tree is a potential supply chain attack vector. I don't have that problem because my package.json doesn't exist.

What permissions does the extension request?

Just two, in manifest.json:

{
  "permissions": ["storage", "geolocation"]
}

Enter fullscreen mode Exit fullscreen mode

  • storage — to save your preferences locally
  • geolocation — to get weather for your location (you see a browser permission prompt the first time)

No activeTab. No tabs. No history. No cookies. No webRequest.

Mozilla's AMO review process also validates this — the extension can't silently request permissions beyond what's declared.

Why this matters for new tab extensions

Your new tab page is a privileged context. It opens every time you start browsing. It sees your screen constantly.

A malicious new tab extension could:

  • Log every time you open a new tab (timestamps reveal browsing habits)
  • Track your search queries via a modified search bar
  • Load third-party ad networks that fingerprint your browser
  • Silently exfiltrate your browsing patterns

I designed this extension to not be able to do any of those things, by construction.

Open source as accountability

The extension is MIT-licensed on Mozilla Add-ons. The source is the newtab.html file that ships in the extension XPI — you can inspect it with unzip extension.xpi and read every line.

There's no minified bundle hiding telemetry. What you see is what runs.


If you've been looking for a new tab extension that isn't secretly a data collection operation, give it a try.

Follow @weatherclockdash on Mastodon for updates.