Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

[Nature.com] Remove wildcard and update subdomains #9628

Merged
merged 14 commits into from
May 22, 2017
152 changes: 152 additions & 0 deletions src/chrome/content/rules/Nature.com.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
<!--
Time out:
nature.com
bts-wp.nature.com
darwin.nature.com
stingray.nature.com

Refused:
api.nature.com
blogs.nature.com
www.blogs.nature.com
biotech.nature.com
cellbio.nature.com
data.nature.com
demo.nature.com
deutsche.nature.com
eagleray.nature.com
bounce.ealert.nature.com
open.ealert.nature.com
reply.ealert.nature.com
external.nature.com
genetics.nature.com
guide.nature.com
www.guide.nature.com
immunology.nature.com
www.immunology.nature.com
mailart.nature.com
materials.nature.com
medecine.nature.com
www.medecine.nature.com
medicalresearch.nature.com
my.nature.com
naturejobs.nature.com
network.nature.com
neurosci.nature.com
npg.nature.com
ns.nature.com
palgrave.nature.com
physics.nature.com
platformsupport.nature.com
precedings.nature.com
preceedings.nature.com
press.nature.com
proceedings.nature.com
protocols.nature.com
reports.nature.com
search.nature.com
split.nature.com
structbio.nature.com
support.nature.com
xml.nature.com
xps.nature.com
Copy link
Contributor

Choose a reason for hiding this comment

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

my.nature.com

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Given the message over http:

my.nature.com has been discontinued

Following a beta pilot, my.nature.com discontinued service on April 14th, 2014.

We apologize for any inconvenience caused.

is it really necessary to include it?

Copy link
Contributor

Choose a reason for hiding this comment

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

IMHO: Since this host is still up there is no excuse to not support https.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Looks like they noticed something was up and the subdomain is now unreachable even over http.


Invalid certificate:
bugzilla.nature.com
links.ealert.nature.com
info.nature.com
lindau.nature.com
www.lindau.nature.com
track.nature.com

Secure connection failed:
fastart.nature.com
feeds.nature.com
media.nature.com
static.nature.com

No working URL known:
id.nature.com
idp.nature.com
memphis.nature.com

Redirect to http:
mts-*.nature.com

-->
<ruleset name="Nature.com">

<target host="nature.com" />
<target host="www.nature.com" />
<target host="arabicedition.nature.com" />
<target host="biopharmadealmakers.nature.com" />
<target host="biotech.nature.com" />
<target host="cellbio.nature.com" />
<target host="deutsche.nature.com" />
<target host="ealerts.nature.com" />
<target host="genetics.nature.com" />
<target host="guide.nature.com" />
<target host="www.guide.nature.com" />
<target host="immunology.nature.com" />
<target host="www.immunology.nature.com" />
<target host="languageediting.nature.com" />
<target host="identity.languageediting.nature.com" />
<target host="secure.languageediting.nature.com" />
<target host="masterclasses.nature.com" />
<target host="materials.nature.com" />
<target host="medicine.nature.com" />
<target host="www.medicine.nature.com" />
<target host="medicalresearch.nature.com" />
<target host="nano.nature.com" />
<target host="natureecoevocommunity.nature.com" />
<target host="naturejobs.nature.com" />
<target host="www.naturejobs.nature.com" />
<target host="naturemicrobiologycommunity.nature.com" />
<target host="nbmecommunity.nature.com" />
<target host="neuroalzheimerscommunity.nature.com" />
<target host="neurosci.nature.com" />
<target host="npjbiofilmscommunity.nature.com" />
<target host="npjmicrogravitycommunity.nature.com" />
<target host="npjscilearncommunity.nature.com" />
<target host="physics.nature.com" />
<target host="protocols.nature.com" />
<target host="qscience.nature.com" />
<target host="secure.nature.com" />
<target host="snappleweb.nature.com" />
<target host="status.nature.com" />
<target host="submission.nature.com" />
<target host="submit.nature.com" />
<target host="structbio.nature.com" />
<target host="verify.nature.com" /><!-- tracking pixel -->
<test url="http://verify.nature.com/verify/nature.png" />

<securecookie host="^secure\.nature\.com$" name=".*" />

<rule from="^http://(deutsche\.)?nature\.com/"
to="https://www.nature.com/" />

<rule from="^http://(biotech|genetics|materials|medicalresearch|neurosci|physics)\.nature\.com/"
to="https://www.nature.com/$1//index.html" />

<rule from="^http://(cellbio|structbio)\.nature\.com/"
to="https://www.nature.com/molcellbio//index.html" />

<rule from="^http://(www\.)?guide\.nature\.com/"
to="https://www.nature.com/nbt/index.html" />

<rule from="^http://(www\.)?immunology\.nature\.com/"
to="https://www.nature.com/subjects/immunology" />

<rule from="^http://(www\.)?medicine\.nature\.com/"
to="https://www.nature.com/medicalresearch//index.html" />

<rule from="^http://(www\.)?naturejobs\.nature\.com/"
to="https://www.nature.com/naturejobs/science/" />

<rule from="^http://protocols\.nature\.com/"
to="https://www.nature.com/protocolexchange/" />

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

</ruleset>
29 changes: 0 additions & 29 deletions src/chrome/content/rules/Nature.xml

This file was deleted.