Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to test mobile website on my PC/Laptop

Tags:

html

I am building a website which detects the target browser whether it is mobile or pc browser. Based on the content it choose theme. What I want to ask is. Is there any mobile browser which I can download in my pc to test my site instead of on phone many times?

like image 870
Gunah Gaar Avatar asked Apr 17 '13 13:04

Gunah Gaar


People also ask

How can I test my mobile browser on my desktop?

In Chrome hit F12 to open the Developer Toolbar. Then click 'Toggle device toolbar' (tablet icon, top left next to select element). You can then choose the device at the top to test.


2 Answers

You could change the user agent to an user agent from a mobile browser. Extension on Chrome

like image 183
J. Ghyllebert Avatar answered Sep 30 '22 19:09

J. Ghyllebert


You don't need any extensions, you can just change the User Agent manually on Chrome's Developer tools, just click on the settings Icon and then refresh the page (as you can see this page's look changes):

enter image description here

like image 29
DarkAjax Avatar answered Sep 30 '22 21:09

DarkAjax