雨霖铃 1e83988b72 ```
feat(sidepanel): 优化时间戳工具界面与交互功能

- 调整 CSS 样式,增加 #current-timestamp 区块样式定义,统一阴影写法空格格式
- 重构 HTML 结构,将当前时间戳相关元素包裹进 div 容器中,并调整按钮布局
- 限制时区列表为常用时区,提升选择效率并确保兼容性
- 改进切换单位和复制按钮的反馈效果,添加动画提示增强用户体验
- 精简 updateTimestamp 函数逻辑,移除冗余代码并提高可维护性
```
2025-11-19 22:18:48 +08:00
```
2025-11-19 22:18:48 +08:00
```
2025-11-18 00:26:41 +08:00
```
2025-11-18 00:26:41 +08:00
```
2025-11-18 00:26:41 +08:00
```
2025-11-18 00:26:41 +08:00
```
2025-11-18 00:26:41 +08:00

Using the Gemini API in a Chrome Extension.

This sample demonstrates how to use the Gemini Cloud API in a Chrome Extension.

Overview

The extension provides a chat interface for the Gemini API. To learn more about the API head over to https://ai.google.dev/.

Running this extension

  1. Clone this repository.
  2. Download the Gemini API client by running:
    npm install
    
  3. Retrieve an API key and update functional-samples/ai.gemini-in-the-cloud/sidepanel/index.js (only for testing).
  4. Compile the JS bundle for the sidepanel implementation by running:
    npm run build
    
  5. Load this directory in Chrome as an unpacked extension.
  6. Click the extension icon.
  7. Interact with the prompt API in the sidebar.
S
Description
No description provided
Readme MIT 4.5 MiB
Languages
TypeScript 98.9%
CSS 0.5%
JavaScript 0.4%
HTML 0.2%