UserAgentProvider

Functions

Link copied to clipboard
abstract fun userAgent(url: String? = null, isDesktop: Boolean = false): String

Provides the user agent based on a specific URL and if the website should be displayed in desktop mode or not