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 ?


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.