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

搜索 | 用户支持

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

详细了解

Disable fullscreen warning when mouse moves to the top edge

  • 3 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 jistjak

more options

Ive tried all of these ↓ and the huge annoying black box still covers my screen when my mouse gets close to the top edge (which happens often in games). How do I disable the "URL is now fullscreen. press esc to exit." nagscreen? Please help (ps: concern for my security is irrelevant) full-screen-api.transition-duration.enter 0 0 full-screen-api.transition-duration.leave 0 0 full-screen-api.transition.timeout 0 full-screen-api.warning.delay 0 full-screen-api.warning.timeout 0 ↑ none of that worked

Ive tried all of these ↓ and the huge annoying black box still covers my screen when my mouse gets close to the top edge (which happens often in games). How do I disable the "URL is now fullscreen. press esc to exit." nagscreen? Please help (ps: concern for my security is irrelevant) '' full-screen-api.transition-duration.enter 0 0 full-screen-api.transition-duration.leave 0 0 full-screen-api.transition.timeout 0 full-screen-api.warning.delay 0 full-screen-api.warning.timeout 0'' ''' ↑ none of that worked'''
已附加屏幕截图

所有回复 (3)

more options

You get this message when you use a profile with an older Firefox version (i.e. you downgrade), so it looks that you try to use a Firefox Beta profile with a Firefox release.

That is about this code for the DIV #fullscreen-and-pointerlock-wrapper that include both a message for full screen and for pointerlock.

You can hide the full section with this code in userChrome.css

*|div#fullscreen-and-pointerlock-wrapper { display:none!important; }

Hide only the full screen message:

*|div#fullscreen-warning { display:none!important; }


It is not that difficult to create userChrome.css if you have never used it.

The first step is to open the "Help -> Troubleshooting Information" page and find the button to access the profile folder.

You can find this button under the "Application Basics" section as "Profile Folder -> Open Folder". If you click this button then you open the profile folder in the Windows File Explorer. You need to create a folder with the name chrome in this folder (name is all lowercase). In the chrome folder you need to create a plain text file with the name userChrome.css (name is case sensitive). In this userChrome.css text file you paste the text posted. On Mac you can use the TextEdit utility to create the userChrome.css file as a plain text file.

In Windows saving the file is usually the only time things get more complicated because Windows can silently add a .txt file extension and you end up with a file named userChrome.css.txt. To avoid this you need to make sure to select "All files" in the dialog to save the file in the text editor using "Save File as".

You need to close (Quit/Exit) and restart Firefox when you create or modify the userChrome.css file.

See also:

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.

  • toolkit.legacyUserProfileCustomizations.stylesheets = true

See:

more options

I made the "C:\Users\My Real Name\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxx.default\chrome\userChrome.css" file you suggested and pasted this

  • |div#fullscreen-and-pointerlock-wrapper { display:none!important; }
  • |div#fullscreen-warning { display:none!important; }

Restarted firefox and went to test HappyWheels in fullscreen mode and the Warning still shows everytime the mouse gets close to the top edge.

Im beginning to think this is a problem with the flash plugin itself and not a firefox issue because the fullscreen warning looks different on flash games' fullscreen than it does on html5 fullscreen Flash warning is much larger (size of a debit card) and firefox's warning is about the size of the searchbar.

But Good News tho: I found a workaround that I'm mostly satisfied with. A program called WinScroll allows me to set an area where my mouse will be restricted to. I just make it where i cannot move my mouse within 5 pixels of the top edge.

(ps, i changed some parts of the profile's directory because i'm paranoid.) (pps, the dots are suppose to be asterisks)

由jistjak于修改

more options

{DELETED}... sorta

由jistjak于修改