> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: userAgent() # Method package: wixRouter # Method menu location: wixRouter --> WixRouterRequest --> userAgent # Method Link: https://dev.wix.com/docs/velo/events-service-plugins/routers/service-plugins/wix-router/wix-router-request/user-agent.md # Method Description: Returns the `user-agent` header as sent from the device used to make the router request. # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## Get the `user-agent` header of the device used to make the router request ```javascript export function myRouter_Router(request) { let userAgent = request.userAgent; // "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36" } ``` ---