I do an HTTP GET request for a page using the following URL in Safari:
mysite.com/page.aspx?param=v%e5r
The page contains a form which posts back to itself.
The HTML form tag looks like this when output by asp.net:
<form method="post" action="page.aspx?param=v%u00e5r" id="aspnetForm" >
When Safari POSTs this back it somehow converts t...
Hey this question is pretty general, but I'm wondering what the Javascript differences are in Mobile Safari and Safari for Mac.
I was under the impression that from a Javascript perspective they are the same, with only some differences in CSS/rendering. But I am experiencing a number of Javascript errors in Mobile Safari that don't exi...
I have a web application where users can edit their profile information. This is presented as a normal web form with input fields containing the existing values:
<form action="<snipped>" method="post" accept-charset="UTF-8" id="frmEditUser">
<fieldset>
<p>
<label for="username">Username</label>
<input type="text" name="username" id="u...
Hi
I'm trying to intercept some kind of files while using iPad's Safari browser. As you probably know, Safari can't download files, so it would be useful Safari to send my app those files links.
As I've read in the iPhone/iPad developer documentation, you can add an URL Custom Scheme to handle some special protocols (like youtube: or t...
I'm creating a game for the iPad using Phonegap, which means I'm using JavaScript/ CSS/ HTML for iPad's Safari. Basically, I'm moving around lots of img elements (sometimes changing their src) on 1024x768 resolution, just local files without any net connection. On the desktop Safari things work smoothly, but on the iPad, my setInterval f...
You know, like com.apple.safari.bookmark for Safari Bookmarks, or com.apple.ical.ics for iCal calendars.
Thanks.
...
I have encountered a problem with safari browser in displaying the scroll bar inside a table.
The main issue is that I have defined a table with fixed height and also a overflow y in css so that if the content exceeds the limits the scroll bar comes in action.I have found that it works well with mozilla fire fox and all other browsers. ...
I've read the documentation and understand that this is to be expected:
Scripts are injected into the top-level page and any children with HTML sources, such as iframes. Do not assume that there is only one instance of your script per browser tab.
I'm wondering, though:
Other than iframes, what other elements have "HTML sources" ...
I'm trying to embed an mpg file in my new website ( http://66.216.163.164 - it's still under construction so we haven't switched the domain name over from the old site yet). The file seems to work fine in Firefox and on IE8, but it refuses to work on Safari with a Mac (I haven't tried safari on Windows). The code is
<EMBED src="te...
Is there any way to randomly access the URLs in Javascript's History object in Safari? I'm writing an extension where I need to, on a specifically-formatted page request, capture the URL of the previous page. From what I've been able to find, the History object definition is non-standard across browsers. Safari only seems to expose its l...
I would like to be able to send the user out of my app and into Safari as if they had performed a search of some terms I provide. I realize I could construct a URL for doing a Google search and send them there, however the user has the option of configuring one of several search engines, and I'd like to use the one they've chosen and no...
Are there CSS or other reasons why Safari/iPhone would ignore some font-size settings? On my particular website Safari on the iPhone renders some font-size:13px text larger than font-size:15px text. Does it maybe not support font-size on some elements?
...
Using HTML5 and the Site.Manifest file, is it at all possible to create a web app that can be added to the iPhone/iPad home screen but have no requirement for an internet connection afterward?
...
This is an HTML / CSS / JS (jQuery) iPad app. I've got a button, that slides down an input form. I'd like to focus the user on the input, and then launch the keyboard.
This is what I'm working with, but doesn't work:
$('#myFormField').focus();
This does indeed focus the input, but fails to launch the keyboard. Is it just not possibl...
Hello,
Can we use webkit framework developing browser plugin for both IE (On Windows) and Safari (on Mac)?
I am asking on the basis of http://docs.huihoo.com/webkit/WebKit_PluginProgTopic.pdf
Could any one who has experimented with webkit reply ?
Thanks and Regards
Vijayanand
...
I'm working on a safari extension and I was wondering if there is a way to do synchronous message passing in a safari extension.
I want to send a message from my injected javascript to the global page have the injected javascript wait until a result is returned. Having to split my code into another function that receives a message from ...
I know this is easy in Cocoa. Not sure if it is possible in Safari.
...
Hello,
I am working on a site and have 3 different branches. Typical dev->stage->production situation.
All 3 run on 3 different urls:
prod: http://www.domain.com
stage: http://www.domain.com/stage
dev: http://www.domain.com/dev
So i am trying to have universal code that runs on all 3 without any modification to file p...
Hi,
I have a fairly image heavy site and have image rollovers (:hover) on a lot of images on the page. The page loads but the rollovers images take longer to load and cause a flickering when the user intially rolls over the image. I know that this issue has been disscussed many times however I have not found an appropriate solution that...
I have run into a strange problem in mobile Safari on my (iOS 4) iPod touch.
The minimum body HTML to demonstrate this problem is:
<p>
<a href="" onclick="event.preventDefault()">Click</a>
</p>
<p id="anchor">
Anchor
</p>
When the page is loaded with no # fragment in the URL, clicking the link executes the onclick javascript, ...