This works for all new browsers :
if (!window.screenTop && !window.screenY) {
alert('Browser is in fullscreen');
}
More Related Contents:
- PHP get contents of a div, and echo the div contents in same page
- How do you increment a cookie value?
- .prop() vs .attr()
- Get the size of the screen, current web page and browser window
- Remove duplicate values from JS array [duplicate]
- How to dynamically insert a tag via jQuery after page load?
- jQuery document.ready vs self calling anonymous function
- Trigger Change event when the Input value changed programmatically?
- Accessing a CSS custom property (aka CSS variable) through JavaScript
- ReferenceError: $ is not defined
- jquery – get text for element without children text
- Pass Javascript variable to PHP via ajax
- Detect whether scroll event was created by user
- Intercept all ajax calls?
- How to detect when an iframe has already been loaded
- How can I return a variable from a $.getJSON function
- JQuery or JavaScript: How determine if shift key being pressed while clicking anchor tag hyperlink?
- break array of objects into separate arrays based on a property
- Ajax HEAD request via Javascript/jQuery
- What does the “$” sign mean in jQuery or JavaScript? [duplicate]
- Fullpage.js. Adding a scroll delay
- Validate html text input as it’s typed
- How to show live preview in a small popup of linked page on mouse over on link?
- Change Height based on Browser Size/Resize
- Refresh a section after adding HTML dynamically to jquery mobile [duplicate]
- Large dynamically sized html table with a fixed scroll row and fixed scroll column
- jQuery Popup Bubble/Tooltip [closed]
- Bootstrap Carousel image doesn’t align properly
- How do I get natural dimensions of an image using JavaScript or jQuery?
- jQuery – How to get all styles/css (defined within internal/external document) with HTML of an element