返回 AI 资讯
社区讨论LinuxDo 最新

谷歌浏览器右上角的Ask Gemini侧边栏的开启

谷歌浏览器之前可以看侧边栏的gemini,我不知道什么时候开始消失了。然后一直找不到方法开启,网上的也试了,最后让ds去综合全网的教程,修改了注册表的参数才完成。 于是记录一下 以下是给agent的提示词: Chrome Gemini 侧边栏(Glic)修复 · 给 Agent 的指令 适用:Chrome 150+(Windows / macOS / Linux) 已实测验证:Chrome 154.0.8037.98 on Windows 11 --- 一句话 把 Chrome 的 Local State 里 v…

内容摘要

作者:#Bin 板块:#开发调优 谷歌浏览器之前可以看侧边栏的gemini,我不知道什么时候开始消失了。然后一直找不到方法开启,网上的也试了,最后让ds去综合全网的教程,修改了注册表的参数才完成。 于是记录一下 以下是给agent的提示词: # Chrome Gemini 侧边栏(Glic)修复 · 给 Agent 的指令 > 适用:Chrome 150+(Windows / macOS / Linux) > 已实测验证:Chrome 154.0.8037.98 on Windows 11 --- ## 一句话 > 把 Chrome 的 `Local State` 里 `variations_permanent_overridden_country` 改成 `"us"`,重启后 Gemini 侧边栏就不会消失。 --- ## 完整版(直接整段粘给 Agent) 帮我开启 Chrome 内置的 Gemini 侧边栏(Glic),**要求重启后仍有效、不被重置**。做法: **1) 关闭 Chrome**,编辑 `%LOCALAPPDATA%\Google\Chrome\User Data\Local State` (macOS:`~/Library/Application Support/Google/Chrome/Local State`; Linux:`~/.config/google-chrome/Local State`),设**根级**字段: jsonc "variations_permanent_overridden_country": "us", // ★ 关键 "variations_country": "us", "variations_safe_seed_permanent_consistency_country": "us", "variations_safe_seed_session_consistency_country": "us", "browser": { "variations_country": "us" },

资讯来源

LinuxDo

原文链接

打开原文