Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 7 additions & 36 deletions src/chrome/content/rules/Curbed.com.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,52 +50,23 @@
ˢ Secured by us

-->
<ruleset name="Curbed.com (partial)">
<ruleset name="Curbed.com">

<!-- Direct rewrites:
-->
<target host="hamptons.curbed.com" />
<target host="ny.curbed.com" />
<target host="www.ny.curbed.com" />
<target host="www.curbed.com" />

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The wildcard target makes this obsolete, but you should add curbed.com.

<target host="*.curbed.com" />

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also update the comment section on the top.


<!-- Complications:
-->
<target host="www.hamptons.curbed.com" />

<!-- 404:
-->
<!--exclusion pattern="^http://hamptons\.curbed\.com/contact$" /-->

<!-- Avoid false/broken MCB:
-->
<exclusion pattern="^http://(?:www\.)?(?:hamptons|ny)\.curbed\.com/+(?!favicon\.ico|marketplace/(?:image|stylesheet)s/|uploads/)" />

<!-- +ve:
-->
<test url="http://hamptons.curbed.com/archives/2016/01/15/traditional_colorful_and_elegant_in_east_hampton_for_875m.php" />
<test url="http://hamptons.curbed.com/contact" />
<test url="http://hamptons.curbed.com/marketplace/properties" /><!-- Mixed bugs -->
<test url="http://hamptons.curbed.com/tags/top" />

<!-- -ve:
-->
<test url="http://hamptons.curbed.com/favicon.ico" />
<test url="http://hamptons.curbed.com/marketplace/assets/properties/images/5144/9931/44593.jpg_20160114_polaroid.jpeg" />
<test url="http://hamptons.curbed.com/marketplace/images/dingbats/twitter-icon-15x15.png" />
<test url="http://hamptons.curbed.com/marketplace/stylesheets/cache/print.css" />
<test url="http://www.hamptons.curbed.com/uploads/shutterstock_176666024.jpg" />

<test url="http://www.curbed.com/2017/5/1/15505572/lyndon-cormack-herschel-co-founder-house-tour-vancouver" />
<test url="http://nola.curbed.com/maps/creole-cottage-home-for-sale-new-orleans-french-quarter-bywater" />
<test url="http://austin.curbed.com/2017/5/1/15498050/austin-homes-for-sale-price-comparison-govalle-montopolis-downtown" />
<test url="http://miami.curbed.com/2017/4/28/15420260/miami-beach-ritz-carlton-residences-penthouse-collection" />

<!-- Not secured by server:
-->
<!--securecookie host="^hamptons\.curbed\.com$" name="^(?:_hamptons_curbed_com_marketplace_session|identity_client)$" /-->

<securecookie host="^\." name="^__qca$" />


<rule from="^http://www\.hamptons\.curbed\.com/"
to="https://hamptons.curbed.com/" />

<rule from="^http:"
to="https:" />

Expand Down
46 changes: 13 additions & 33 deletions src/chrome/content/rules/Eater.xml
Original file line number Diff line number Diff line change
@@ -1,42 +1,22 @@
<!--
For other Vox Media coverage, see Vox.com.xml.


Nonfunctional hosts in *eater.com:

- detroit ʰ

ʰ Redirects to http


Problematic hosts in *eater.com:

- ^ ʳ
- dc ᵐ
- ny ᵐ

ʳ Refused
ᵐ Mismatched


Mixed content:

- Fonts on www from fonts.voxmedia.com

For other Vox Media coverage, see Vox_Media.com.xml.
-->
<ruleset name="Eater.com (partial)">
<ruleset name="Eater.com">

<!-- Direct rewrites:
-->
<target host="www.eater.com" />

<!-- Complications:
-->
<target host="eater.com" />


<rule from="^http://eater\.com/"
to="https://www.eater.com/" />
<target host="*.eater.com" />

<test url="http://www.eater.com/2017/6/5/15721288/cork-dork-bianca-bosker-wine-orgy-interview" />
<test url="http://atlanta.eater.com/2017/6/5/15740102/the-canteen-square-bar-general-muir-yalla-freds" />
<test url="http://austin.eater.com/maps/best-fried-chicken-austin" />
<test url="http://boston.eater.com/2017/6/5/15739688/may-2017-summary" />
<test url="http://charleston.eater.com/2017/2/2/14488140/charleston-restaurant-closings-2017" />
<test url="http://chicago.eater.com/2017/6/5/15739718/42-grams-closed-uptown-michelin-starred-byo-restaurant" />
<test url="http://dallas.eater.com/maps/best-new-dallas-restaurants-heatmap" />
<test url="http://nola.eater.com/maps/best-restaurants-irish-channel-neighborhood-new-orleans-nola" />
<test url="http://dc.eater.com/2017/6/5/15739850/greg-engert-craft-beer-outlook" />

<rule from="^http:"
to="https:" />
Expand Down
47 changes: 1 addition & 46 deletions src/chrome/content/rules/Polygon.com.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,57 +16,12 @@
* Secured by us

-->
<ruleset name="Polygon.com (partial)">

<ruleset name="Polygon.com">
<!-- Direct rewrites:
-->
<target host="www.polygon.com" />

<!-- Complications:
-->
<target host="polygon.com" />

<!-- Redirect to http:
-->
<exclusion pattern="^http://www\.polygon\.com/(?:$|\?)" />
<exclusion pattern="^http://www\.polygon\.com/comments/load_comments/" />
<exclusion pattern="/\d{4}/(?:\d\d?/){2}\d+/[\w-]" />

<!-- +ve:
-->
<test url="http://www.polygon.com/2015/11/27/9807860/hearthstone-disconnect-dreamhack-tournament-drama" />
<test url="http://www.polygon.com/2015/12/3/9847206/konami-prevented-kojima-attending-game-awards-2015" />
<test url="http://www.polygon.com/?" />
<test url="http://www.polygon.com/?foo" />
<test url="http://www.polygon.com/comics/2015/9/10/9297939/call-of-duty-black-ops-3-comic" />
<test url="http://www.polygon.com/forums/minecraft/2012/10/25/3553718/survivor-is-best-faction" />

<!-- -ve:
-->
<test url="http://www.polygon.com/features" />
<test url="http://www.polygon.com/forums" />
<test url="http://www.polygon.com/forums/destiny" />
<test url="http://www.polygon.com/game/dota-2/2243/media" />
<test url="http://www.polygon.com/game/fallout-4/38395" />
<test url="http://www.polygon.com/game/grand-theft-auto-5/3667/overview" />
<test url="http://www.polygon.com/login" />
<test url="http://www.polygon.com/news" />
<test url="http://www.polygon.com/opinion" />
<test url="http://www.polygon.com/rss/index.xml" />
<test url="http://www.polygon.com/users/Ben%20Kuchera" />
<test url="http://www.polygon.com/videos" />

<test url="http://www.polygon.com/comments/load_comments/" />

<!-- Mixed images:
-->
<test url="http://www.polygon.com/pages/about" />

<!-- Fix #4007 -->
<exclusion pattern="http://www\.polygon\.com/chorus_page/optimally_sized_images" />

<test url="http://www.polygon.com/chorus_page/optimally_sized_images" />

<!-- Possible trackers (untested):
-->
<securecookie host="^\.polygon\.com$" name="^__[qu].*" />

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ^ to www redirect is not necessary.

Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/Racked.com.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

* CORS issues, https://github.com/EFForg/https-everywhere/issues/7381
-->
<ruleset name="Racked.com" default_off="CORS issues">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also update the comments.

<ruleset name="Racked.com">
<target host="racked.com" />
<target host="www.racked.com" />

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some more subdomains. Could you add them too?


Expand Down
131 changes: 1 addition & 130 deletions src/chrome/content/rules/Recode.net.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,140 +9,11 @@
ᶜ See https://owasp.org/index.php/SecureFlag

-->
<ruleset name="Recode.net (partial)">
<ruleset name="Recode.net">

<target host="recode.net" />
<target host="www.recode.net" />

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also add events.recode.net


<!-- Redirects to http:
-->
<!--exclusion pattern="^http://www\.recode\.net/(?:$|(?:.+/)?\d{4}/)" /-->
<!--
Exceptions:
-->
<!--exclusion pattern="^http://www\.recode\.net/(?!/*(?:authors|style|users|(topic_name))(?:$|[?/]))" /-->
<!--
Avoid potential XHR problems:
-->
<!--exclusion pattern="^http://www\.recode\.net/.+\.js(?:$|[?/])" /-->
<!--
Lessen non-Tor distinguishability:
-->
<!--exclusion pattern="^http://(?:www\.)?recode\.net/+style/" /-->
<!--
In combination:
-->
<!--exclusion pattern="^http://(?:www\.)?recode\.net/(?!(?!.+\.js(?:$|[?/]))/*(?:authors|users|(topic_name))(?:$|[?/]))" /-->
<exclusion pattern="^http://(?:www\.)?recode\.net/+(?:$|\?|.+\.js(?:$|[?/])|(?:.+/)?\d{4}/|style/)" />

<!-- +ve:
-->
<test url="http://www.recode.net/2014/11/7/11632698/introducing-recode-radio" />
<test url="http://www.recode.net/2014/9/16/11630946/iphone-6-review" />
<test url="http://www.recode.net/2015/10/18/rewind-the-biggest-tech-deal-of-all-time-square-files-for-ipo-twitters-new-chairman-and-more" />
<test url="http://www.recode.net/2015/10/29/11620180/microsoft-band-2-review-an-identity-crisis-on-your-wrist" />
<test url="http://www.recode.net/2015/6/24/11563856/bundles-of-joy" />
<test url="http://www.recode.net/2016/2/2/11587472/marissa-mayers-big-red-book-a-guide-to-what-the-yahoo-ceo-will-do-next" />
<test url="http://www.recode.net/2016/4/28/11586538/ftc-venmo-investigation" />
<test url="http://www.recode.net/2016/4/8/11585992/google-schaft-robot" />
<test url="http://www.recode.net/2016/5/19/11711126/mossberg-google-ai" />
<test url="http://www.recode.net/2016/5/24/11762436/toyota-uber-investment" />
<test url="http://www.recode.net/2016/6/14/11926704/snapchat-advertising-api" />
<!--
<test url="http://www.recode.net/2016/6/14/11933666/google-fiber-dallas" />
<test url="http://www.recode.net/2016/6/25/12031714/bill-cunningham-rip" />
<test url="http://www.recode.net/2016/6/27/12041028/tv-hours-per-week-nielsen" />
<test url="http://www.recode.net/2016/7/7/12116296/marissa-mayer-deal-mozilla-yahoo-payment" />
<test url="http://www.recode.net/2016/8/10/12419420/google-alphabet-anniversary" />
<test url="http://www.recode.net/2016/8/4/12379572/apple-tv-guide" />
-->

<!-- -ve:
-->
<test url="http://www.recode.net/advertising" />
<test url="http://www.recode.net/ai" />
<test url="http://www.recode.net/amazon" />
<test url="http://www.recode.net/android" />
<test url="http://www.recode.net/aol" />
<test url="http://www.recode.net/apple" />
<test url="http://www.recode.net/apple-tv" />
<test url="http://www.recode.net/att" />
<test url="http://www.recode.net/authors/elizabeth-crane" />
<!--
<test url="http://www.recode.net/authors/eric-johnson" />
<test url="http://www.recode.net/blackberry" />
<test url="http://www.recode.net/btw" />
<test url="http://www.recode.net/capital-gains" />
<test url="http://www.recode.net/comcast" />
<test url="http://www.recode.net/comings-and-goings" />
<test url="http://www.recode.net/commerce" />
<test url="http://www.recode.net/contact" />
<test url="http://www.recode.net/culture" />
<test url="http://www.recode.net/dell" />
<test url="http://www.recode.net/earnings" />
<test url="http://www.recode.net/education" />
<test url="http://www.recode.net/enterprise" />
<test url="http://www.recode.net/facebook" />
<test url="http://www.recode.net/fitness" />
<test url="http://www.recode.net/general" />
<test url="http://www.recode.net/google-news" />
<test url="http://www.recode.net/ibm" />
<test url="http://www.recode.net/ios" />
<test url="http://www.recode.net/ipad" />
<test url="http://www.recode.net/lg" />
<test url="http://www.recode.net/masthead" />
<test url="http://www.recode.net/media" />
<test url="http://www.recode.net/mergers-and-acquisitions" />
<test url="http://www.recode.net/microsoft" />
<test url="http://www.recode.net/mobile" />
<test url="http://www.recode.net/nbcu" />
<test url="http://www.recode.net/nest-labs" />
<test url="http://www.recode.net/netflix" />
<test url="http://www.recode.net/news" />
<test url="http://www.recode.net/nfl" />
<test url="http://www.recode.net/pandora" />
<test url="http://www.recode.net/pc" />
<test url="http://www.recode.net/podcasts" />
<test url="http://www.recode.net/policy" />
<test url="http://www.recode.net/politics" />
<test url="http://www.recode.net/product-news" />
<test url="http://www.recode.net/recode-decode-podcast-kara-swisher" />
<test url="http://www.recode.net/recode-media-podcast" />
<test url="http://www.recode.net/reviews" />
<test url="http://www.recode.net/robots" />
<test url="http://www.recode.net/roku" />
<test url="http://www.recode.net/samsung" />
<test url="http://www.recode.net/science" />
<test url="http://www.recode.net/security" />
<test url="http://www.recode.net/siri" />
<test url="http://www.recode.net/smartwatch" />
<test url="http://www.recode.net/social" />
<test url="http://www.recode.net/softbank" />
<test url="http://www.recode.net/software" />
<test url="http://www.recode.net/sports" />
<test url="http://www.recode.net/streaming" />
<test url="http://www.recode.net/style/1d4b45923b01ad105fd341e6de48b500/chorus.css" />
<test url="http://www.recode.net/t-mobile" />
<test url="http://www.recode.net/tv" />
<test url="http://www.recode.net/twitter" />
-->
<test url="http://www.recode.net/users/LaurenGoode" />
<!--
<test url="http://www.recode.net/vc" />
<test url="http://www.recode.net/verizon" />
<test url="http://www.recode.net/video" />
<test url="http://www.recode.net/vr" />
<test url="http://www.recode.net/web-video" />
<test url="http://www.recode.net/windows" />
<test url="http://www.recode.net/wireless" />
<test url="http://www.recode.net/yahoo" />
-->


<!-- Not secured by server:
-->
<!--securecookie host="^www\.recode\.net$" name="^_chorus_unison_testing_v4$" /-->

<securecookie host="^\." name="^(?:_gat?$|_gat_|aps-trtmnt$)" />


Expand Down
2 changes: 2 additions & 0 deletions src/chrome/content/rules/The-Verge.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Timeout:
<target host="status.theverge.com"/>
<target host="store.theverge.com"/>

<test url="http://www.theverge.com/2017/5/1/15222380/the-verge-https-default" />

<rule from="^http://mobile\.theverge\.com/" to="https://www.theverge.com/" />
<rule from="^http://status\.theverge\.com/" to="https://voxmedia.statuspage.io/" />
<rule from="^http:" to="https:" />
Expand Down
Loading