一个简单的Chrome浏览器扩展,在图标上显示当前时间。
- Digital time display on browser extension icon
- 在浏览器扩展图标上数字化显示时间
- Support for different time information display in upper and lower parts (hours, minutes, seconds, year, month, day)
- 支持上下两部分分别显示不同的时间信息(小时、分钟、秒、年、月、日)
- Black and white display modes to match different browser themes
- 支持黑色和白色两种显示模式,适配不同的浏览器主题
- Upgraded to Manifest V3: Compliant with latest Chrome extension standards
- 升级到 Manifest V3:符合Chrome最新扩展标准
- Background page changed to Service Worker: Improved performance and memory efficiency
- 背景页改为Service Worker:提高性能和内存使用效率
- Using chrome.storage.local instead of localStorage: Better data management
- 使用chrome.storage.local代替localStorage:更好的数据管理
- Improved UI interface: More modern styling
- 改进UI界面:更加现代的样式
- Optimized code structure: Enhanced maintainability
- 优化代码结构:提升可维护性
- After installation, the extension icon will automatically display the current time
- 安装扩展后,扩展图标会自动显示当前时间
- Click the extension icon to access settings
- 点击扩展图标,可以进入设置页面
- Option to set white clock display (suitable for dark theme)
- 可以设置显示白色时钟(适合黑色主题)
- Customize time items displayed in upper and lower parts (year, month, day, hour, minute, second)
- 可以分别设置图标上半部分和下半部分显示的时间项(年、月、日、时、分、秒)
- Blog 博客:http://www.html-js.com