找回密码
 立即注册
搜索
查看: 3060|回复: 17

[网络] 让firefox 自带的AI聊天添加deepseek

[复制链接]
     
发表于 2025-2-9 16:05 | 显示全部楼层 |阅读模式
现在firefox 设置当中firefox 实验室当中启用AI聊天

然后地址栏输入about:config,进入后搜索browser.ml.chat.provider,然后改成https://chat.deepseek.com/


输入browser.ml.chat.shortcuts ,设置为false


打开侧边栏选择AI聊天机器人你就能使用了

你也可以用这种方法添加任何你想要的



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

评分

参与人数 1战斗力 +1 收起 理由
利物浦 + 1 好评加鹅

查看全部评分

回复

使用道具 举报

     
 楼主| 发表于 2025-2-9 16:20 | 显示全部楼层
本帖最后由 暁美ほむら 于 2025-2-10 15:13 编辑

自动隐藏侧边栏css,一些参数根据自己需求修改

  1. /* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/autohide_sidebar.css made available under Mozilla Public License v. 2.0
  2. See the above repository for updates as well as full license text. */

  3. /* Show sidebar only when the cursor is over it  */
  4. /* The border controlling sidebar width will be removed so you'll need to modify these values to change width */

  5. #sidebar-box{
  6.   --uc-sidebar-width: 40px;    /* 边缘多少像素触发  */
  7.   --uc-sidebar-hover-width: 210px;   /* 显示界面宽度  */
  8.   --uc-autohide-sidebar-delay: 600ms; /* 延迟多少毫秒自动隐藏 */
  9.   --uc-autohide-transition-duration: 115ms;
  10.   --uc-autohide-transition-type: linear;
  11.   --browser-area-z-index-sidebar: 3;
  12.   position: relative;
  13.   min-width: var(--uc-sidebar-width) !important;
  14.   width: var(--uc-sidebar-width) !important;
  15.   max-width: var(--uc-sidebar-width) !important;
  16.   z-index: var(--browser-area-z-index-sidebar,3);
  17. }
  18. #sidebar-box[positionend]{ direction: rtl }
  19. #sidebar-box[positionend] > *{ direction: ltr }

  20. #sidebar-box[positionend]:-moz-locale-dir(rtl){ direction: ltr }
  21. #sidebar-box[positionend]:-moz-locale-dir(rtl) > *{ direction: rtl }

  22. #main-window[sizemode="fullscreen"] #sidebar-box{ --uc-sidebar-width: 1px; }

  23. #sidebar-splitter{ display: none }

  24. #sidebar-header{
  25.   overflow: hidden;
  26.   color: var(--chrome-color, inherit) !important;
  27.   padding-inline: 0 !important;
  28. }

  29. #sidebar-header::before,
  30. #sidebar-header::after{
  31.   content: "";
  32.   display: flex;
  33.   padding-left: 8px;
  34. }

  35. #sidebar-header,
  36. #sidebar{
  37.   transition: min-width var(--uc-autohide-transition-duration) var(--uc-autohide-transition-type) var(--uc-autohide-sidebar-delay) !important;
  38.   min-width: var(--uc-sidebar-width) !important;
  39.   will-change: min-width;
  40. }
  41. #sidebar-box:hover > #sidebar-header,
  42. #sidebar-box:hover > #sidebar{
  43.   min-width: var(--uc-sidebar-hover-width) !important;
  44.   transition-delay: 0ms !important;
  45. }

  46. .sidebar-panel{
  47.   background-color: transparent !important;
  48.   color: var(--newtab-text-primary-color) !important;
  49. }

  50. .sidebar-panel #search-box{
  51.   -moz-appearance: none !important;
  52.   background-color: rgba(249,249,250,0.1) !important;
  53.   color: inherit !important;
  54. }

  55. /* Add sidebar divider and give it background */

  56. #sidebar,
  57. #sidebar-header{
  58.   background-color: inherit !important;
  59.   border-inline: 1px solid rgb(80,80,80);
  60.   border-inline-width: 0px 1px;
  61. }

  62. #sidebar-box:not([positionend]) > :-moz-locale-dir(rtl),
  63. #sidebar-box[positionend] > *{
  64.   border-inline-width: 1px 0px;
  65. }

  66. /* Move statuspanel to the other side when sidebar is hovered so it doesn't get covered by sidebar */

  67. #sidebar-box:not([positionend]):hover ~ #appcontent #statuspanel{
  68.   inset-inline: auto 0px !important;
  69. }
  70. #sidebar-box:not([positionend]):hover ~ #appcontent #statuspanel-label{
  71.   margin-inline: 0px !important;
  72.   border-left-style: solid !important;
  73. }
复制代码



回复

使用道具 举报

     
发表于 2025-2-9 17:17 | 显示全部楼层
这个跟直接在侧边栏显示网页有啥区别
回复

使用道具 举报

     
发表于 2025-2-9 17:24 | 显示全部楼层
这个会不会和树状标签页冲突?
回复

使用道具 举报

     
 楼主| 发表于 2025-2-9 17:26 | 显示全部楼层
[皆神孝介] 发表于 2025-2-9 17:24
这个会不会和树状标签页冲突?

并不会......
回复

使用道具 举报

     
 楼主| 发表于 2025-2-9 17:27 | 显示全部楼层
passgan 发表于 2025-2-9 17:17
这个跟直接在侧边栏显示网页有啥区别

区别是这个可以一直常驻,侧边栏要每次重新打开一遍才行

而且你可以两者一起使用

评分

参与人数 1战斗力 +1 收起 理由
passgan + 1 好评加鹅

查看全部评分

回复

使用道具 举报

     
发表于 2025-2-9 17:28 | 显示全部楼层
暁美ほむら 发表于 2025-2-9 17:27
区别是这个可以一直常驻,侧边栏要每次重新打开一遍才行

而且你可以两者一起使用

floorp暂时好像还不支持,等更新看看()
回复

使用道具 举报

发表于 2025-2-10 08:28 来自手机 | 显示全部楼层
有没有类似于zen浏览器那样的垂直标签页自动隐藏脚本?
回复

使用道具 举报

     
发表于 2025-2-10 09:47 | 显示全部楼层
呃,我咋没有AI聊天
回复

使用道具 举报

     
发表于 2025-2-10 11:09 | 显示全部楼层
看错编辑
回复

使用道具 举报

     
 楼主| 发表于 2025-2-10 15:02 | 显示全部楼层
EP2 发表于 2025-2-10 09:47
呃,我咋没有AI聊天

请更新版本,如果没有看下about:config是否有这个参数browser.ml.chat.enabled

设置为true就行
回复

使用道具 举报

     
 楼主| 发表于 2025-2-10 15:06 | 显示全部楼层
本帖最后由 暁美ほむら 于 2025-2-10 15:10 编辑
蜇灵 发表于 2025-2-10 08:28
有没有类似于zen浏览器那样的垂直标签页自动隐藏脚本?

不就是自动隐藏侧边栏脚本,比如我上面发的就是。

如果不行那去这里面找

https://github.com/zen-browser/theme-store/tree/main/themes


或者这里找一个自己喜欢的

https://firefoxcss-store.github.io/


其它补充:

https://github.com/MrOtherGuy/firefox-csshacks
回复

使用道具 举报

     
发表于 2025-2-10 15:32 | 显示全部楼层
暁美ほむら 发表于 2025-2-10 15:02
请更新版本,如果没有看下about:config是否有这个参数browser.ml.chat.enabled

设置为true就行 ...

搞定了,虽然并没有什么用处
回复

使用道具 举报

     
发表于 2025-2-10 16:49 | 显示全部楼层
browser.ml.chat.shortcuts这个是干啥的?
回复

使用道具 举报

     
 楼主| 发表于 2025-2-10 17:14 | 显示全部楼层
herostratus 发表于 2025-2-10 16:49
browser.ml.chat.shortcuts这个是干啥的?

选中文本时显示快捷提示词按钮。Firefox 会向聊天机器人发送选中的文本、页面标题和提示词。

=========================

这个功能只能自带的那几个可以使用,自定义的这个无法使用
回复

使用道具 举报

     
发表于 2025-2-10 17:20 | 显示全部楼层
暁美ほむら 发表于 2025-2-10 17:14
选中文本时显示快捷提示词按钮。Firefox 会向聊天机器人发送选中的文本、页面标题和提示词。

======== ...

就是选中文字之后显示摘要总结 解释说明 出题检测的那个吗?
回复

使用道具 举报

发表于 2025-2-16 11:10 | 显示全部楼层
本帖最后由 蜇灵 于 2025-2-16 12:05 编辑
暁美ほむら 发表于 2025-2-10 15:06
不就是自动隐藏侧边栏脚本,比如我上面发的就是。

如果不行那去这里面找

你这个隐藏的不是垂直标签页那一栏,隐藏的是工具栏
在你给的最后一个网址里找到了,要用autohide_tabstoolbar_v2.css才行

回复

使用道具 举报

     
发表于 2025-2-16 11:21 | 显示全部楼层
chrome有好用的deepseek插件吗
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|上海互联网违法和不良信息举报中心|网上有害信息举报专区|962110 反电信诈骗|举报电话 021-62035905|Stage1st ( 沪ICP备13020230号-1|沪公网安备 31010702007642号 )

GMT+8, 2025-3-4 14:35 , Processed in 0.085993 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表