为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How to force PiP to always display on right bottom even if I moved it?

  • 1 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

I noticed that from the most recent version, the PiP no longer reset the displayed position on restart. If I moved it to bottom left corner and restart Firefox or even the PC, the next time I use PiP it is still displayed on bottom left corner. Same if I moved it to the center of the screen or to the top right corner or top left corner or top center or bottom center.

Is there a way to force it to display on right bottom corner by modifying the about:config?

I noticed that from the most recent version, the PiP no longer reset the displayed position on restart. If I moved it to bottom left corner and restart Firefox or even the PC, the next time I use PiP it is still displayed on bottom left corner. Same if I moved it to the center of the screen or to the top right corner or top left corner or top center or bottom center. Is there a way to force it to display on right bottom corner by modifying the about:config?

由paper9oll于修改

所有回复 (1)

more options

You can possibly use code in userContent.css to place this button in a specific position.

I use this code in userContent.css to place this button in the top right corner:

/* top right */
.pip-wrapper{
 top: 0% !important;
 right: 25px !important;
}

More options:

/* bottom right */
.pip-wrapper{
 right: 25px !important;
 bottom: 90px !important; /* above controls */
 top: unset !important;
}

/* bottom left */

.pip-wrapper {
 left: 0px !important;
 bottom: 90px !important;
 top: unset !important;
 right: unset !important;
}


In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css in the chrome folder.

See:

See also: