I need to write a javascript function ,or any event to detect whether the salesforce app is being accessed from a desktop or sf1 app can you help me on this ?

1 Answer 1


The answer on the post below checks if the user is currently using desktop or salesforce1 within a visualforce page. Hope this fits your requirements.

Here's the post from stackexchange forum: Detect if Visualforce Page is in Salesforce1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .