Skip to content

Commit 232eee3

Browse files
author
MB
committed
[Lenovo] Add exclusions, add missing downgrade target, exclude .co.uk/.+, comment out comments
Perhaps this will work around EFForg#1429
1 parent 28ab4f9 commit 232eee3

File tree

2 files changed

+29
-6
lines changed

2 files changed

+29
-6
lines changed

src/chrome/content/rules/Lenovo.xml

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -156,16 +156,32 @@
156156
<target host="consumersupport.lenovo.com" />
157157
<target host="news.lenovo.com" />
158158
<target host="ovp.lenovo.com" />
159+
<target host="www.partnerinfo.lenovo.com" />
159160
<target host="social.lenovo.com" />
160161

162+
<exclusion pattern="^http://(?:www\.)?lenovo\.co\.uk/(?!$)" />
163+
164+
<test url="http://lenovo.co.uk//" />
165+
<test url="http://www.lenovo.co.uk/?" />
166+
<test url="http://www.lenovo.co.uk//" />
167+
168+
<exclusion pattern="^http://(?:blog|consumersupport|news|ovp|www\.partnerinfo|social)\.lenovo\.com/" />
169+
170+
<test url="http://blog.lenovo.com/" />
171+
<test url="http://consumersupport.lenovo.com" />
172+
<test url="http://news.lenovo.com" />
173+
<test url="http://ovp.lenovo.com" />
174+
<test url="http://www.partnerinfo.lenovo.com" />
175+
<test url="http://social.lenovo.com" />
176+
161177

162178
<!-- Not secured by server:
163179
-->
164-
<securecookie host="\.lenovo\.com$" name="^VISITORID$" />
165-
<securecookie host="forums\.lenovo\.com$" name="^(LiSESSIONID|LithiumUserInfo|LithiumUserSecure|LithiumVisitor)$" />
166-
<securecookie host="^ovp\.lenovo\.com$" name="^JSESSIONID$" />
167-
<securecookie host="^support\.lenovo\.com$" name="^esupport#lang$" />
168-
<securecookie host="^\.support\.lenovo\.com$" name="^esupport#lang1$" />
180+
<!--securecookie host="\.lenovo\.com$" name="^VISITORID$" /-->
181+
<!--securecookie host="forums\.lenovo\.com$" name="^(LiSESSIONID|LithiumUserInfo|LithiumUserSecure|LithiumVisitor)$" /-->
182+
<!--securecookie host="^ovp\.lenovo\.com$" name="^JSESSIONID$" /-->
183+
<!--securecookie host="^support\.lenovo\.com$" name="^esupport#lang$" /-->
184+
<!--securecookie host="^\.support\.lenovo\.com$" name="^esupport#lang1$" /-->
169185

170186
<securecookie host="\.lenovo\.com$" name="VISITORID" />
171187
<securecookie host="(?:forums|\.?support)\.lenovo\.com$" name=".+" />
@@ -249,4 +265,11 @@
249265
<rule from="^https://(blog|consumersupport|news|ovp|www\.partnerinfo|social)\.lenovo\.com/"
250266
to="http://$1.lenovo.com/" downgrade="1" />
251267

268+
<!--test url="https://blog.lenovo.com/" /-->
269+
<!--test url="https://consumersupport.lenovo.com" /-->
270+
<!--test url="https://news.lenovo.com" /-->
271+
<!--test url="https://ovp.lenovo.com" /-->
272+
<!--test url="https://www.partnerinfo.lenovo.com" /-->
273+
<!--test url="https://social.lenovo.com" /-->
274+
252275
</ruleset>

utils/ruleset-coverage-whitelist.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7027,7 +7027,7 @@ e68e273cc76ef330863f1e810aa136ec203f6cb6ff83573773f596f665da3a74 Lektorium.tv.x
70277027
9603cf55cc449dc1f41d0f4a8d9c77a6793552d98dace243a5f8dbf67b8c71d9 Le_Monde.fr.xml
70287028
c654e688d0010234dc5bb91f672333455c7ca1235884add140d3d4f9d17f3173 Lendo.se.xml
70297029
ee3473e024eda007335e6c7eeb73d6bc1eacd82f8664a24890d999fdd3b38e5a Lenos-Software.xml
7030-
d9ba32b34a6af0e79456fa6992fb51df0b7a46b005ee3b0773f7d70af4074b76 Lenovo.xml
7030+
8ba681f50ec6c6215348b77f19b4a9fb14367790cc9d0eabca3be939e52e9868 Lenovo.xml
70317031
d52e011483f8a5c89f93c1ab0e22ec93f6cffd51bdb9cd160e9eadbb257acd68 LensRentals.xml
70327032
07638a160417839ec68f1c62683aba3dc5e7c98935f4dc7600bfa8cf50cdbcd4 Leo.org.xml
70337033
0db5c093f93156a5764c5d52f71bf860cfee58c6bb7be818f235a9061ac8801b Leroy_Farmer_City_Press.xml

0 commit comments

Comments
 (0)