Jump to content

ide browser sensing

Recommended Posts

  • Administrators
On 3/29/2020 at 7:57 AM, Daniel Eiszele said:

I imagine the smartmobilestudio team could alter the "UserAgent" Header sent with html requests to  include some parse-able content that identifies it as the internal browser?

Altering UserAgent is probably the best way to go as otherwise we want to keep the Internal Browser as close to a real browser as possible. @lynkfs may I ask why you need to detect this?

Link to post
Share on other sites
  • Moderators

I'm working on a project which has 2 (inter)faces : one where the user is in a design phase, and one where the end-result is being displayed

The idea is that there will be users in the role as designer, and other users which will be just using the end result. 
These other users should not even be aware of the design environment

I'm looking for the best way to distinguish between these 2 states. In principle this could be solved by

  • dividing the project into 2 separate projects
  • letting the user switch between these environments at will (like selecting a menu item, maybe login protected)
  • have a 'switch' parameter in the url (like /index.html?switch=design)

I was looking at the option where the switch would be dependent on browser detection (ide browser or any other browser)

Exploring options

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...