Mozilla Mobile



  1. Mozilla Mobile
  2. Mozilla Mobile Fennec
  3. Download Mozilla Mobile Browser
  4. Firefox Download From Microsoft Store
  5. Mozilla Mobile Firefox
  6. Mozilla Mobile Mode
  7. Mozilla Mobile Extensions

WebAssembly is a new type of code that can be run in modern web browsers — it is a low-level assembly-like language with a compact binary format that runs with near-native performance and provides languages such as C/C, C# and Rust with a compilation target so that they can run on the web. Download Mozilla Firefox, a free web browser. Firefox is created by a global not-for-profit dedicated to putting individuals in control online. Get Firefox for Windows, macOS, Linux, Android and iOS today! Mozilla/5.0 (Windows Phone 10.0; Android 6.0.1; Xbox; Xbox One) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Mobile Safari/537.36 Edge/16.16299 In summary, we recommend looking for the string “Mobi” anywhere in the User Agent to detect a mobile device. The browser's viewport is the area of the window in which web content can be seen. This is often not the same size as the rendered page, in which case the browser provides scrollbars for the user to scroll around and access all the content. For example, if a mobile screen has a width of 640px, pages might be rendered with a virtual viewport.

Firefox for Android

Web browser for Android smartphones and tablets

Firefox for iOS

Firefox for iPhone, iPad and iPod touch devices

Firefox for Enterprise

Mozilla Mobile

Firefox Quantum for businesses

Firefox Lite

Mobile browser for Indonesia, India, The Philippines, and Thailand

Firefox Reality

Web browser for virtual reality headsets

Mozilla VPN

VPN for Windows 10, Mac, Linux, Android, and iOS devices

Firefox Private Network

Mozilla

Browse securely on public Wi-Fi using a Firefox add-on.

Mozilla mobile view on desktop

Firefox Lockwise

Mobile app that gives you access to passwords you've saved to Firefox.

Hubs

Virtual 3D meeting spaces for collaborating with friends, family, and colleagues on your browser or VR headset

Firefox for Amazon Devices

Browser for Amazon devices

Thunderbird

Email software for Windows, Mac and Linux

Firefox Focus

Automatic privacy browser and content blocker

Common Myths about Private Browsing

Learn more about common misconceptions about Private Browsing in Firefox.

What's new in Firefox for Android

Mozilla Mobile Fennec

Learn more about the latest features on Firefox for Android.

Enhanced Tracking Protection in Firefox for desktop

Enhanced Tracking Protection in Firefox automatically protects your privacy while you browse.

Refresh Firefox - reset add-ons and settings

A Refresh can fix many issues by restoring Firefox to its default state while saving essential information like bookmarks and passwords.

Join Our Community

Grow and share your expertise with others. Answer questions and improve our knowledge base.

This page provides an overview of some of the main techniques needed to design web sites that work well on mobile devices. If you're looking for information on Mozilla's Firefox OS project, see the Firefox OS page. Or you might be interested in details about Firefox for Android.

We've organized it into two sections, designing for mobile devices and cross-browser compatibility. Also see Jason Grlicky's guide to mobile-friendliness for web developers.

Designing for mobile devices

Download Mozilla Mobile Browser

Mobile devices have quite different hardware characteristics compared with desktop or laptop computers. Their screens are usually smaller, obviously, but they also usually automatically switch the screen orientation between portrait and landscape mode as the user rotates the device. They usually have touch screens for user input. APIs like geolocation or orientation are either not supported on desktops or are much less useful, and these APIs give mobile users new ways to interact with your site.

Working with small screens

Mozilla mobile github

Responsive Web Design is a term for a set of techniques that enables your web site to adapt its layout as its viewing environment — most obviously, the size and orientation of the screen — changes. It includes techniques such as:

  • fluid CSS layouts, to make the page adapt smoothly as the browser window size changes
  • the use of media queries to conditionally include CSS rules appropriate for the device screen width and height

The viewport meta tag instructs the browser to display your site at the appropriate scale for the user's device.

Working with touch screens

To use a touch screen you'll need to work with DOM Touch events. You won't be able to use the CSS :hover pseudo-class, and will need to design clickable items like buttons to respect the fact that fingers are fatter than mouse pointers. See this article on designing for touch screens.

You can use the pointer or any-pointer media query to load different CSS on a touch-enabled device.

Optimizing images

To help users whose devices have low or expensive bandwidth, you can optimize images by loading images appropriate to the device screen size and resolution. You do this in CSS by querying for screen height, width, and pixel ratio.

You can also make use of CSS properties to implement visual effects like gradients and shadows without images.

Mobile APIs

Firefox Download From Microsoft Store

Finally, you can take advantage of the new possibilities offered by mobile devices, such as orientation and geolocation.

Cross-browser development

Write cross-browser code

To create web sites that will work acceptably across different mobile browsers:

Mozilla Mobile Firefox

  • Try to avoid using browser-specific features, such as vendor-prefixed CSS properties.
  • If you do need to use these features, check whether other browsers implement their own versions of these features, and target them too.
  • For browsers that don't support these features, provide an acceptable fallback.

For example, if you set a gradient as a background for some text using a vendor-prefixed property like -webkit-linear-gradient, it's best to include the other vendor-prefixed versions of the linear-gradient() property. If you don't do that, at least make sure that the default background contrasts with the text: that way, the page will at least be usable in a browser which is not targeted by your linear-gradient rule.

Mozilla Mobile Mode

See this list of Gecko-specific properties, and this list of WebKit-specific properties, and Peter Beverloo's table of vendor-specific properties.

Mozilla Mobile Extensions

Using tools like CSS Lint can help find problems like this in code, and preprocessors like SASS and LESS can help you to produce cross-browser code.

Mobile

Take care with user agent sniffing

It's preferable for web sites to detect specific device features such as screen size and touch screens using the techniques listed above, and adapt themselves accordingly. But sometimes this is impractical, and web sites resort to parsing the browser's user agent string to try to distinguish between desktops, tablets, and phones, to serve different content to each type of device.

If you do this, make sure your algorithm is correct, and you aren't serving the wrong type of content to a device because you don't understand a particular browser's user agent string. See this guide to using the user agent string to determine device type.

Test on multiple browsers

Test your web site on multiple browsers. This means testing on multiple platforms — at least iOS and Android.

  • test mobile Safari on the iPhone using the iOS simulator
  • test Opera and Firefox using the Android SDK. See these additional instructions for running Firefox for Android using the Android emulator.