Latest topics
» make the legends color when u go in
by Wolfuryo Today at 04:45

» [GAME] Count to 999 using odd numbers Van-Helsing Edition
by mr.blake214 Today at 01:13

» how to do this
by mr.blake214 Today at 00:04

» make the topic a color
by Wolfuryo Today at 00:04

» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Yesterday at 23:55

» [GAME] What are you doing right now?
by SLGray Yesterday at 20:03

» change navbar name
by SLGray Yesterday at 20:01

» Forumotion & Edge
by SLGray Yesterday at 19:58

» [GAME] Count to 1000 using even numbers Van-Helsing Edition
by SLGray Yesterday at 15:52

» [GAME] Count to One Million!
by SLGray Yesterday at 15:51

» [GAME] Count to 30 - Ange Edition
by SLGray Yesterday at 15:51

» User - Made Creations
by SLGray Yesterday at 15:47

» FM Themes
by SLGray Yesterday at 15:45

» Emoticon Search
by SLGray Yesterday at 15:40

» Live Search
by SLGray Yesterday at 15:38

Recent Tutorials
Who is online?
In total there are 10 users online :: 0 Registered, 0 Hidden and 10 Guests :: 1 Bot

None

[ View the whole list ]


Most users ever online was 172 on Fri 19 Feb 2016, 05:17
Keywords

How to emulate the mobile version

View previous topic View next topic Go down

avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4641
Points : 9609
Reputation : 2324
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Sun 21 Dec 2014, 19:30

I'll list below a number of ways to emulate the mobile version on your Computer.

Shortcut :


Firefox
Firefox currently lacks an easy way to spoof your useragent, but it's still possible. First enter the following into your address bar and click enter.
Code:
about:config

It may ask you to confirm, if so, click "ok". Now search general.useragent, and in the blank area below right click, go to new, and choose string.

In the first prompt input the following and click OK.
Code:
general.useragent.override

In the second prompt input a new useragent. The one I provide below is for a mobile browser, you can find more here. Click OK when you're done.
Code:
Mozilla/5.0 (Linux; U; Android 2.3; en-us) AppleWebKit/999+ (KHTML, like Gecko) Safari/999.9

Go to a Forumotion forum and you should now see the mobile version. You can use your devtools (F12), or wrench from the omnibox to inspect the elements and make modifications.

To revert back to your normal useragent follow the same steps, except right click on general.useragent.override and click reset.


Chrome
For Google Chrome press F12, or go to Omnibox > More tools > Developer tools

Click the phone to toggle device mode.

Go to Device and choose a mobile device from the drop down such as the iPhone.

Once selected, reload the page and you should now see the mobile version.

To revert back to your default useragent, simply toggle device mode from the tools and reload the page.


Internet Explorer
For Internet Explorer press F12, or go to Tools > Developer tools

Go to Emulation, and under browser profile choose Windows Phone.

After that you should be met with the mobile version. Note that you may need to change the resolution, because it can be a bit glitchy.

To exit the emulation either change back to desktop, or close the devtools.


Safari
To emulate the mobile version for Safari make sure the develop menu is shown in the menu bar. To do that, go to Settings > Preferences :

Go to the Advanced tab and tick "Show develop menu in menu bar" :

Next go to Page > Develop > User Agent and pick a mobile device from the selection, such as the iPhone.

After that, the page will reload to display the mobile version. To revert back to your default User Agent, follow the previous steps, but choose "Default" from the useragent selection.


Opera
Opera is pretty much the same as Chrome. To change your useragent, right click and choose inspect element from the context menu.


Next follow these 3 easy steps :
1. Click the "toggle device mode" button
2. Choose a mobile device from the device dropdown
3. Reload the page


After this, you will see the mobile version of your website. To undo these changes, simply toggle device mode or close the devtools, and reload the page.



Notice
Tutorial written by Ange Tuteur.
Reproduction not permitted without consent from the author.


Last edited by Ange Tuteur on Tue 15 Mar 2016, 06:23; edited 3 times in total
avatar
Michael_vx

Title :
Gender : Male
Age : 25
Posts : 301
Points : 1625
Reputation : 75
Language : Arabic
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
Awards :
View all awards
View user profile http://miccsoft.net https://www.facebook.com/Michaelvx2008

PostMichael_vx on Mon 29 Dec 2014, 02:40

Very Happy
i did not understand all but
looks good idea
the most thing i do not understand is
the goal of changing to the mobile view
Very Happy
thanks again
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4641
Points : 9609
Reputation : 2324
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Mon 29 Dec 2014, 15:36

Thanks.

It's useful if you want to :

  • Preview style changes
  • Debug any scripts that cause errors on mobile
  • Get classes to style the mobile version
avatar
Michael_vx

Title :
Gender : Male
Age : 25
Posts : 301
Points : 1625
Reputation : 75
Language : Arabic
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
Awards :
View all awards
View user profile http://miccsoft.net https://www.facebook.com/Michaelvx2008

PostMichael_vx on Tue 30 Dec 2014, 04:01

i see Smile
thanks a lot for that great idea
one more thing is this will make all sites work as mobile view ?
thanks again and Merry Christmas
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4641
Points : 9609
Reputation : 2324
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Tue 30 Dec 2014, 10:55

Yes, it'll also make other sites that have a mobile version show it. Wink

Happy holidays.
avatar
Michael_vx

Title :
Gender : Male
Age : 25
Posts : 301
Points : 1625
Reputation : 75
Language : Arabic
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
Awards :
View all awards
View user profile http://miccsoft.net https://www.facebook.com/Michaelvx2008

PostMichael_vx on Wed 31 Dec 2014, 09:52

wow
i wish i have 1% of your skills Very Happy
is this trick possible for Safari
you are amazing Smile
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4641
Points : 9609
Reputation : 2324
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Wed 31 Dec 2014, 18:20

I'm not sure as I've never used Safari.
avatar
Michael_vx

Title :
Gender : Male
Age : 25
Posts : 301
Points : 1625
Reputation : 75
Language : Arabic
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
Awards :
View all awards
View user profile http://miccsoft.net https://www.facebook.com/Michaelvx2008

PostMichael_vx on Thu 01 Jan 2015, 03:20

http://support.apple.com/kb/DL1531
this is the link to Safari
i like to use that one cuz its cool while internet speed down Very Happy
its the only version for PC
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4641
Points : 9609
Reputation : 2324
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Fri 02 Jan 2015, 01:47

Thanks, sorry I was busy working on this yesterday. drunken

Safari is pretty simple actually.

Go to Settings ( cog icon ) > Preferences > Advanced and enabled "Show develop menu in menu bar"

Go to Page settings ( page icon ) > Develop > Useragent and choose "Safari iOS - IPhone"
avatar
Michael_vx

Title :
Gender : Male
Age : 25
Posts : 301
Points : 1625
Reputation : 75
Language : Arabic
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
Awards :
View all awards
View user profile http://miccsoft.net https://www.facebook.com/Michaelvx2008

PostMichael_vx on Sat 03 Jan 2015, 03:26

confused 
you dont have to apologize Very Happy
i know your busy coding a lot of things also thanks for the help
i did not thought it would be that easy Very Happy
also as soon as you free look at this topic
http://help.forumotion.com/t137975-problem-with-title-of-watched-topics-in-notifications
i wonder how i should thank you
you are my savior Smile
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4641
Points : 9609
Reputation : 2324
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Sat 03 Jan 2015, 14:33

You're welcome Smile

I'll have to add it to the list when I get the chance.
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4641
Points : 9609
Reputation : 2324
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Wed 07 Jan 2015, 13:12

Added Safari to the list.
avatar
Ikerepc

Title :
Gender : Male
Age : 19
Posts : 170
Points : 1683
Reputation : 48
Location : Croatia
Language : English || Croatian
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
Awards :
View all awards
View user profile https://twitter.com/ikerepc

PostIkerepc on Sun 18 Jan 2015, 08:40

Thanks Ange. Works perfect for Firefox, can you please add for Opera if you find and if it's possible on it?
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4641
Points : 9609
Reputation : 2324
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Sun 18 Jan 2015, 10:00

@Ikerepc wrote:Thanks Ange. Works perfect for Firefox, can you please add for Opera if you find and if it's possible on it?
I'll have to download Opera and check it out. It should most likely, but I can't confirm since I've never used it before. When I get the change I will check it. Wink
avatar
Ikerepc

Title :
Gender : Male
Age : 19
Posts : 170
Points : 1683
Reputation : 48
Location : Croatia
Language : English || Croatian
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
Awards :
View all awards
View user profile https://twitter.com/ikerepc

PostIkerepc on Sun 18 Jan 2015, 10:30

Ok, thanks
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4641
Points : 9609
Reputation : 2324
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Mon 19 Jan 2015, 12:04

@Ikerepc,

I added Opera to the list. In case you didn't know, you can also open the developer tools by pressing CTRL + SHIFT + I on windows. Mr. Green
avatar
Ikerepc

Title :
Gender : Male
Age : 19
Posts : 170
Points : 1683
Reputation : 48
Location : Croatia
Language : English || Croatian
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : Other
Awards :
View all awards
View user profile https://twitter.com/ikerepc

PostIkerepc on Mon 19 Jan 2015, 12:46

I know that, same like Firefox but Firefox is better a lot.

Thanks

WOW, that was so easy, I need just click at button with mobile lol
I feel soo stupid now, I tryed everything except it Smile

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

 
Permissions in this forum:
You cannot reply to topics in this forum