Motive [Home].Glossary.

Guides

The Motive Web Design Glossary

sniffer

A sniffer is a method, often using JavaScript, that can be used to detect the web browser that has been used to view a webpage and then deliver appropriate content.

A sniffer can be used to determine if a particular plug-in (for example Flash), or scripting language can be used to display content.

One limitation of using a sniffer is the need to keep pace with new web browers, or web brower versions—to ensure that the chosen method continues to work.

As is often the case, the simpliest solution is often the best; creating an intermediary page where a person can make the choice themselves is guaranteed to work every time.

Related terms: web browser, doctype, plug-in.

 

Motive Web Design Glossary Trivia