快来体验一下firefox 57的去标题栏扩展
Tofloor
poster avatar
南浦月
deepin
2017-11-18 03:05
Author
本帖最后由 nanpuyue 于 2017-11-17 19:11 编辑

隐藏标题栏扩展:https://addons.mozilla.org/zh-CN/addon/hide-the-titlebar/

由于firefox的限制,无法依靠单纯的扩展实现隐藏标题栏,需要在本机安装一个脚本,通过里应外合来实现标题栏的隐藏。
脚本地址:https://gist.github.com/nanpuyue/ec7d34e174267db3927124edcd2a8844

如果上面的地址无法打开,可以下载附件:install_hide_firefox_titlebar.sh.zip

下载下来后运行这个脚本:
  1. bash ./install_hide_firefox_titlebar.sh
Copy the Code
会安装两个文件:
  1. ~/.mozilla/native-messaging-hosts/hide_titlebar.json
  2. ~/.local/bin/hide-firefox-titlebar.sh
Copy the Code
然后打开firefox,再直接运行hide-firefox-titlebar.sh,看隐藏标题栏是否成功:
  1. ~/.local/bin/hide-firefox-titlebar.sh
Copy the Code
如果提示找不到xdotool,需要安装xdotool这个包:
  1. sudo apt install xdotool
Copy the Code
如果直接运行~/.local/bin/hide-firefox-titlebar.sh可以隐藏标题栏,即可安装扩展:
https://addons.mozilla.org/zh-CN/addon/hide-the-titlebar/

这个扩展目前还处于实验性质,可能会有些bug,欢迎大家反馈。


此外,由于隐藏标题栏后没有了右上角的三个按钮,可以安装下面三个插件:
https://addons.mozilla.org/firefox/addon/minimize-the-window/
https://addons.mozilla.org/firefox/addon/maximize-the-window/
https://addons.mozilla.org/firefox/addon/close-the-window/

在“定制”界面可以调整三个按钮的顺序。

如果使用了主题,则无法通过拖拽标签栏的空白处拖动窗口,解决方法有两个:
1.禁用主题
2.拖拽图中框出来的地方



效果图:
Reply Favorite View the author
All Replies
2 / 2
To page
avatar
南浦月
deepin
2017-11-20 20:49
#21
https://bbs.deepin.org/post/148460
大神,现在这个还能用吗

可以啊~
Reply View the author
avatar
lulinux
deepin
2017-11-20 21:11
#22
https://bbs.deepin.org/post/148460
用的正式版,扩展也是以前下好了的,照你的方法改了。在扩展选项中,unmht显示为“旧式,已禁用”,没法 ...

其他扩展呢?都不能用吗?我在修改这个设置之前,所有扩展都不能用。然后启用之后,所有扩展都能用了。
Reply View the author
avatar
ggcc
deepin
2017-11-20 21:28
#23

猜猜我是谁
Reply View the author
avatar
ggcc
deepin
2017-11-20 21:41
#24
我来反馈啦最上面有层黑条,怎么办?呀
Reply View the author
avatar
sdwfwmj
deepin
2017-11-20 22:18
#25
https://bbs.deepin.org/post/148460
其他扩展呢?都不能用吗?我在修改这个设置之前,所有扩展都不能用。然后启用之后,所有扩展都能用了。 ...

可能是我用的正式版原因吧,57quantum,啥都不能用
Reply View the author
avatar
南浦月
deepin
2017-11-20 22:44
#26
https://bbs.deepin.org/post/148460
我来反馈啦最上面有层黑条,怎么办?呀

Win + Shift + Tab
Reply View the author
avatar
ggcc
deepin
2017-11-21 00:05
#27
大神,更新火狐59的flash,找不到59的插件文件夹,怎么破
Reply View the author
avatar
155******78
deepin
2017-11-23 18:49
#28
https://bbs.deepin.org/post/148460
不用整这么复杂,我的就是一个插件就搞定了的https://addons.mozilla.org/zh-CN/firefox/addon/hide-captio ...

插件已经不支持了
Reply View the author
avatar
188******30
deepin
2017-11-23 21:36
#29
挺好 但是貌似双击不支持最大最小化啊?
Reply View the author
avatar
ih******op@vip.qq.com
deepin
2017-11-23 21:53
#30
https://bbs.deepin.org/post/148460
不用整这么复杂,我的就是一个插件就搞定了的https://addons.mozilla.org/zh-CN/firefox/addon/hide-captio ...

不兼容 不兼容 Firefox Quantum
Reply View the author
avatar
2017-11-25 21:42
#31
https://bbs.deepin.org/post/148460
大神,更新火狐59的flash,找不到59的插件文件夹,怎么破

火狐都有59了吗
Reply View the author
avatar
moriwuhen
deepin
2017-12-09 16:20
#32
仍然是个坑,这就是火狐吗?基本要求都如此难以实现。。。
Reply View the author
avatar
南浦月
deepin
2017-12-12 00:06
#33
https://bbs.deepin.org/post/148460
仍然是个坑,这就是火狐吗?基本要求都如此难以实现。。。

等firefox 60看看吧。
Reply View the author
avatar
skoj
deepin
2018-03-07 23:41
#34
https://bbs.deepin.org/post/148460
挺好 但是貌似双击不支持最大最小化啊?

嗯,没有双击最大化,取消最大化,还是不完美。
Reply View the author
2 / 2
To page