What User-Agent header does ELinks send?
Prev | Chapter 2. Frequently Asked Questions | Next

## What User-Agent header does ELinks send?

The older ELinks versions (up to 0.4.3) send:

    ELinks ($version; $osinfo; $textmode_dimensions)

The new ELinks versions (from 0.9.0 on) send:

    ELinks/$version (textmode; $osinfo; $textmode_dimensions)

You should therefore check against something like /^ELinks[\/ ]/, since more fields can be added inside the parenthesis in subsequent versions. Note that users can change their User-Agent through the options system.

Prev | Up | Next
How can I get 256 colors? | Home | Chapter 3. Introduction to the World of ELinks