logo

searx

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

GoogleServices.xml (9997B)


  1. <!--
  2. Other Google rulesets:
  3. - 2mdn.net.xml
  4. - Admeld.xml
  5. - ChannelIntelligence.com.xml
  6. - Doubleclick.net.xml
  7. - FeedBurner.xml
  8. - Google.org.xml
  9. - GoogleAPIs.xml
  10. - Google_App_Engine.xml
  11. - GoogleImages.xml
  12. - GoogleShopping.xml
  13. - Ingress.xml
  14. - Meebo.xml
  15. - Orkut.xml
  16. - Postini.xml
  17. - WebM_Project.org.xml
  18. Nonfunctional domains:
  19. - feedproxy.google.com (404, valid cert)
  20. - partnerpage.google.com *
  21. - safebrowsing.clients.google.com (404, mismatched)
  22. - (www.)googlesyndicatedsearch.com (404; mismatched, CN: google.com)
  23. - buttons.googlesyndication.com *
  24. * 404, valid cert
  25. Nonfunctional google.com paths:
  26. - analytics (redirects to http)
  27. - imgres
  28. - gadgets *
  29. - hangouts (404)
  30. - u/ (404)
  31. * Redirects to http
  32. Problematic domains:
  33. - www.goo.gl (404; mismatched, CN: *.google.com)
  34. - google.com subdomains:
  35. - books (googlebooks/, images/, & intl/ 404, but works when rewritten to www)
  36. - cbks0 ****
  37. - earth *
  38. - gg ($ 404s)
  39. - knoll *
  40. - scholar **
  41. - trends *
  42. - news.google.cctld **
  43. - scholar.google.cctld **
  44. - *-opensocial.googleusercontent.com ***
  45. **** $ 404s
  46. * 404, valid cert
  47. ** Redirects to http, valid cert
  48. *** Breaks followers widget - https://trac.torproject.org/projects/tor/ticket/7294
  49. Partially covered domains:
  50. - google.cctld subdomains:
  51. - scholar (→ www)
  52. - google.com subdomains:
  53. - (www.)
  54. - cbks0 ($ 404s)
  55. - gg ($ 404s)
  56. - news (→ www)
  57. - scholar (→ www)
  58. - *.googleusercontent.com (*-opensocial excluded)
  59. Fully covered domains:
  60. - lh[3-6].ggpht.com
  61. - (www.)goo.gl (www → ^)
  62. - google.com subdomains:
  63. - accounts
  64. - adwords
  65. - apis
  66. - appengine
  67. - books (→ encrypted)
  68. - calendar
  69. - checkout
  70. - chrome
  71. - clients[12]
  72. - code
  73. - *.corp
  74. - developers
  75. - dl
  76. - docs
  77. - docs\d
  78. - \d.docs
  79. - drive
  80. - earth (→ www)
  81. - encrypted
  82. - encrypted-tbn[123]
  83. - feedburner
  84. - fiber
  85. - finance
  86. - glass
  87. - groups
  88. - health
  89. - helpouts
  90. - history
  91. - hostedtalkgadget
  92. - id
  93. - investor
  94. - knol
  95. - knoll (→ knol)
  96. - lh\d
  97. - mail
  98. - chatenabled.mail
  99. - pack
  100. - picasaweb
  101. - pki
  102. - play
  103. - plus
  104. - plusone
  105. - productforums
  106. - profiles
  107. - safebrowsing-cache
  108. - cert-test.sandbox
  109. - plus.sandbox
  110. - sb-ssl
  111. - script
  112. - security
  113. - services
  114. - servicessites
  115. - sites
  116. - spreadsheets
  117. - spreadsheets\d
  118. - support
  119. - talk
  120. - talkgadget
  121. - tbn2 (→ encrypted-tbn2)
  122. - tools
  123. - trends (→ www)
  124. - partner.googleadservices.com
  125. - (www.)googlecode.com
  126. - *.googlecode.com (per-project subdomains)
  127. - googlesource.com
  128. - *.googlesource.com
  129. - pagead2.googlesyndication.com
  130. - tpc.googlesyndication.com
  131. - mail-attachment.googleusercontent.com
  132. - webcache.googleusercontent.com
  133. XXX: Needs more testing
  134. -->
  135. <ruleset name="Google Services">
  136. <target host="*.ggpht.com" />
  137. <target host="gmail.com" />
  138. <target host="www.gmail.com" />
  139. <target host="goo.gl" />
  140. <target host="www.goo.gl" />
  141. <target host="google.*" />
  142. <target host="accounts.google.*" />
  143. <target host="adwords.google.*" />
  144. <target host="finance.google.*" />
  145. <target host="groups.google.*" />
  146. <target host="it.google.*" />
  147. <target host="news.google.*" />
  148. <exclusion pattern="^http://(?:news\.)?google\.com/(?:archivesearch|newspapers)" />
  149. <target host="picasaweb.google.*" />
  150. <target host="scholar.google.*" />
  151. <target host="www.google.*" />
  152. <target host="*.google.ca" />
  153. <target host="google.co.*" />
  154. <target host="accounts.google.co.*" />
  155. <target host="adwords.google.co.*" />
  156. <target host="finance.google.co.*" />
  157. <target host="groups.google.co.*" />
  158. <target host="id.google.co.*" />
  159. <target host="news.google.co.*" />
  160. <target host="picasaweb.google.co.*" />
  161. <target host="scholar.google.co.*" />
  162. <target host="www.google.co.*" />
  163. <target host="google.com" />
  164. <target host="*.google.com" />
  165. <exclusion pattern="^http://(?:www\.)?google\.com/analytics/*(?:/[^/]+)?(?:\?.*)?$" />
  166. <!--exclusion pattern="^http://books\.google\.com/(?!books/(\w+\.js|css/|javascript/)|favicon\.ico|googlebooks/|images/|intl/)" /-->
  167. <exclusion pattern="^http://cbks0\.google\.com/(?:$|\?)" />
  168. <exclusion pattern="^http://gg\.google\.com/(?!csi(?:$|\?))" />
  169. <target host="google.com.*" />
  170. <target host="accounts.google.com.*" />
  171. <target host="adwords.google.com.*" />
  172. <target host="groups.google.com.*" />
  173. <target host="id.google.com.*" />
  174. <target host="news.google.com.*" />
  175. <target host="picasaweb.google.com.*" />
  176. <target host="scholar.google.com.*" />
  177. <target host="www.google.com.*" />
  178. <target host="partner.googleadservices.com" />
  179. <target host="googlecode.com" />
  180. <target host="*.googlecode.com" />
  181. <target host="googlemail.com" />
  182. <target host="www.googlemail.com" />
  183. <target host="googlesource.com" />
  184. <target host="*.googlesource.com" />
  185. <target host="*.googlesyndication.com" />
  186. <target host="www.googletagservices.com" />
  187. <target host="googleusercontent.com" />
  188. <target host="*.googleusercontent.com" />
  189. <!--
  190. Necessary for the Followers widget:
  191. https://trac.torproject.org/projects/tor/ticket/7294
  192. -->
  193. <exclusion pattern="http://[^@:\./]+-opensocial\.googleusercontent\.com" />
  194. <!-- Can we secure any of these wildcard cookies safely?
  195. -->
  196. <!--securecookie host="^\.google\.com$" name="^(hl|I4SUserLocale|NID|PREF|S)$" /-->
  197. <!--securecookie host="^\.google\.[\w.]{2,6}$" name="^(hl|I4SUserLocale|NID|PREF|S|S_awfe)$" /-->
  198. <securecookie host="^(?:accounts|adwords|\.code|login\.corp|developers|docs|\d\.docs|fiber|mail|picasaweb|plus|\.?productforums|support)\.google\.[\w.]{2,6}$" name=".+" />
  199. <securecookie host="^www\.google\.com$" name="^GoogleAccountsLocale_session$" />
  200. <securecookie host="^mail-attachment\.googleusercontent\.com$" name=".+" />
  201. <securecookie host="^gmail\.com$" name=".+" />
  202. <securecookie host="^www\.gmail\.com$" name=".+" />
  203. <securecookie host="^googlemail\.com$" name=".+" />
  204. <securecookie host="^www\.googlemail\.com$" name=".+" />
  205. <!-- - lh 3-6 exist
  206. - All appear identical
  207. - Identical to lh\d.googleusercontent.com
  208. -->
  209. <rule from="^http://lh(\d)\.ggpht\.com/"
  210. to="https://lh$1.ggpht.com/" />
  211. <rule from="^http://lh(\d)\.google\.ca/"
  212. to="https://lh$1.google.ca/" />
  213. <rule from="^http://(www\.)?g(oogle)?mail\.com/"
  214. to="https://$1g$2mail.com/" />
  215. <rule from="^http://(?:www\.)?goo\.gl/"
  216. to="https://goo.gl/" />
  217. <!-- Redirects to http when rewritten to www:
  218. -->
  219. <rule from="^http://books\.google\.com/"
  220. to="https://encrypted.google.com/" />
  221. <!-- tisp$ 404s:
  222. -->
  223. <rule from="^http://(?:www\.)?google\.((?:com?\.)?\w{2,3})/tisp(?=$|\?)"
  224. to="https://www.google.$1/tisp/" />
  225. <!-- Paths that work on all in google.*
  226. -->
  227. <rule from="^http://(?:www\.)?google\.((?:com?\.)?\w{2,3})/(accounts|adplanner|ads|adsense|adwords|analytics|bookmarks|chrome|contacts|coop|cse|css|culturalinstitute|doodles|earth|favicon\.ico|finance|get|goodtoknow|googleblogs|grants|green|hostednews|images|intl|js|landing|logos|mapmaker|newproducts|news|nexus|patents|policies|prdhp|profiles|products|reader|s2|settings|shopping|support|tisp|tools|transparencyreport|trends|urchin|webmasters)(?=$|[?/])"
  228. to="https://www.google.$1/$2" />
  229. <!-- Paths that 404 on .ccltd, but work on .com:
  230. -->
  231. <rule from="^http://(?:www\.)?google\.(?:com?\.)?\w{2,3}/(?=calendar|dictionary|doubleclick|help|ideas|pacman|postini|powermeter|url)"
  232. to="https://www.google.com/" />
  233. <rule from="^http://(?:www\.)?google\.(?:com?\.)?\w{2,3}/custom"
  234. to="https://www.google.com/cse" />
  235. <!-- Paths that only exist/work on .com
  236. -->
  237. <rule from="^http://(?:www\.)?google\.com/(\+|appsstatus|books|buzz|extern_js|glass|googlebooks|ig|insights|moderator|phone|safebrowsing|videotargetting|webfonts)(?=$|[?/])"
  238. to="https://www.google.com/$1" />
  239. <!-- Subdomains that work on all in google.*
  240. -->
  241. <rule from="^http://(accounts|adwords|finance|groups|id|picasaweb|)\.google\.((?:com?\.)?\w{2,3})/"
  242. to="https://$1.google.$2/" />
  243. <!-- Subdomains that only exist/work on .com
  244. -->
  245. <rule from="^http://(apis|appengine|books|calendar|cbks0|chat|checkout|chrome|clients[12]|code|[\w-]+\.corp|developers|dl|docs\d?|\d\.docs|drive|encrypted|encrypted-tbn[123]|feedburner|fiber|fonts|gg|glass||health|helpouts|history|(?:hosted)?talkgadget|investor|lh\d|(?:chatenabled\.)?mail|pack|pki|play|plus(?:\.sandbox)?|plusone|productforums|profiles|safebrowsing-cache|cert-test\.sandbox|sb-ssl|script|security|services|servicessites|sites|spreadsheets\d?|support|talk|tools)\.google\.com/"
  246. to="https://$1.google.com/" />
  247. <exclusion pattern="^http://clients[0-9]\.google\.com/ocsp"/>
  248. <rule from="^http://earth\.google\.com/"
  249. to="https://www.google.com/earth/" />
  250. <rule from="^http://scholar\.google\.((?:com?\.)?\w{2,3})/intl/"
  251. to="https://www.google.$1/intl/" />
  252. <rule from="^http://(?:encrypted-)?tbn2\.google\.com/"
  253. to="https://encrypted-tbn2.google.com/" />
  254. <rule from="^http://knoll?\.google\.com/"
  255. to="https://knol.google.com/" />
  256. <rule from="^http://news\.google\.(?:com?\.)?\w{2,3}/(?:$|news|newshp)"
  257. to="https://www.google.com/news" />
  258. <rule from="^http://trends\.google\.com/"
  259. to="https://www.google.com/trends" />
  260. <rule from="^http://([^/:@\.]+\.)?googlecode\.com/"
  261. to="https://$1googlecode.com/" />
  262. <rule from="^http://([^\./]\.)?googlesource\.com/"
  263. to="https://$1googlesource.com/" />
  264. <rule from="^http://partner\.googleadservices\.com/"
  265. to="https://partner.googleadservices.com/" />
  266. <rule from="^http://(pagead2|tpc)\.googlesyndication\.com/"
  267. to="https://$1.googlesyndication.com/" />
  268. <!-- !www doesn't exist.
  269. -->
  270. <rule from="^http://www\.googletagservices\.com/tag/js/"
  271. to="https://www.googletagservices.com/tag/js/" />
  272. <rule from="^http://([^@:\./]+)\.googleusercontent\.com/"
  273. to="https://$1.googleusercontent.com/" />
  274. </ruleset>