In firefox mobile for android there is an option called "request desktop site".
I want to know if there is the oposite for desktop, to request the site like a mobile browser.
I know that in the developer panel there is a "responsive design mode", but it only adapts the screen size, it does not request the site as a mobile phone (different from the "request desktop site", that in fact request the desktop version using a desctop user agent name)
In the comments of my question, the answer was given so I will post it as such(thanks to #Dexter).
For changing the site requested, the user agent must be changed (because the user agent is what pages use to identify weather the client is on desktop or on mobile). An extension like User Agent Switcher can do the job.
Install the extension from here
Select the wanted user agent in the extension menu
reload the page
Related
I have developed a very basic Outlook Web Add In, with the purpose of loading a Power Apps app by using an iframe object with a URL pointing to the app, all this from Office 365 on desktop devices.
It works as intended and, when loading, Power Apps asks the user to login first, this isn't the app itself asking to login, but Power Apps asking the user to identify first and then loading the app. This also works, at least on some devices.
It has come to my attention that some users can't make it past the login request, as instead of opening a browser tab and showing the login form, the iframe in the Add In, shows this message, which, obviously, makes users think the app isn't working:
This app isn't working. Refresh your browser or try again later
Apparently this message is not that uncommon and at least from what I've read it isn't clear enough either.
Besides that, Windows is displaying this message:
You'll need a new app to open this about link
I'm not even sure what it means, but it shows a list with zero apps that can open this "about link", and the option to go the Windows Store.
What should happen (and happens on some devices):
User is shown login request (by Power Apps)
User logs in
App is loaded and shown to the user
What happens (only on some devices):
User is shown login request (by Power Apps)
Windows can't open a web browser, so the user can't log in
Message saying app isn't working appears, because app was never loaded.
As I don't quite understand why this only happens on some cases, I have been testing the issue, and I have found that when the Power Apps login button is clicked, a file called ielowutil.exe, which apparently stands for Internet Low MIC Utility Tool, is executed before the web browser is shown with the login screen, and this only happens on the devices that can eventually load the app, the ones that fail never run this program.
From what I understand this file is related to Internet Explorer.
The Outlook Web Add In is already working within a web browser, according to Microsoft the browser is chosen automatically (Browsers used by Office Add-ins), so if it's already opened then I don't quite understand why it can't open a new tab/window.
The combination of system requirements for Office Add-ins and Power Apps may be the cause of the error here. While some combinations of platforms and Office versions still support IE 11 for add-ins and may default to opening URLs in IE per Browsers used by Office Add-ins and Support Internet Explorer 11, it looks like IE is no longer supported by Power Apps (see Supported browsers for running Power Apps).
For users who experience the issue you mentioned because of IE, you may need to add an alternate experience for the add-in to gracefully fail (see Determine at runtime if the add-in is running in Internet Explorer) or consider a different solution for hosting the Power Apps app.
I've got a Word add-in working well on Windows, and the basics are working on Mac also (Word 2016 both).
What browser does Word 2016 for Mac use?
I see this post:
What browser / browser engine do Office Add-ins use?
But it doesn't explicitly define the way Mac does it.
I see posts about clearing the cache, which is helpful (that will be my next challenge) like How to clear client side browser cache for Excel 2016 Task Pane add-in on Mac?.
Specific reason I'm asking is trying to use Firebase for authentication. On Windows, because Word 2016 uses IE11, clicking Login (with Firebase running the show) in my taskpane pops open IE11...and the login through the full browser is recognized by the Taskpane.
On Mac, clicking Login is opening my default browser...
Alternately I could try to keep the Firebase flow in the Taskpane...but not sure how to do that:)
Mostly curious how Microsoft is kludging this on Mac.
For Mac, the native WebKit control is being used (https://developer.apple.com/reference/webkit/webview). Window.open or other popups will open in the default browser and not share cookies or have window.opener pointer to the WebKit control by default. This does not work in authentication scenarios. If you want the popup window to be opened in a separate WebKit control for authentication, you will need to include the trusted domain in the AppDomain list of the manifest: https://dev.office.com/reference/add-ins/manifest/appdomains. window.opener and cookies should then work between the popup and add-in. The AppDomain list is supported on every platform.
I'm trying to do what is simple in iOS, redirect from the browser to my app (I am authenticating via a website which then loads the url that switches back to my app via appreferencename:/) in Mango.
Is there a way to switch to an app from a browser via a link?
Thanks!
It's not possible, unfortunately. You are able to link to a marketplace page, but that's only useful if you want to download or update an app.
Open Windows Phone 7 App from URL
We have a mobile version of our web site which works well on all mobile screen resolutions and sizes. Now, we would like to build a very simple app for Blackberry and Windows Phone 7. The app would be trivial - after you click on its icon, it opens a web browser and send you to our mobile web site. Just like a Windows OS shortcut that you place on your desktop.
Can you tell me if Blackberry and Windows Phone 7 policies allow such app be published? For example, Apple rejected us.
I can't speak for Blackberry, but Requirement 2.10 from the WP7 Application Certification Requirements:
Your application must have distinct,
substantial and legitimate content and
purpose other than merely launching a webpage.
So the answer seems to be no on the WP7 marketplace. Is there a reason you want to create an app like that anyway? On WP7, users can pin a tile to their home screen that will launch the website they've pinned. You could simply encourage users to do that on their WP7 and you'll get the same effect (except your site won't appear in the app list).
Seems this is okay for BlackBerry. See section 4.b of the App World FAQ.
Very strange. Our company has placed a similar application on Android Market and the Appstore and they have been resolved and now they available at stores. Also, I had a similar application for Windovs Phone, and it was also allowed.
P.S. Our application is not just a browser window, it has custom control panel in bottom. Also it has the communication protocol with the site - such a sending pictures from camera and phone and access to phone contacts.
Is there a way to open the Windows Phone 7 marketplace from a page being viewed in the mobile browser.
In an WP7 app I can do this:
MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask();
marketplaceDetailTask.ContentIdentifier = "3cc99ca6-f0e6-df11-a844-00237de2db9e";
marketplaceDetailTask.Show();
On the desktop I can do this in a web page:
http://social.zune.net/redirect?type=phoneApp&id=3cc99ca6-f0e6-df11-a844-00237de2db9e
Is there a way to do this from a web page in the mobile browser?
The URL format to launch Marketplace on the phone when a user clicks on a URL is:
zune://navigate/?appID={app guid}
So for your app that would be:
zune://navigate/?appID=3cc99ca6-f0e6-df11-a844-00237de2db9e
If you want this hyperlinked in the browser simply wrap with a href tag.
Download Marketplace Search
The browser on Windows Phone 7 emulator doesn't support direct (type -> navigate) application navigation. What Omar is showing won't work if you type it up in the emulator because there are internal restrictions as to what protocols can called directly, and zune is not one of the supported protocols.
It will, however, work from the email application and the browser as a link.
The rules for marketplace links changed and the zune:// links are no longer valid.
The proper format for the deep link is:
http://windowsphone.com/s?appid=the_app_id
The appid is the guid assigned to your app and can be found on the details screen for your app in the app hub.
The advantage of this format is that it is a direct link to the app in the user's localized marketplace.
On a Windows Phone, this link opens the web browser, which immediately launches the marketplace app.