Chrome Desktop Site

Post your questions and help other users.

Moderator: Martin

Post Reply
robchoc
Posts: 81
Joined: 20 Jun 2018 12:38

Chrome Desktop Site

Post by robchoc » 12 Dec 2018 11:57

I'm using Android 6 and no root available.

Is there a way to open Chrome as a desktop site from Automagic?

I have tried using the UI overlay it has a green box over the 3 dots but when I click it, it says No component found.

Is there another way to trigger the 3 dots?

Thanks

User avatar
Desmanto
Posts: 2681
Joined: 21 Jul 2017 17:50

Re: Chrome Desktop Site

Post by Desmanto » 12 Dec 2018 17:49

I can use the overlay to get the more option and click the desktop site. Oreo 8.1, chrome 70. Try to click the option in the new tab. The following works at my phone.

Code: Select all

clickById("com.android.chrome:id/menu_button");
sleep(200);
click("Desktop site");
There are currently no way to open desktop site immediately. I remember some dev version of Chrome has started to implement it at custom tab level, but don't know if it will make it to the stable. I have forced chrome android to the desktop site, by adding it to debug app and then use the chrome command line to open it. I think no root is required, but adb is a must. https://forum.xda-developers.com/androi ... s-t3771982
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

robchoc
Posts: 81
Joined: 20 Jun 2018 12:38

Re: Chrome Desktop Site

Post by robchoc » 12 Dec 2018 19:01

Does not work for me, I'm on Chrome ver 71.

Your script did not work.

I have just this second found a way around it. :)

sendKey("MENU")

User avatar
Desmanto
Posts: 2681
Joined: 21 Jul 2017 17:50

Re: Chrome Desktop Site

Post by Desmanto » 13 Dec 2018 17:12

I haven't got Chrome 71 yet, can't test it now. Look at apkmirror, there is no 71 version for mine.

BTW, It is possible I have force it desktop mode, so the option always appear at mine. But yes, you can use menu button to show the menu and click the desktop site.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

robchoc
Posts: 81
Joined: 20 Jun 2018 12:38

Re: Chrome Desktop Site

Post by robchoc » 13 Dec 2018 17:37

I don't want to use ADB to force desktop mode as I reset the phone a lot.

Post Reply