structura

Structura

AI-powered web data extraction — select text on any page, extract structured data with AI, export to CSV or Feishu Bitable.

完全符合 2026 年 Chrome Web Store 严格审查规范的开源扩展样板。

Key Design Decisions

Project Structure

source/
  manifest.json         Chrome/Edge MV3 manifest
  background/
    service-worker.js    Event-driven service worker
  popup/
    popup.html           Action popup
    popup.js             Popup logic (type: module)
    popup.css            Popup styles (dark theme)
  icons/
    icon16.png           Required: 16x16
    icon48.png           48x48
    icon128.png          128x128
  _locales/
    en/messages.json     English strings
    zh_CN/messages.json  简体中文

Permissions: Why Only These Three?

["storage", "activeTab", "scripting"]

Content Security Policy

"script-src 'self'; object-src 'self';"

Only 'self' — no CDN, no 'unsafe-inline', no 'unsafe-eval'. The popup HTML also carries a redundant <meta> CSP layer.

Cross-Browser Compatibility

Includes browser_specific_settings for Chrome (minimum_chrome_version: "120"), Edge, and Firefox (gecko UUID with strict_min_version).

2026 CWS Review Checklist

Development

  1. Open chrome://extensions
  2. Enable “Developer mode”
  3. Click “Load unpacked” and select the source/ directory

License

MIT