This article focuses on how to debug a Web page running in the IPhone Safari browser from a Chrome browser in a Windows system. If you have a imac/macbook, you can ignore the document. In the IMAC environment, the iphone is linked directly to Imac/macbook via USB, and then in Imac/macbook, Safari is turned into debug m
Document directory
1. useragent
2. iPhone (iPod Touch) Detection Method
3. How to customize CSS for iPhone
4. How to understand the iPhone viewport
5. Change Direction
6. Specific direction Style
7. rounded corners
8. Touch)
9. guesture)
10. special links
1. useragent
IPhone useragent:
Mozilla/5.0 (
SPI Labs security researchers warned iPhone users not to use a special feature to use the iPhone's Safari browser to call phone numbers over the Web.
This feature is intended to provide iPhone users with an easy way to dial phone numbers displayed on Web pages, but it may be abused, according to SPI.
A flaw in this feature allows hackers to trick users into mak
Bkjia.com Integrated news] According to foreign media reports, this Monday, Apple released the core part of the iPhone to the independent developers who are eager for it, this will help them better cooperate with the iPhone phone product and the public launch in 29th day of this month. On the other hand, the company also said it would launch a specialized browser to challenge the leader in this field, Micro
Recently made a mobile page project with video playback on the page, but you need to disable automatic full-screen playback of iOS (provided you must use the video tag).Such as:id= "POST" AutoPlay loop preload= "Auto"> src = "foo.mp4" type = "Video/mp4" > video>Clicking on the video on the iphone safari will pop up the player for full screen playback.On the internet to look at the answers given by othe
Today in the company wrote a login page effect, let me encounter a strange problem-"input type=submit in the form and the input Type=reset button in the iphone's Safari browser in the corner has a bug" is very confused, so collected and collated, Let me briefly describe the appearance of this bug.Since I finished the last few pages of the iphone, I have not made the iph
Label: Io ar Div SP problem CTI on C codeWrite a drop-down menu and hide it when you click a blank area.The first time is to use $ (document). Click (function () {// hide code });All browsers are fine, but the events on the iPhone are not triggered.Later, I checked the cause and found that in Safari, the event was handled in the following way:1. Click a div or other element.2. If the event is not handled, c
Http://www.cocoachina.com/bbs/read.php? Tid = 94101 page = 1
This method is not self-developed, but is summarized and simplified by learning from various places.
I don't need testflight. It's annoying to use register iPhone/iPad. You do not need to sync the app from iTunes.You only need the customer to give you a udid. You can send a link to him in a few minutes. He will open it in Safari and start the ins
1. Open the "Settings" application and go to "Safari"2. In "Safari", click "password". If the fingerprint function is activated, enter fingerprint verification. Otherwise, enter the password.3. Here we can slide and delete them one by one. For example, click "delete" after sliding.From the above method, we found that the operation method for clearing the pas
Workaround: The first meta tag indicates that the width of the document is forced to remain 1:1 with the width of the device, and the maximum width of the document is 1.0, and the user is not allowed to click on the screen to enlarge;Width-viewport width height-viewport Height initial-scale-Initial zoom Minimum-scale-Allows the user to zoom to the minimum scale Maximum-scale -Allows the user to zoom to the maximum scale user-scalable-whether the user can manually zoomThe second meta tag is
1, in the iphone desktop into the settings below to find Safari options, click to enter.
2, then in the Safari interface we click on the "Password and auto fill" option to enter.
3, into the password and automatic filling interface, we click on "stored Password" as shown in the following figure.
4, enter the phone lock screen password v
var date = new Date (' 2016-11-11 11:11:11 ');
document.write (date);
Recently in writing a time to judge a script, you need to convert the fixed string time to the timestamp for comparison, in doing the personal habit of using chrome as a debugging tool, after the basic code is complete, all normal;
Access with other browsers, well, IE is not compatible with Safari, returning the error "Invalid Date."
Think of the problem is a string format, cha
Use a div as a button.Because it is a dynamically added content, to use the Click event, you need to bind him with on:$ (document). On ("click", ". Next_button", function () { alert ();});This time, when using the Apple mobile phone to visit, found a problem, such as how to click on the "Next", there is no response, but in Android and all kinds of simulator all normal. Later after looking for information to know, Apple has this setting:For the clicked object, has the Cursor:pointer this style
Js ios/iPhone Safari is not compatible with Date () in Javascript. How can this problem be solved?
Var date = new Date ('2017-11-11 11:11:11 '); document. write (date );
Recently, when writing a time judgment script, you need to convert a fixed string time to a timestamp for comparison. When doing this, I am used to using chrome as a debugging tool. After the code is basically complete, everything is norm
The requirement is that the navigation of many pc web pages is fixed, such as google's homepage. Now we need to move this fixed navigation to mobile web, and naturally we will think of position: fixed; bottom: 0. It works normally in android, but problems may occur in iphone safari. When the scroll bar is rolling, the navigation bar will appear at the top of the screen, black and uncoordinated. Many people
http://www.cocoachina.com/bbs/read.php?tid=94101#"1.0"encoding="UTF-8"? >"-//apple//dtd PLIST 1.0//en" "HTTP://WWW.APPLE.COM/DTDS/PROPERTYLIST-1.0.DTD">"1.0">string>software-packagestring> string>http://iphone.jacall.net/gujing/gujingjiuboshi.ipastring>com.unicom.zq.gujingjiuboshistring> string>1.4string> string>softwarestring> string> Gu jing Gong wine official mall string> Generate a plist file,On the server background: itms-services://?action=download-manifesturl=https://dl.dropboxusercontent
Recently made a mobile-end micro-mail page project, in the micro-letter page has video playback, but the need to prohibit the automatic full screen of iOS playback (the premise must be the use of videos tags).Such as:
Copy Code code as follows:
The iphone Safari Click Video will eject the player for full screen playback.
Look at the answers from others on the Internet, citing the
Remove the default UI style added by Safari to the button on the iphone
Previously, I used the input button on an activity page. After writing the style, I tested it on the Android phone. However, the style in iPhone Safari has completely changed.
Search for the style that Safari
Remove the default UI style added by Safari to the button on the iphone.
Previously, I used the input button on an activity page. After writing the style, I tested it on the Android phone. However, the style in iPhone Safari has completely changed.
Search for the style that Safar
Normally, when you open a Web page with your mobile browser, the navigation stays on, so the actual display screen becomes smaller.Can that be loaded, and the screen will be automatically full-screen? This is what this article is going to discuss.
Add to Home screen
When it comes to Full-screen, having to talk about safari under the iphone is a special and important feature of "ADD to Home". (in the botto
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.