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
3
Total installs
58
Ratings
0 0 0
Version
0.3.0
Created
2025-12-10
Updated
2026-01-14
Size
55.1 KB
License
Apache-2.0
Applies to

简介

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

主要功能

1. 界面元素控制

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

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

2. 页面布局调整

  • 聊天容器:调整左右边距(支持 px%),轻松调整阅读宽幅。
  • 输入区域:调整底部边距。
  • 阈值限制:限制左右边距合计不超过 80%,防止设置过大导致内容消失。

3. 回答内容间距调整

  • 段落 (P):调整段落下间距。
  • 标题 (H1-H6):调整标题的上、下间距。
  • 列表 (UL/OL):调整列表整体的上、下间距。
  • 列表项 (LI):调整列表项之间的上、下间距。
  • 表格 (Table):调整表格下边距,并优化水平滚动条显示(解决多出下间距的问题)。

4. 代码块增强

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

5. 剪贴板优化

  • 删除错误空行:开启后,复制普通文本时会删除多出的错误空行。

6. 便捷设置面板

  • 原生融合入口:设置按钮位于右上角(用户头像和文件图标左边),与原生界面完美融合。
  • 滚轮调节:支持设置值输入框直接用鼠标滚轮增减数值。

资源