Gemini Pro

增强 Gemini 对话界面

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
无尤
Daily installs
0
Total installs
55
Ratings
0 0 0
Version
0.2.0
Created
2025-12-10
Updated
2025-12-31
Size
50.2 KB
License
Apache-2.0
Applies to

简介

这是一个用于增强 Google Gemini 对话界面的 Tampermonkey 脚本。

主要功能

1. 界面元素控制

支持自定义隐藏以下元素:

  • 侧边栏:隐藏“我的内容”入口按钮。
  • 侧边栏:隐藏“我的内容”内容预览。
  • 底部:隐藏“Gemini 的回答未必正确无误,请注意核查”的免责声明。
  • 输入框:移除输入框上方的渐变遮罩(彻底解决长截图时的阴影接缝问题)。

2. 页面布局调整

  • 聊天容器:自定义左右边距(支持 px%),轻松调整阅读宽幅。
  • 输入区域:自定义底部边距。
  • 智能适配:防止设置过大导致内容消失,自动限制最大边距。

3. 回答内容间距调整

  • 段落 (P):调整段落下间距。
  • 标题 (H1-H6):独立调整标题的上、下间距。
  • 列表 (UL/OL):调整列表整体的上、下间距。
  • 列表项 (LI):调整列表项之间的上、下间距。

4. 代码块增强

  • 行高调整:自定义代码行高(支持倍数或像素)。
  • 高度限制:设置代码块最大高度,超出时显示滚动条,避免页面过长。

5. 便捷设置面板

  • 悬浮按钮:页面常驻悬浮设置按钮,支持任意拖拽位置。
  • 滚轮调节:设置面板内的数值输入框支持鼠标滚轮直接增减数值,微调样式更丝滑。

资源