在 英语 中使用 User-agent 的示例及其翻译为 中文
{-}
-
Political
-
Ecclesiastic
-
Programming
Can transparently rewrite"User-Agent" headers so that your PC browser will look like a mobile device when browsing web pages.
For a better explanation, I used PHP to create an insecure application that will save the User-Agent to the MySQL database.
This specification does not define a mechanism for interacting with plugins, as it is expected to be user-agent- and platform-specific.
Note also that globbing and regular expression are not supported in either the User-agent or Disallow lines.
This code connects to the local analytics database and inserts the User-Agent field of the visitor's HTTP header into the database without filtering.
Txt file usually needs only two fields: User-agent and Disallow.
In HTTP, the User-Agent string is often used for content negotiation, where the origin server selects suitable content or operating parameters for the response.
User-Agent: Those robots that follow these rules and in which they are applicable(eg"Googlebot," etc.).
For example, the User-Agent string might be used by a web server to choose variants based on the known capabilities of a particular version of client software.
Headers such as the User-Agent, Host, and Accept* are generally static and do not need to be resent.
User-Agent Switcher can quickly and easily changes your Chrome browser's user-agent. .
Note: User-agent:* will apply to all search engines.
This may change in the future, and if so, it may mean there would be a new Googlebot-Mobile User-agent string.
The most common reason a site might be affected is if it specifically looks for a particular Googlebot user-agent string.
So if you want to tell this spider what to do, a relatively simple User-agent: Googlebot line will do the trick.
Here we capture useful indicators such as a complete HTTP header, URL and a potentially unique User-Agent string.
Note To protect your privacy, periodically review your user-agent string and verify its contents.
You can download the file to your individual settings: Method, PostParam, Cookies, User-Agent, etc(Context file menu\Properties\Extra).
The user-agent field is matched against that specific spider's(usually longer) user-agent, so for instance the most common spider from Google has the following user-agent.
User-agent:[Required, one or more per group] The name of a search engine robot(web crawler software) that the rule applies to.