Skip to content

满足自己根据网络可访问情况,切换 Google 和 Bing 作为浏览器搜索引擎的需求。

License

Notifications You must be signed in to change notification settings

icedfish/GoBing

Repository files navigation

GoBing

满足自己根据网络可访问情况,切换 Google 和 Bing 作为浏览器搜索引擎的需求。

试用地址

https://gobing.yubing.work/

原理简介

  • 通过请求 https://www.google.com/generate_204 测试网络连通性,超时 1.0s。
  • 如果 Google 可以访问,则使用 Google,不然降级到 Bing。
  • 使用 hashtag 传搜索参数,确保 html 可以实现浏览器缓存完整页面,实现加速。

如何配置浏览器的默认搜索

通过 hashtag 传参,在需要配置url 的地方填入: https://gobing.yubing.work/#%s

Chrome 桌面版: 打开:chrome://settings/searchEngines 说明:https://support.google.com/chrome/answer/95426?hl=zh-Hans&co=GENIE.Platform%3DDesktop&oco=1

Edge 桌面版: 打开: edge://settings/searchEngines

Safari & Chrome 手机版: 很遗憾,不支持添加自定义搜索引擎 建议把 https://gobing.yubing.work/ 添加到 Home Screen

初始 Corsur Compose

见 ./prompts.md

意见建议

请提交 issue

About

满足自己根据网络可访问情况,切换 Google 和 Bing 作为浏览器搜索引擎的需求。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages