How to simulate mobile devices and debug them in Firefox browser?

I am looking for a tool that displays my site as a mobile device. I also want to debug my site using tools like Firebug or ... even better to use Firebug. What is the installed solution for this?

+52
firefox plugins mobile
May 20 '13 at 14:38
source share
7 answers

You can use native browser tools (Firefox, IE, Chrome ...) to debug your JavaScript.

Regarding resizing, Firefox / Chrome has its own resources available via Ctrl + Shift + I OR F12 . Go to the “Style Editor” tab and click on the “Responsive / Responsive Design” icon.

Old versions of Firefox

Old firefox

New Firefox / Firebug

Firefox

Chromium

Chrome

* Another way is to install the add-on, for example, "Web developer"

+43
May 23 '13 at 13:17
source share

Use the responsive design tool with Ctrl + Shift + M.

+24
Jan 15 '15 at 20:22
source share

Most web applications detect mobile devices based on HTTP headers.

If your website also uses HTTP headers to identify your mobile device, you can do the following:

  • Add Modify Headers to connect to your Firefox browser ( https://addons.mozilla.org/en-US/firefox/addon/modify-headers/ )
  • Using plugins to edit plugins:
    • select the Headers tab-> select the "ADD" action
    • to simulate, for example. iPhone adds a header with the name User-Agent and the value: Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543 Safari/419.3
    • click the add button
  • After that, you can see the mobile version of your web application in Firefox and use the Firebug plugin.

Hope this helps!

+16
Jul 18 '13 at 12:29
source share

You can use the Firefox User Agent Overrider add-in. With this add-in, you can use any user agent you want, for example:

 Firefox 28/Android: Mozilla/5.0 (Android; Mobile; rv:28.0) Gecko/24.0 Firefox/28.0 

If your site detects mobile devices through a user agent, you can test your layout in this way.




Update November '17:

Due to the release of Firefox 57 and the introduction of the web extension, this add-on is unfortunately no longer available. Alternatively, you can change the preference for Firefox general.useragent.override in your configuration:

  • In the address bar, enter about:config
  • Search for general.useragent.override
  • If the preference does not exist, right-click on the about: config page, click Create, then select String
  • Name the new preference general.useragent.override
  • Set the value for the required user agent
+12
Jun 25 '14 at 5:54 on
source share

I would use Responsive Design, available under Tools → Web Developer → Responsive Design. This will allow you to test your CSS for different screen sizes.

+6
Sep 02 '14 at 17:07
source share

You can use the already mentioned built-in Adaptive Design Mode (via the developer tools) to set custom screen sizes along with the Random Agent Spoofer Plugin for changing headers to simulate the use of mobile devices, tablets, etc. Many websites define their content according to the specified headings.

You can use the built-in development tools ( Ctrl + Shift + I or Cmd + Shift + I for Mac) as developer tools, which have become very similar to Chrome dev tools by now.

+2
Mar 12 '15 at 10:27
source share

I think it's better to use a toolbar with a chrome switch with a chrome inspector. It provides you with a user agent switch along with flexible mode. enter image description here

+1
Sep 18 '16 at 13:00
source share



All Articles