PluginProbe
WebberZone Top 10 — Popular Posts / 4.4.0
WebberZone Top 10 — Popular Posts v4.4.0
4.5.1 4.5.0 4.4.3 4.4.2 4.4.1 4.4.0 4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 trunk 1.0 1.0.1 1.1 1.2 1.3 1.4 1.4.1 1.5 1.5.1 1.5.2 1.5.3 1.6 1.6.1 All 117 releases
top-10 / vendor / jaybizzle / crawler-detect / src / Fixtures / Headers.php

Headers.php in WebberZone Top 10 — Popular Posts 4.4.0, at vendor/jaybizzle/crawler-detect/src/Fixtures/Headers.php

40 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /*
4 * This file is part of Crawler Detect - the web crawler detection library.
5 *
6 * (c) Mark Beech <[email protected]>
7 *
8 * This source file is subject to the MIT license that is bundled
9 * with this source code in the file LICENSE.
10 */
11
12 namespace Jaybizzle\CrawlerDetect\Fixtures;
13
14 class Headers extends AbstractProvider
15 {
16 /**
17 * All possible HTTP headers that represent the user agent string.
18 *
19 * @var array
20 */
21 protected $data = [
22 // The default User-Agent string.
23 'HTTP_USER_AGENT',
24 // Header can occur on devices using Opera Mini.
25 'HTTP_X_OPERAMINI_PHONE_UA',
26 // Vodafone specific header: http://www.seoprinciple.com/mobile-web-community-still-angry-at-vodafone/24/
27 'HTTP_X_DEVICE_USER_AGENT',
28 'HTTP_X_ORIGINAL_USER_AGENT',
29 'HTTP_X_SKYFIRE_PHONE',
30 'HTTP_X_BOLT_PHONE_UA',
31 'HTTP_DEVICE_STOCK_UA',
32 'HTTP_X_UCBROWSER_DEVICE_UA',
33 // Sometimes, bots (especially Google) use a genuine user agent, but fill this header in with their email address
34 'HTTP_FROM',
35 'HTTP_X_SCANNER', // Seen in use by Netsparker
36 // Observed that Facebook will omit identifying itself in User Agent headers but will persist HeadlessChrome in this header for mobile requests
37 'HTTP_SEC_CH_UA',
38 ];
39 }
40