国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

72 Zeilen
1.8KB

  1. <?php
  2. if (!defined('DEDEINC')) exit('dedebiz');
  3. /*
  4. * This file is part of Crawler Detect - the web crawler detection library.
  5. *
  6. * (c) Mark Beech <m@rkbee.ch>
  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. require_once(DEDEINC."/libraries/fixtures/abstractprovider.php");
  12. class Exclusions extends AbstractProvider
  13. {
  14. /**
  15. * List of strings to remove from the user agent before running the crawler regex
  16. * Over a large list of user agents, this gives us about a 55% speed increase!
  17. *
  18. * @var array
  19. */
  20. protected $data = array(
  21. 'Safari.[\d\.]*',
  22. 'Firefox.[\d\.]*',
  23. ' Chrome.[\d\.]*',
  24. 'Chromium.[\d\.]*',
  25. 'MSIE.[\d\.]',
  26. 'Opera\/[\d\.]*',
  27. 'Mozilla.[\d\.]*',
  28. 'AppleWebKit.[\d\.]*',
  29. 'Trident.[\d\.]*',
  30. 'Windows NT.[\d\.]*',
  31. 'Android [\d\.]*',
  32. 'Macintosh.',
  33. 'Ubuntu',
  34. 'Linux',
  35. '[ ]Intel',
  36. 'Mac OS X [\d_]*',
  37. '(like )?Gecko(.[\d\.]*)?',
  38. 'KHTML,',
  39. 'CriOS.[\d\.]*',
  40. 'CPU iPhone OS ([0-9_])* like Mac OS X',
  41. 'CPU OS ([0-9_])* like Mac OS X',
  42. 'iPod',
  43. 'compatible',
  44. 'x86_..',
  45. 'i686',
  46. 'x64',
  47. 'X11',
  48. 'rv:[\d\.]*',
  49. 'Version.[\d\.]*',
  50. 'WOW64',
  51. 'Win64',
  52. 'Dalvik.[\d\.]*',
  53. ' \.NET CLR [\d\.]*',
  54. 'Presto.[\d\.]*',
  55. 'Media Center PC',
  56. 'BlackBerry',
  57. 'Build',
  58. 'Opera Mini\/\d{1,2}\.\d{1,2}\.[\d\.]*\/\d{1,2}\.',
  59. 'Opera',
  60. ' \.NET[\d\.]*',
  61. 'cubot',
  62. '; M bot',
  63. '; CRONO',
  64. '; B bot',
  65. '; IDbot',
  66. '; ID bot',
  67. '; POWER BOT',
  68. 'OCTOPUS-CORE',
  69. );
  70. }