www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit ef71a2c77c72d461a5ad69f9d4cdaa8865fae9bb
parent 0ceb5ec9a9c23420afb57152325142ec754af304
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sun, 23 Jul 2017 00:44:56 -0400

Use HTTPS for Google Scholar in Retrieve Metadata for PDF

Diffstat:
Mchrome/content/zotero/recognizePDF.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/chrome/content/zotero/recognizePDF.js b/chrome/content/zotero/recognizePDF.js @@ -697,7 +697,7 @@ var Zotero_RecognizePDF = new function() { Zotero.debug("RecognizePDF: Query string " + queryString); - var url = "http://scholar.google.com/scholar?q="+encodeURIComponent(queryString)+"&hl=en&lr=&btnG=Search", + var url = "https://scholar.google.com/scholar?q="+encodeURIComponent(queryString)+"&hl=en&lr=&btnG=Search", delay = GOOGLE_SCHOLAR_QUERY_DELAY - (Date.now() - Zotero.HTTP.lastGoogleScholarQueryTime); // Delay @@ -897,7 +897,7 @@ var Zotero_RecognizePDF = new function() { formData.input[inputs[i].name] = inputs[i].value; } - formData.continue = "http://scholar.google.com"; + formData.continue = "https://scholar.google.com"; return formData; }