pennywise
pennywise copied to clipboard
Feature advice , mobile mode or custom HTTP headers
Do you want to request a feature or report a bug? feature What is the current behavior? only PC browser Expected behavior Mobile Mode Screenshots
Pennywise Version: 0.5.1 OS / OS Version: Mac OSX 10.13.3
Resize the window it will interact with sites that are responsive, sometimes you may have to write m. infront of urls if they have their mobile site on a subdomain.
some sites have fixed minimum element width even if they are responsive when I need to resize it smaller, subdomain is ok, but mobile mode switch may be better.
resize the window then as that would cause the website to resize. if its not resizing its not our issue most likely the website you are trying to view has some issue. all the websites ive tested both ways on work.
If you could add some screenshots to your original issue that would be more helpful
What website is it that you are trying to access that won't work in pennywise?
em... website in pc view working good, what I mean is some sites in small window using mobile browser is more convenient, for that matter, a shortcut key can switch it into mobile browser quickly.Forgive my poor English...
@The-Code-Monkey
I think this is problem of user-agent
.
Current pennywise
set desktop-mode for user-agent
and It doesn't change.
https://github.com/kamranahmedse/pennywise/blob/0.6.0/src/components/web-page/index.js#L12
I know that some web-site conclusion using browser width if PC or Mobile, another web-site use user-agent
or url prefix about "m" like https://naver.com and https://m.naver.com.
If accept @me10zyl 's suggestion, Need to feature that convert user-agent
toggle about PC and mobile to set <webview>
element.
What im saying is doing user-agent is not required as you can put m. if you need or you can resize the window size.
@The-Code-Monkey Lots of services render mobile web pages based on the user-agent.