GitShow/sindresorhus/screenfull
sindresorhus

screenfull

Simple wrapper for cross-browser usage of the JavaScript Fullscreen API

by sindresorhus
Star on GitHubForkWebsite

HTML

7.1k stars682 forks30 contributorsQuiet · 3y agoSince 2012v6.0.2MIT

Meet the team

See all 30 on GitHub →
sindresorhus
sindresorhus163 contributions
BendingBender
BendingBender2 contributions
oskarrough
oskarrough2 contributions
Richienb
Richienb2 contributions
stormtrooper1859
stormtrooper18591 contribution
SidKH
SidKH1 contribution
s-h-a-d-o-w
s-h-a-d-o-w1 contribution
ben-eb
ben-eb1 contribution

Languages

View on GitHub →
HTML49.6%
JavaScript37.9%
TypeScript12.5%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 14 discussions · Last activity 3y ago
See all on GitHub →
TianbinTobin
Iphone safair support webkitEnterFullscreen.OpenIssue

Iphone safair support webkitEnterFullscreen, not webkitRequestFullscreen

TianbinTobin · 11mo ago
matcho
Detect when exiting fullscreen is triggered by ESC key pressOpenIssue

Hello, When binding a function to "change" event, through method, how is it possible to detect either : whether this change event was triggered by pressing ESC key whether the browser is entering or exiting fullscreen mode I couldn't find such information in the object. What I'm trying to achieve is to detect when the browser is exiting fullscreen mode because ESC key was pressed. Thanks for any help, screenfull is great, Mathias

matcho · 1y ago
mxdvl
Allow `screenfull.request` to timeoutOpenIssue

When running Playwright tests, hangs indefinitely. I believe this may be because the does not have , but I believe that there should be a configurable timeout if the fullscreen request does not succeed after a while. If someone else reacts with a 🚀 I’ll have a go at implementing this myself 😁

mxdvl · 2y ago

Recent fixes

View closed PRs →
vanminhquangtri
Not working with Iphone 7 PlusClosedIssue

Simple, this not work with Iphone 7Plus, OS 15.8.1 I think this is because Safari iOs not support this.

vanminhquangtri · 10mo ago
tomas-eklund
Toggling fullscreen on outer document from inside an iframeClosedIssue

I've used screenfull.js on a digital signage project where the requirement was that the application should be able to reload itself completely (using ) with the application staying in full screen. After some experimentation I settled on an `targetDocument()isFullscreentoggle()targetDocument()` idea useful, I would very much appreciate it being added to the library. If I'm stupid (not unlikely) and have overlooked a more obvious solution please advice.

tomas-eklund · 10mo ago
X-Raym
Q: How would you display an element other the one in fullscreen ?ClosedIssue

Hi ! How would you display an element other the one in fullscreen ? I tried various z-index, position absolute etc without success. Thanks !

X-Raym · 1y ago
Structured data for AI agents

Repository: sindresorhus/screenfull. Description: Simple wrapper for cross-browser usage of the JavaScript Fullscreen API Stars: 7141, Forks: 682. Primary language: HTML. Languages: HTML (49.6%), JavaScript (37.9%), TypeScript (12.5%). License: MIT. Homepage: https://sindresorhus.com/screenfull Latest release: v6.0.2 (4y ago). Open PRs: 0, open issues: 14. Last activity: 3y ago. Community health: 85%. Top contributors: sindresorhus, BendingBender, oskarrough, Richienb, stormtrooper1859, SidKH, s-h-a-d-o-w, ben-eb, yocontra, gfx and others.

·@ofershap

Replace github.com with gitshow.dev