Tricks websites into thinking they are always in fullscreen mode
A Tampermonkey userscript that overrides common fullscreen detection APIs so websites behave as if the browser is always in fullscreen mode.
Note: This script is intended for research, testing, and development purposes.
This userscript overrides many commonly used Fullscreen API methods and properties, including:
document.fullscreenElementdocument.fullscreenEnableddocument.webkitFullscreenElementdocument.webkitFullscreenEnableddocument.mozFullScreenElementdocument.mozFullScreenEnableddocument.msFullscreenElementdocument.msFullscreenEnableddocument.webkitIsFullScreenIt also patches methods such as:
Element.requestFullscreen()Document.exitFullscreen()Additionally, the script can simulate:
fullscreenchangefullscreenerrorThe userscript will automatically run on every page.
Modern websites typically check whether the browser is in fullscreen by reading values exposed through the Fullscreen API.
This userscript intercepts those API calls and returns values indicating fullscreen is active. It also overrides various methods and events that websites commonly listen for when tracking fullscreen state.
Because different browsers implement slightly different APIs, the script includes compatibility patches for multiple browser-specific implementations.
Tested with:
May also work on:
No userscript can guarantee bypassing every fullscreen check.
Some websites may:
As websites evolve, additional detection techniques may require updates.
Bug reports and pull requests are welcome.
If you encounter a website that detects fullscreen despite the userscript, please include:
MIT License
This project is provided for educational, compatibility testing, and research purposes only.
The author makes no guarantees that it will function on every website or browser version and is not responsible for any consequences resulting from its use.