web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Determine if user is m...
Power Pages
Unanswered

Determine if user is mobile

(0) ShareShare
ReportReport
Posted on by 40

I would like to prevent certain content from being accessed if a user has switched to a mobile device.

 

Can this be determined using Liquid, as opposed to using javascript to check for window.innerWidth or window.navigator.userAgent

Categories:
I have the same question (0)
  • Fubar Profile Picture
    8,463 Super User 2026 Season 1 on at

    I don't think it is possible in Liquid (unless there is an undocumented item for it in the request object).

     

    They generally make use of CSS Media tags for formatting the content based on the window size.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Pages

#1
Suriyanarayanan V Profile Picture

Suriyanarayanan V 11

#2
Fubar Profile Picture

Fubar 6 Super User 2026 Season 1

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 5 Most Valuable Professional

Last 30 days Overall leaderboard