This repository was archived by the owner on Nov 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathGoogleServices_Complex.xml
More file actions
51 lines (42 loc) · 2.23 KB
/
GoogleServices_Complex.xml
File metadata and controls
51 lines (42 loc) · 2.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!--
For other Google coverage, see GoogleServices.xml
Problematic domains:
- *-opensocial.googleusercontent.com ***
*** Breaks followers widget - https://trac.torproject.org/projects/tor/ticket/7294
-->
<ruleset name="Google Services">
<target host="*.ggpht.com" />
<target host="googlecode.com" />
<target host="*.googlecode.com" />
<target host="*.googleusercontent.com" />
<!--
Necessary for the Followers widget:
https://trac.torproject.org/projects/tor/ticket/7294
-->
<exclusion pattern="^http://[\w-]+-opensocial\.googleusercontent\.com" />
<test url="http://code-opensocial.googleusercontent.com" />
<test url="http://8r8k4nsuv0p2aq5kcgq8de6noledo628-a-sites-opensocial.googleusercontent.com/gadgets/ifr?url=http://www.labpixies.com/campaigns/countdown/countdown.xml&container=enterprise&view=default&lang=en&country=ALL&sanitize=0&v=137237db1856077c&libs=core:dynamic-height:setprefs:views&mid=31&parent=https://sites.google.com/site/roblessteph/" />
<test url="http://qa599q7p16rn40sms779eg17hpfu7oee-a-sites-opensocial.googleusercontent.com/gadgets/ifr?url=http://mit.edu/manus/www/gg/alicebot.xml&container=enterprise&view=default&lang=en&country=ALL&sanitize=0&v=5a00324a46fff2ec&libs=core&mid=3&parent=http://www.eczm.com/" />
<securecookie host="^mail-attachment\.googleusercontent\.com$" name=".+" />
<!-- - lh 3-6 exist
- All appear identical
- Identical to lh\d.googleusercontent.com
-->
<rule from="^http://lh(\d)\.ggpht\.com/"
to="https://lh$1.ggpht.com/" />
<test url="http://lh3.ggpht.com/" />
<test url="http://lh4.ggpht.com/" />
<test url="http://lh5.ggpht.com/" />
<test url="http://lh6.ggpht.com/" />
<!-- wildcards -->
<rule from="^http://([\w-]+)\.googleusercontent\.com/"
to="https://$1.googleusercontent.com/" />
<test url="http://webcache.googleusercontent.com/" />
<test url="http://foo.googleusercontent.com/" />
<test url="http://bar.googleusercontent.com/" />
<rule from="^http://([\w-]+\.)?googlecode\.com/"
to="https://$1googlecode.com/" />
<test url="http://foo.googlecode.com/" />
<test url="http://bar.googlecode.com/" />
<test url="http://www.googlecode.com/" />
</ruleset>