Все вопросы: [safari]

308 вопросов

похожие теги: safari-extensionmobile-safari
-1
голосов
3ответов
299 просмотров

When use clicktoflash, how to show other flashs in a webview based on Safari?

Now I develop a program with a webview showing flash. but I found that when I installed clickToFlash , the webview not to show the flash. I think that when webview load , the safari will check the MIMETYPE , and clickToFlash's MIMETYPE will first chek by safari , so the clicktoflash will handle m...

1
голосов
1ответов
1894 просмотров

jQuery script doesn't work in safari when button is disabled

I wrote this simple piece of code to prevent a form from being submitted more than once. jQuery.fn.preventDoubleSubmit = function() { this.find(":submit").each(function() { $(this).click(function() { this.originalValue = this.value; this.disabled = true; this.beenClicked...

0
голосов
2ответов
582 просмотров

Tiny MCE Safari, IE<8 problem

I am facing a weird problem with TinyMCE. I have incorporated tiny mce for my reply area and when the page loads for the very first time it doesn't show the tiny mce rich text editor the moment i refresh the page the rich text editor is visible. This problem come on Safari all the versions, IE v...

0
голосов
1ответов
387 просмотров

When get the swf address, how to show the flash with the flashplayer again?

I used the cocoa of MAC to develop a plugin with safari , I used the method is : changed the plugin's MIME TYPES is application/x-shockwave-flash and extensions is swf, so when safari lanched , it will add my plugin , but Now have a problem : when the safari page showing , the swf embed it don't...

0
голосов
1ответов
213 просмотров

sIFR.useStyleCheck weirdness in Safari 4 and Opera

So, I'm using sIFR (version 3, revision 436) to replace elements in my navigation, and everything is beautiful. But when I turn on sIFR.useStyleCheck to detect the CSS load, everything goes wonky in Safari 4. By wonky, I mean that it seems like the inserted dummy div lingers with its 42px left ...

13
голосов
2ответов
5042 просмотров

How can I avoid iphone safari first letter in caps

I am designing a small webpage targeted for the iPhone/iPod touch. I have a form that requires the user to enter a code. When you tap on the corresponding field, the iphone will automatically set the first letter to caps. Is there any way to avoid this? I want the whole field to be entered in sma...

1
голосов
2ответов
4293 просмотров

Reloading or redirecting the parent from a child iframe in safari

I am generating an iFrame that following some processing with the frame (from an external site) redirects back to my domain (within the iframe), which should then reload the parent frame. However I've tried multiple ways of calling the parent, but none of them seem to work in safari? methods use...

1
голосов
3ответов
693 просмотров

ASP.NET Menu control and Safari 4.0.3

So I'm using a Menu control on my page, and it has dynamic items that should drop down when you hover over a menu item. This works in all browsers except for Safari 4.0.3. I've looked around and there seem to be several solutions to this problem: Add this code to the Page_Load event: i...

1
голосов
2ответов
557 просмотров

Chrome/Safari: jQuery works in .htm but not in .aspx

I have a site where I display some jQuery dialogs. But in Chrome/Safari the dialog is not opened in center of the screen but a long way down the page. The site is programmed in ASP.NET but when I copy-paste the generated HTML to a .htm file the thing works fine. Very weird :/ Try: http://tinyurl...

7
голосов
1ответов
718 просмотров

How do Javascript's "multiple execution contexts" work?

Javascript does not have visible threads (yet -- Worker Threads are coming, see more info in JavaScript and Threads). However, it does seem to have multiple execution contexts that appear to exist simultaneously -- independent, when you have multiple Firefox Windows, and multiple Firefox/IE tabs...

1
голосов
1ответов
373 просмотров

safari: get the word under the mouse pointer

i'm trying to find a clicked word in an onclick event handler. somediv.onclick = function(event) { var w = getClickedWord(event); alert(w) } getClickedWord() uses range.moveToPoint for msie and event.rangeParent/offset for gecko, but Webkit seems to support neither. Any pointers?

5
голосов
3ответов
3389 просмотров

Greasemonkey script compatibility with Firefox, Safari, Opera and chrome (onload event)

Say you wanted a Greasemonkey script to be compatible with Safari and Chrome. Whereas in Firefox the Greasemonkey scripts only run when the DOM is ready. Chrome, Safari and Opera seem to run the Greasemonkey scripts before the DOM is ready. So what I am looking for is a solution that will only ...

1
голосов
3ответов
4196 просмотров

Weird SPAN element rendering in Safari (on iPhone)

Whenever there is a SPAN element in HTML content, the mobile version of Safari renders content differently- it seems that font size increases for the whole paragraph. Consider two examples. <div style="border: 1px solid red; width:500px;"> <p>This is a paragraph. This is a paragraph....

2
голосов
1ответов
957 просмотров

differences iphone safari webkit vs mac safari

i'm trying to create a website for iphones with the apple typical sliding menue effect. on safari and firefox on my mac everything works pretty fine, but checking the page on my iphone safari made me wondering. there's the link to the slider test... IphoneSliderTest it would be nice if you c...

6
голосов
1ответов
8682 просмотров

String.charCodeAt undefined?

I get this error in the javascript debug panel when trying to call String.charCodeAt('9') in Safari 3. TypeError: Result of expression 'String.charCodeAt' [undefined] is not a function. When I try to do stringInstance.charCodeAt('9') instead, I get NaN. Am I doing something wrong? I'd j...

0
голосов
1ответов
103 просмотров

sifr3 not displaying at all in safari 4 for pc and safari 4 for mac

I am using sifr3 in a rather ambitious manner - all text on the page is converted. I know this is not ideal but I don't think this explains the issue I am experiencing. It's working fine in IE 8 and Firefox 3.0.1. However, there's nothing to be seen on Safari for Mac or PC. Here's the page I'm w...

0
голосов
2ответов
1923 просмотров

iphone : embed Safari (like a "frame") within a native iphone application

Is it possible to embed Safari within a native application ? Not only lauching Safari but during the navigation, the user could access some buttons of the native application? Just as if Safari would appear in a kind of a "frame" of the native application. If it's possible, how could this be don...

2
голосов
2ответов
3448 просмотров

jQuery .cycle() is invisible in Webkit browsers [Safari / Chrome] on first load (after refresh everything works fine!)

I'm using jQuery cycle to implement a slideshow effect. You can click on any slideshow image to slide to the next one. This works fine in all browsers. Only in Safari, something really weird happens. Upon the first page load, no slideshow images are displayed at all! After reloading the page (e...

0
голосов
1ответов
435 просмотров

When was <input type="search"> introduced in Safari

When was &lt;input type=search.&gt; (and type=range etc.) introduced in Safari? And can you find the blog-post to this item? I can't seem to find it.

3
голосов
2ответов
2974 просмотров

ASP.NET Forms Authentication with Windows Safari

Does anyone know why ASP.NET Forms Authentication does not work on windows safari, or better yet, how to get it to work? It seems like a very weird issue. When I use a login control (System.Web.UI.WebControls.Login) everything works fine, but if I try to do a custom Forms Authentication login whe...

2
голосов
2ответов
2480 просмотров

Redirect issues with ASP.NET and Safari

I'm getting a very weird issue with standard ASP.NET backend code, and the latest version of the Safari browser. Basically, in the backend ASP.NET code we're using normal response.redirect() calls, and sometimes, in Safari, we'll just get a "server is down" kind of error, as if Safari can't conn...

1
голосов
1ответов
486 просмотров

Safari4 HTML5 Socket support

I've heard that HTML5 will support open sockets. Does anyone know if it's currently supported in Safari 4? I'm particularly interested in getting sockets to work through the Safari browser of an iPhone. Thanks in advance, Josh

2
голосов
1ответов
768 просмотров

Javascript link tracking script + Safari

I'm trying to make a link tracking script. It should work like Google Analytics only it should make posts to our own server. I'm using jQuery for this. The code i have written so far is the following: jQuery(document).ready(function() { var opts; jQuery.fn.trackAllLinks = function(settings) { ...

0
голосов
1ответов
1188 просмотров

Links not showing in firefox &amp; safari

I have kind of a weird problem .. Something that isn't working on ff &amp; safari but IS working on IE on itself is already pretty weird but I can't seem to figure out this problem.. On my site http://www.turnkring-excelsior.be there are links to social media in the top right corner (youtube, f...

1
голосов
1ответов
408 просмотров

keyboard select not working in safari

I am trying to make a auto complete box using ruby on rails, jquery and a plugin that combines the two called jrails_auto_complete. It works fine in FF but in safari 4 the keyboard select doesn't work. I would love to try and fix this for my application but cannot seem to do it. I don't know much...

2
голосов
2ответов
905 просмотров

How to detect quirks mode in Safari 3.0.x?

Safari 3.0.x doesn't support the document.compatMode property to detect whether the document is rendered in standards or in quirks mode. Safari 3.1 and newer do support it. How do I detect the document mode in Safari 3.0.x if document.compatMode is not available?

29
голосов
2ответов
14310 просмотров

Is "localStorage" in Firefox only working when the page is online?

So I'm toying around with HTML 5 and the localStorage and I'm noticing that my values only get stored when I run the page in Firefox on the local host (i.e. http://127.0.0.1:8000/test/index.html), but when I run the file locally (file:///C:/test/index.html) my values don't get stored. Safari 4 ha...

1
голосов
6ответов
5129 просмотров

Disable F5 key in Safari 4

I have written the following Javascript code to catch F5 key press and prevent the user from refreshing: (I understand this is not a good idea but I am stuck with this whether any one likes it or not. Also the question I ask pertains to why the script below does not work with Safari 4 but works ...

0
голосов
1ответов
804 просмотров

jQuery only working in Firefox - event model issue?

I'm no jQuery expert but managed to get the effects running I required for my WordPress site frontpage at http://www.bringmyshuttle.com View in FF and all works fine; the other filters reset to 'all' when one option is selected, and the correct thumbs are faded out/retained. In IE or Safari, no...

9
голосов
2ответов
4670 просмотров

What is the definition of HTTP_X_PURPOSE?

Recently we've been looking at a few exceptions captured in our Stack Overflow logs and have discovered an issue for Safari users. I noticed this HTTP header in one of the exceptions we have captured: HTTP_X_PURPOSE preview Does anyone know what action triggers this header or the meaning of ...