# User agent

{% hint style="info" %}
All parameters are optional. The sample parameters are the default values used by each function.
{% endhint %}

```rust
Faker.mac_processor()
=> U; PPC


Faker.linux_processor()
=> i686


Faker.user_agent()
=> chrome


Faker.windows_platform_token()
=> Windows 98; Win 9x 4.90


Faker.linux_platform_token()
=> X11; Linuxi686


Faker.mac_platform_token()
=> Macintosh; PPC Mac OS X 10_6_3


Faker.chrome()
=> Mozilla/5.0 (Macintosh; PPC Mac OS X 10_5_5) AppleWebKit/5352 (KHTML, like Gecko) Chrome/23.0.856.0 Safari/5352


Faker.internet_explorer()
=> Mozilla/5.0 (compatible; MSIE 6.0; Windows NT 6.1; Trident/3.1


Faker.safari()
=> Mozilla/5.0 (iPod; U; CPU iPhone OS 4_2 like Mac OS X; sl-SI AppleWebKit/535.5.2 (KHTML, like Gecko) Version/3.0.5 Mobile/8B111 Safari/6535.5.2


Faker.firefox()
=> Mozilla/5.0 (X11; Linuxx86_64; rv:1.9.6.20) Gecko/2005-9-30 19:43:41 Firefox/7.0


Faker.opera()
=> Opera/8.10.(X11; Linuxi686; en-US Presto/2.9.178 Version/12.00


```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://neomatrixcode.gitbook.io/faker/guide/providers/user-agent.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
