Moved "Highwire 2.0" out of the label and into a comment
This commit is contained in:
parent
7e73cc7b93
commit
b3cca1f60e
1 changed files with 4 additions and 2 deletions
|
@ -1,16 +1,18 @@
|
||||||
{
|
{
|
||||||
"translatorID":"8c1f42d5-02fa-437b-b2b2-73afc768eb07",
|
"translatorID":"8c1f42d5-02fa-437b-b2b2-73afc768eb07",
|
||||||
"translatorType":4,
|
"translatorType":4,
|
||||||
"label":"PNAS (HighWire 2.0)",
|
"label":"PNAS",
|
||||||
"creator":"Matt Burton",
|
"creator":"Matt Burton",
|
||||||
"target":"http://www\\.pnas\\.org/(content|search|cgi/collection/.+)",
|
"target":"http://www\\.pnas\\.org/(content|search|cgi/collection/.+)",
|
||||||
"minVersion":"1.0.0b4.r5",
|
"minVersion":"1.0.0b4.r5",
|
||||||
"maxVersion":"",
|
"maxVersion":"",
|
||||||
"priority":100,
|
"priority":100,
|
||||||
"inRepository":true,
|
"inRepository":true,
|
||||||
"lastUpdated":"2008-12-26 12:35:00"
|
"lastUpdated":"2008-12-27 01:25:00"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This translator is for HighWire 2.0
|
||||||
|
|
||||||
function detectWeb(doc, url) {
|
function detectWeb(doc, url) {
|
||||||
if (url.match("search") || url.match("content/by/section") || doc.title.match("Table of Contents") || doc.title.match("Early Edition") || url.match("cgi/collection/.+")) {
|
if (url.match("search") || url.match("content/by/section") || doc.title.match("Table of Contents") || doc.title.match("Early Edition") || url.match("cgi/collection/.+")) {
|
||||||
return "multiple";
|
return "multiple";
|
||||||
|
|
Loading…
Add table
Reference in a new issue