Skip to content

Commit 2a4dfa5

Browse files
injustgloomy-ghost
authored andcommitted
Update ruleset: Fox News (EFForg#15365)
* Remove non-resolving target: foxnews.ramp.com * Remove default_off attribute * Remove non-resolving target: ureport.foxnews.com * Update nonfunctional domains * Rewrite *.foxnews.com target * Add default_off attribute back in, ruleset is too messy * Remove exclusion pattern, no longer needed * Cleaning in progress * Remove custom rule for www.fbnstatic.com Does not seem to require the custom rule anymore, but I can't find any instance of its usage * foxbusiness.com seems to be working * Clean up formatting * Refactor ruleset completely * Remove live.foxnews.com, timing out * Rename to fix naming conventions - Use hyphen instead of underscore * Rename ruleset reference * Comment out foxnews.com
1 parent 20fd566 commit 2a4dfa5

File tree

3 files changed

+55
-79
lines changed

3 files changed

+55
-79
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<!--
2+
For other News Corporation coverage, see News-Corporation.xml.
3+
4+
Active mixed content:
5+
- foxnews.com
6+
- www.foxnews.com
7+
8+
Connection closed:
9+
- feeds.foxnews.com
10+
11+
Connection timed out:
12+
- imag.foxnews.com
13+
- live.foxnews.com
14+
- affiliates.radio.foxnews.com
15+
- foxnewsinsider.com
16+
- www.foxnewsinsider.com
17+
18+
Invalid certificate:
19+
- insider.foxnews.com
20+
- beta.video.insider.foxnews.com
21+
- latino.foxnews.com
22+
- magazine.foxnews.com
23+
- metrics.foxnews.com
24+
- m.radio.foxnews.com
25+
-->
26+
27+
<ruleset name="Fox News">
28+
<!-- fbnstatic.com -->
29+
<target host="www.fbnstatic.com" />
30+
<target host="global.fncstatic.com" />
31+
32+
<!-- foxbusiness.com -->
33+
<target host="foxbusiness.com" />
34+
<target host="www.foxbusiness.com" />
35+
<target host="video.foxbusiness.com" />
36+
<target host="beta.video.foxbusiness.com" />
37+
38+
<!-- foxnews.com -->
39+
<target host="a57.foxnews.com" />
40+
<target host="ads.foxnews.com" />
41+
<target host="help.foxnews.com" />
42+
<target host="video.imag.foxnews.com" />
43+
<target host="video.insider.foxnews.com" />
44+
<target host="video.latino.foxnews.com" />
45+
<target host="beta.video.latino.foxnews.com" />
46+
<target host="nation.foxnews.com" />
47+
<target host="radio.foxnews.com" />
48+
<target host="video.foxnews.com" />
49+
50+
<!-- foxnewsinsider.com -->
51+
<target host="facebook.foxnewsinsider.com" />
52+
53+
<rule from="^http:" to="https:" />
54+
</ruleset>

src/chrome/content/rules/Fox_News.xml

Lines changed: 0 additions & 78 deletions
This file was deleted.

src/chrome/content/rules/News-Corporation.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Fetch error: http://services.wsje.com/ => https://services.wsje.com/: (60, 'SSL
1717
- alsop-n.uk.xml
1818
- barrons.com.xml
1919
- driving.co.uk.xml
20-
- Fox_News.xml
20+
- Fox-News.xml
2121
- IGN.xml
2222
- Marketwatch.com.xml
2323
- sunmotors.co.uk.xml

0 commit comments

Comments
 (0)