All functions

filter_useragent()

filter useragents based on criteria

random_useragent()

randomly choosing an user-agent string, given a set of conditions