logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git

GoogleAPIs.xml (3853B)


  1. <!--
  2. For other Google coverage, see GoogleServices.xml.
  3. Nonfunctional domains:
  4. - hosted.gmodules.com *
  5. - img0.gmodules.com *
  6. - p.gmodules.com *
  7. * 404; mismatched, CN: *.googleusercontent.com
  8. Problematic domains:
  9. - gmodules.com (503, CN: www.google.com)
  10. - www.gmodules.com (503, CN: *.googleusercontent.com)
  11. - gstatic.com (404, valid cert)
  12. - api.recaptcha.net (works; mismatched, CN: google.com)
  13. Partially covered domains:
  14. - (www.)gmodules.com (→ www.google.com)
  15. - (www.)google.com
  16. - chart.apis.google.com (→ chart.googleapis.com)
  17. Fully covered domains:
  18. - api.google.com
  19. - *.clients.google.com:
  20. - linkhelp
  21. - ssl.google-analytics.com
  22. - www.google-analytics.com
  23. - googleapis.com subdomains:
  24. - ajax
  25. - chart
  26. - *.commondatastorage
  27. - fonts
  28. - *.storage
  29. - www
  30. - gstatic.com subdomains:
  31. - (www.) (^ → www)
  32. - csi
  33. - encrypted-tbn\d
  34. - g0
  35. - *.metric
  36. - ssl
  37. - t\d
  38. - api.recaptcha.net (→ www.google.com)
  39. - api-secure.recaptcha.net
  40. - gdata.youtube.com
  41. ssl.google-analytics.com/ga.js sets __utm\w wildcard
  42. cookies on whichever domain it is loaded from.
  43. -->
  44. <ruleset name="Google APIs">
  45. <target host="gmodules.com" />
  46. <target host="www.gmodules.com" />
  47. <target host="google.com" />
  48. <target host="apis.google.com" />
  49. <target host="*.apis.google.com" />
  50. <target host="*.clients.google.com" />
  51. <target host="www.google.com" />
  52. <target host="*.google-analytics.com" />
  53. <target host="*.googleapis.com" />
  54. <target host="gstatic.com" />
  55. <target host="*.gstatic.com" />
  56. <!-- Captive portal detection redirects to this URL, and many captive
  57. portals break TLS, so exempt this redirect URL.
  58. See GitHub bug #368
  59. -->
  60. <exclusion pattern="^http://www\.gstatic\.com/generate_204" />
  61. <target host="*.recaptcha.net" />
  62. <target host="gdata.youtube.com" />
  63. <exclusion pattern="^http://gdata\.youtube\.com/crossdomain\.xml" />
  64. <securecookie host="^ssl\.google-analytics\.com$" name=".+" />
  65. <rule from="^http://(?:www\.)?gmodules\.com/ig/images/"
  66. to="https://www.google.com/ig/images/" />
  67. <!-- jsapi was causing problems on some sites that embed google maps:
  68. https://trac.torproject.org/projects/tor/ticket/2335
  69. Apparently now fixed; thanks, Google!
  70. -->
  71. <rule from="^http://(?:www\.)?google\.com/(afsonline/|chart|jsapi|recaptcha/|uds)"
  72. to="https://www.google.com/$1" />
  73. <rule from="^http://(api|[\w-]+\.client)s\.google\.com/"
  74. to="https://$1s.google.com/" />
  75. <rule from="^http://chart\.apis\.google\.com/chart"
  76. to="https://chart.googleapis.com/chart" />
  77. <rule from="^http://(ssl|www)\.google-analytics\.com/"
  78. to="https://$1.google-analytics.com/" />
  79. <rule from="^http://(ajax|chart|fonts|www)\.googleapis\.com/"
  80. to="https://$1.googleapis.com/" />
  81. <rule from="^http://([^@:\./]+\.)?(commondata)?storage\.googleapis\.com/"
  82. to="https://$1$2storage.googleapis.com/" />
  83. <!-- There is an interesting question about whether we should
  84. append &strip=1 to all cache URLs. This causes them to load
  85. without images and styles, which is more secure but can look
  86. worse.
  87. Without &strip=1, the images and styles from the cached
  88. pages still load from the original, typically unencrypted, page.
  89. With &strip=1, the cached page will be text-only and
  90. will come exclusively from Google's HTTPS server.
  91. -->
  92. <rule from="^http://(?:www\.)?gstatic\.com/"
  93. to="https://www.gstatic.com/" />
  94. <rule from="^http://(csi|encrypted-tbn\d|g0|[\w-]+\.metric|ssl|t\d)\.gstatic\.com/"
  95. to="https://$1.gstatic.com/" />
  96. <rule from="^http://api\.recaptcha\.net/"
  97. to="https://www.google.com/recaptcha/api/" />
  98. <rule from="^http://api-secure\.recaptcha\.net/"
  99. to="https://api-secure.recaptcha.net/" />
  100. <rule from="^http://gdata\.youtube\.com/"
  101. to="https://gdata.youtube.com/" />
  102. </ruleset>