{"id":51235728,"url":"https://github.com/limitcool/chrome-gemini-sidebar-fixer","last_synced_at":"2026-06-28T20:02:27.397Z","repository":{"id":365217604,"uuid":"1271094130","full_name":"limitcool/chrome-gemini-sidebar-fixer","owner":"limitcool","description":"A simple script to fix the missing \"Ask Gemini\" or Glic sidebar icon in Google Chrome. 一键修复 Google Chrome 浏览器右上角 “问问 Gemini” (或 Glic/Gemini 侧边栏) 图标丢失问题。","archived":false,"fork":false,"pushed_at":"2026-06-16T10:30:51.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-16T12:22:24.174Z","etag":null,"topics":["ai","bilingual","browser","china-ip","chrome","chrome-flags","chrome-sidebar","fixer","gemini","glic","google","google-chrome","helper","one-liner","powershell","python","script","sidebar","windows"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/limitcool.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-16T10:26:59.000Z","updated_at":"2026-06-16T10:33:20.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/limitcool/chrome-gemini-sidebar-fixer","commit_stats":null,"previous_names":["limitcool/chrome-gemini-sidebar-fixer"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/limitcool/chrome-gemini-sidebar-fixer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limitcool%2Fchrome-gemini-sidebar-fixer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limitcool%2Fchrome-gemini-sidebar-fixer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limitcool%2Fchrome-gemini-sidebar-fixer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limitcool%2Fchrome-gemini-sidebar-fixer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/limitcool","download_url":"https://codeload.github.com/limitcool/chrome-gemini-sidebar-fixer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limitcool%2Fchrome-gemini-sidebar-fixer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34901959,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-28T02:00:05.809Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","bilingual","browser","china-ip","chrome","chrome-flags","chrome-sidebar","fixer","gemini","glic","google","google-chrome","helper","one-liner","powershell","python","script","sidebar","windows"],"created_at":"2026-06-28T20:02:26.862Z","updated_at":"2026-06-28T20:02:27.393Z","avatar_url":"https://github.com/limitcool.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chrome Gemini Sidebar Fixer (Chrome Gemini 侧边栏修复工具)\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n[English](#english) | [中文](#中文)\n\n---\n\n## English\n\nA script tool to fix the missing \"Ask Gemini\" (or Glic/Gemini sidebar) icon in the top right corner of Google Chrome.\n\n### 📖 Introduction\nDue to changes in Google Chrome's sidebar management logic, or regional policy restrictions in some locations, the Gemini sidebar icon may be hidden or unpinned.\n\nThis tool resolves the issue by:\n1. Modifying `variations_permanent_consistency_country` from `cn` to `us` in the configuration to bypass regional restrictions.\n2. Setting `is_glic_eligible` to `true` across all Chrome profiles to force-enable the Glic/Gemini sidebar feature.\n\n### 🛠️ Usage\nPlease ensure you **completely close Google Chrome** before running the script (check the system tray or background tasks).\n\n#### Option 1: One-Liner (Run directly in PowerShell without downloading)\nOpen PowerShell and copy-paste the following command to execute:\n```powershell\nirm https://raw.githubusercontent.com/limitcool/chrome-gemini-sidebar-fixer/main/fix_chrome.ps1 | iex\n```\n\n#### Option 2: Local Script (Python)\nIf Python is installed on your system:\n```bash\npython fix_chrome.py\n```\n\n#### Option 3: Local Script (PowerShell)\nRight-click `fix_chrome.ps1` and choose **\"Run with PowerShell\"**, or execute the following in PowerShell:\n```powershell\nSet-ExecutionPolicy Bypass -Scope Process -Force\n.\\fix_chrome.ps1\n```\n\n### 📁 File Structure\n* `fix_chrome.py`: Python version of the fix logic.\n* `fix_chrome.ps1`: PowerShell version of the fix logic (fallback).\n* `LICENSE`: MIT License.\n\n---\n\n## 中文\n\n用于一键修复 Google Chrome 浏览器右上角 “问问 Gemini” (或 Glic/Gemini 侧边栏) 图标丢失问题的脚本工具。\n\n### 📖 介绍\n由于 Chrome 浏览器更新了侧边栏管理逻辑，或者在某些网络环境/地理位置限制下，Gemini 图标可能会被自动隐藏或取消固定。\n\n本工具通过以下两种方式修复该问题：\n1. 将 Chrome 配置文件中的 `variations_permanent_consistency_country` 从 `cn` 修改为 `us`，绕过区域策略限制。\n2. 将所有 Chrome 用户配置文件（Profiles）中的 `is_glic_eligible` 设置为 `true`，以强制启用 Gemini 侧边栏功能。\n\n### 🛠️ 使用方法\n在运行脚本前，**请务必完全关闭 Google Chrome 浏览器**（检查系统托盘或后台进程，以防修改被覆盖）。\n\n#### 方式 1：一键命令运行（无需下载，直接在 PowerShell 中执行）\n打开 PowerShell 窗口，复制并运行以下命令：\n```powershell\nirm https://raw.githubusercontent.com/limitcool/chrome-gemini-sidebar-fixer/main/fix_chrome.ps1 | iex\n```\n\n#### 方式 2：本地运行 (Python)\n如果您的系统上安装了 Python，可以直接运行：\n```bash\npython fix_chrome.py\n```\n\n#### 方式 3：本地运行 (PowerShell)\n右键点击 `fix_chrome.ps1` 并选择 **“使用 PowerShell 运行”**，或者在 PowerShell 窗口中运行：\n```powershell\nSet-ExecutionPolicy Bypass -Scope Process -Force\n.\\fix_chrome.ps1\n```\n\n### 📁 文件说明\n* `fix_chrome.py`：Python 版本的修复核心逻辑。\n* `fix_chrome.ps1`：PowerShell 版本的修复核心逻辑（备用）。\n* `LICENSE`：MIT 开源许可证。\n\n---\n\n## License / 许可证\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n本项目使用 MIT 许可证进行开源 - 详情请参阅 [LICENSE](LICENSE) 文件。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimitcool%2Fchrome-gemini-sidebar-fixer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flimitcool%2Fchrome-gemini-sidebar-fixer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimitcool%2Fchrome-gemini-sidebar-fixer/lists"}