mirror of
https://github.com/zotero/zotero.git
synced 2026-10-08 03:08:19 +00:00
- don't try to scrape JSTOR article information pages
- get rid of some console errors
This commit is contained in:
parent
46607d0f90
commit
801a6c5dd2
2 changed files with 4 additions and 3 deletions
|
|
@ -303,6 +303,7 @@ Zotero_Ingester_Interface.showPopup = function(collectionID, parentElement) {
|
|||
* from Zotero.Translate.getTranslator()
|
||||
*/
|
||||
Zotero_Ingester_Interface._getData = function(browser) {
|
||||
if(!browser) return false;
|
||||
try {
|
||||
var key = browser.getAttribute("zotero-key");
|
||||
if(Zotero_Ingester_Interface.browserData[key]) {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
-- 140
|
||||
-- 141
|
||||
|
||||
-- ***** BEGIN LICENSE BLOCK *****
|
||||
--
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
|
||||
-- Set the following timestamp to the most recent scraper update date
|
||||
REPLACE INTO "version" VALUES ('repository', STRFTIME('%s', '2006-12-17 07:22:00'));
|
||||
REPLACE INTO "version" VALUES ('repository', STRFTIME('%s', '2006-12-17 07:31:00'));
|
||||
|
||||
REPLACE INTO translators VALUES ('96b9f483-c44d-5784-cdad-ce21b984fe01', '1.0.0b3.r1', '', '2006-12-15 03:40:00', 1, 100, 4, 'Amazon.com', 'Sean Takats', '^https?://(?:www\.)?amazon',
|
||||
'function detectWeb(doc, url) {
|
||||
|
|
@ -555,7 +555,7 @@ REPLACE INTO translators VALUES ('88915634-1af6-c134-0171-56fd198235ed', '1.0.0b
|
|||
Zotero.wait();
|
||||
}');
|
||||
|
||||
REPLACE INTO translators VALUES ('d921155f-0186-1684-615c-ca57682ced9b', '1.0.0b3.r1', '', '2006-12-17 07:22:00', 1, 100, 4, 'JSTOR', 'Simon Kornblith', '^https?://www\.jstor\.org/(?:view|browse|search/|cgi-bin/jstor/viewitem)',
|
||||
REPLACE INTO translators VALUES ('d921155f-0186-1684-615c-ca57682ced9b', '1.0.0b3.r1', '', '2006-12-17 07:31:00', 1, 100, 4, 'JSTOR', 'Simon Kornblith', '^https?://www\.jstor\.org/(?:view|browse/[^/]+/[^/]+\?|search/|cgi-bin/jstor/viewitem)',
|
||||
'function detectWeb(doc, url) {
|
||||
var namespace = doc.documentElement.namespaceURI;
|
||||
var nsResolver = namespace ? function(prefix) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue