Top "Safari" questions

Safari is Apple's web browser, the default browser on macOS and iOS.

How to Inspect Element using Safari Browser

I am developing websites and creating applications. I want to know how to inspect an element through web browsers like …

safari inspect-element
How can I force WebKit to redraw/repaint to propagate style changes?

I have some trivial JavaScript to effect a style change: sel = document.getElementById('my_id'); sel.className = sel.className.replace(/…

css google-chrome safari webkit
Firing a Keyboard Event in Safari, using JavaScript

I'm trying to simulate a keyboard event in Safari using JavaScript. I have tried this: var event = document.createEvent("KeyboardEvent"); …

javascript safari webkit dom-events keyboard-events
Testing web application on Mac/Safari when I don't own a Mac

Having been caught out recently when a web site I launched displayed perfectly on IE, Firefox, Chrome and Safari on …

macos safari
HTML5 video (mp4 and ogv) problems in Safari and Firefox - but Chrome is all good

I have the following code: <video width="640" height="360" controls id="video-player" poster="/movies/poster.png"> <source src="/…

firefox video safari html ogg-theora
IFRAMEs and the Safari on the iPad, how can the user scroll the content?

According to the Apple iOS mantra it should be possible to scroll the contents of an IFRAME by dragging it …

html ipad iframe safari scroll
Invalid date in safari

alert(new Date('2010-11-29')); chrome, ff doesn't have problems with this, but safari cries "invalid date". Why ? …

javascript date safari
Disable elastic scrolling in Safari

I just wanted to diable the elastic scrolling/bounce effect in Safari (OSX Lion). I found the solution to set …

javascript jquery css safari osx-lion
Does overflow:hidden applied to <body> work on iPhone Safari?

Does overflow:hidden applied to <body> work on iPhone Safari? It seems not. I can't create a wrapper …

iphone css ipad safari overflow
Create iOS Home Screen Shortcuts on Chrome for iOS

I have a web app that allows the user to add the web page to his home screen on the …

ios google-chrome safari