Discover mobile browser emulator firefox, include the articles, news, trends, analysis and practical advice about mobile browser emulator firefox on alibabacloud.com
Due to the need to test H5, you need to set the screen size of the page to simulate the phone browser. The Chrome browser comes with an emulator, which is the icon for the small mobile phone number on the F12 development toolbar. Manually Click to select the phone model to simulate. But if you need to set the
This article mainly introduces the js browser version, core, and mobile terminal examples. If you need them, you can refer to the browser version, core, system, and mobile terminal check.
The Code is as follows:
/*** Check browser version* @ Authors K* @ Date 2014-04-11 1
Gets the user agent string and all lowercase.
var ua = Navigator.userAgent.toLowerCase ();
document.write (UA);
In the previous article, we introduced the browser rendering engine, platform, Windows operating system, mobile device and game system based on JavaScript code detection Access Web page
, interested friends can click the full text to learn more details.
1. Identify the rendering engine
The
, go, Baidu and other forces, as well as the Android default browser and is exerting power Firefox. and mobile phone QQ browser is sandwiched in which, really before there is a tiger, after the wolf. Want to keep the existing site, and continue to grow, not a bit of hard work, not to point grinding the professional spi
Recent research Destoon, from the computer-side access to the mobile phone will cause the PC members of the heartbeat to the phone version of the error, in step-by-step view of the source code kernel, only to find the problem, so share to everyone!Join the homepage index.php then visit your website/index.phpSet_cookie (' Mobile ', ', $DT _time + 30*86400); If you want to remove the PC terminal using the
because of the reasons for the work of the need to test the results of the page in different platforms, Google Chrome browser, can be easily used as a phone simulator. Using a chrome Google browser to simulate a mobile browser on a PC is a very simple thing, and the latest Chrome browsers offer this feature to simulate
A long time ago I wrote a browser to determine the browser version or phone type through the browser navigator, which describes the use of navigator to determine the browser type. Make a supplement on this article today!
Js judges the indexOf mode of Android or ios
/ / Determine the access terminal
Var
Work often use JS to judge the function of the browser! Today, we use JS to determine whether the browser is from a mobile device or a PC device!The code is as follows:varBrowser={versions:function(){ varU = window.navigator.userAgent; return{trident:u.indexof (' Trident ') >-1,//IE kernelPresto:u.indexof (' presto ') >-1,//Opera KernelWebkit:u.indexof (' Appl
Because of the reasons for the work of the need to test the results of the page in different platforms, Google Chrome browser, can be easily used as a phone simulator. Using a chrome Google browser to simulate a mobile browser on a PC is a very simple thing, and the latest Chrome browsers offer this feature to simulate
Make WebApp fit n multi-browser, remember the browser encountered the need to pay attention to the place.Firefox is currently found to be the most difficult to match.1.firefox the correct innerwidth value can only be taken after the onload.2. The current version of Firefox can not set the width of viewport, regardless
UCWEB is a popular WEB and WAP mobile browser. With UCWEB in hand, it can not only quickly access wonderful WAP sites, but also access various WEB sites, at the same time, UCWEB's site navigation can recommend wonderful and popular sites for users, which is easy to access without entering the website. As a popular mobile brow
Solve border: none in mobile browser and select; useless and remove small triangle, selectborder
Set the select border to none. There is no problem on the PC side, but the border will still appear in the browser and on the mobile phone.
Solution:
1 appearance: none; 2-moz-appearance: none;/*
parameters: data type, value to be assigned)* Data type is generally "" "" "" text/plainEvevt.clipboarddata Object compatibility issuesAfter trying, Clipboarddata object compatible with most PX browsers, such as Chrome,firefox, ie, etc., but on the phone side compatibility is not very good,Currently clipboarddata on iOS Safari browser is invalid, in order to solve the problem of
Mozilla updated its first Mobile device browser Fennec, also known as Firefox Mobile, to Beta 1. The software is also based on the Gecko kernel and includes the TraceMonkey feature, the mascot is a type of fox fennec fox in the Sahara desert. currently, only the Nokia N810 Internet Tablets of the OS2008 ("Maemo") softw
(' on ' + evname, function () {Fn.call (obj);});}}Bind (document, ' click ', fn1);# # # Two different ways to bindMeans of canceling bubbling: Event.cancelbubble = true; (deprecated)Event.stoppropagation ();The first type: Default bubbling,The first: Only one homogeneous event can be bound on an element, and if you continue to bind, the second event function overrides the firstThe second type:AttacheventDefault bubblingAddEventListenerWhether to capture: false by defaultThird parameter: false:
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.