Questions tagged [safari]

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

Safari is the web browser bundled with iOS and macOS, operating systems from Apple. Previously, Windows was a supported platform but was discontinued after version 5.

Safari uses the WebKit rendering engine and the JavaScript Core JavaScript engine.

For Safari for iOS devices, there is the tag.

Documentation

17726 questions
7
votes
1 answer

Safari 4: How to profile the code running when the page loads

In Safari 4, I am trying to use the profiler to see how the time is spent in the code that runs when the page loads. I enabled the profiler ("Start profiling JavaScript") I load the page. I stop the profiler. At this point, this doesn't create a…
avernet
  • 30,895
  • 44
  • 126
  • 163
7
votes
1 answer

Very laggy HTML5 Video in Safari

I am having some trouble trying to figure out what is causing HTML5 video to be extremely slow loading/playing in Safari. I have tested the same below code on Chrome, Firefox, IE (irrelevant as it uses the flash) and the load/play times are nearly…
SylvrFalkon
  • 176
  • 3
  • 11
7
votes
3 answers

copy and paste code from safari (chrome) web inspector

I want to copy some html code from the web inspector but am only able to copy one line at a time. Is there any way to select a block of elements or all elements?
bandola
  • 267
  • 1
  • 3
  • 13
7
votes
1 answer

How to know if a NSWindow is the front window?

I'm having this issue in Safari only, works fine for Firefox and Chrome on Mac OS 10.6 and 10.7. NSApplication runModalForWindow runs an event loop and should show the window created as the front window. I have an event handler to handle plugin's…
Rodrigo Rivera
  • 157
  • 1
  • 9
7
votes
6 answers

Safari Rendering image background black on load

I'm currently working on a website and having an issue with Safari. When loading an image there is a black background that is placed as a stand in. I would rather this be transparent or white, but I can't seem to figure it out. Check it…
captDaylight
  • 2,224
  • 4
  • 31
  • 42
6
votes
3 answers

How to embed a link in a UITextView for the iphone

I'm wondering if it is possible to put a hyperlink in a UITextView that will open up safari and take the user to a web page. And if so how can I accomplish this. Thanks in advance for your help.
jmurphy
  • 1,891
  • 3
  • 22
  • 28
6
votes
3 answers

show div upon form submit, works in Chrome, FF, IE but not Safari

Not sure where to go with this. I have a form, which when submitted, I would like to display a "processing, please wait" message. (The form has photos to upload so might take a while) I have the following jQuery $(document).ready(function() { …
shorn
  • 1,327
  • 5
  • 15
  • 20
6
votes
3 answers

Is html5 drag and drop broken on safari browser for windows?

Is html5 drag and drop broken on safari browser for windows ? If so, are there any work arounds ? I'm using Safari 5.1.2 on Windows 7 and the drop targets always show up as non droppable. Tried this on 2 different windows 7 computers with clean…
ivymike
  • 1,511
  • 2
  • 20
  • 27
6
votes
2 answers

Requesting http://mobile.twitter.com on UIWebView

I've been trying to insert a little webview (320x480) inside my iPad app, to simulate a little "iPhone screen" displaying mobile twitter. But, every time uiwebview gets an NSUrlRequest to load http://mobile.twitter.com, my app automatically gets…
JulianoRossi
  • 219
  • 4
  • 11
6
votes
1 answer

Issues with Java Web Start and Safari

I have a Java webstart application, fully signed, and it has been deployed live for over a year now. We have never been able to get it to work with Safari for some reason. Actually, I have not been able to get any JAWS application working with…
Karl Strings
  • 1,017
  • 9
  • 22
6
votes
2 answers

Stop safari from showing unsaved form prompt when page is refreshed

I have a form (with just one text area) that is submitted using AJAX to allow users to save a note about a page. The form stays visible on the page all the time, and you can keep clicking save to keep updating the note. In safari (but not chrome or…
spike
  • 9,794
  • 9
  • 54
  • 85
6
votes
0 answers

how to fix web app low memory crashes on mobile safari

Our web app is generating LowMemory crashes very often on Ipad and Iphone. This is an example from CrashReporter Incident Identifier: 858042 CrashReporter Key: 6bda3a Hardware Model: iPad1,1 OS Version: iPhone OS 5.0.1 (9A405) Kernel…
Tom Fishman
  • 1,716
  • 6
  • 22
  • 36
6
votes
1 answer

Ruby/Sinatra send_file not working

I'm using send_file on a Sinatra app: get '/update/dl/:upd' do filename ="/uploads/#{params[:upd]}" send_file(filename, :filename => "t.cer", :type => "application/octet-stream") end The folder /uploads/ it's not public, it's on the app…
pmerino
  • 5,900
  • 11
  • 57
  • 76
6
votes
3 answers

How do I redirect to a mobile site but keep the hash tag?

I'm looking to have it so that when a user loads our page it checks to see if they're on a mobile device and then it'll redirect them to a mobile version of our site, but keep the original hash tag from the link they followed. I've tried setting the…
Cory Schulz
  • 319
  • 5
  • 15
6
votes
3 answers

webkitRequestFullScreen fails when passing Element.ALLOW_KEYBOARD_INPUT in Safari 5.1.2

Running into the following problem specifically in Safari 5.1.2 when attempting to use the javascript fullscreen api. By copy and pasting the following lines into your browser on a loaded page, you can see the effect. This works in Chrome 15 and…
Geuis
  • 41,122
  • 56
  • 157
  • 219