搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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: