1
1
Bifurcation 0

Merge pull request #21 from dessant/patch-1

use https for google and archive.org
Cette révision appartient à :
arantius 2016-09-21 11:17:29 -04:00 révisé par GitHub
révision 7ac9151154

Voir le fichier

@ -150,14 +150,14 @@ var resurrect={
switch (mirror) {
case 'google':
gotoUrl='http://www.google.com/search?q=cache:'+encUrl;
gotoUrl='https://www.google.com/search?q=cache:'+encUrl;
break;
case 'googletext':
gotoUrl='http://www.google.com/search?strip=1&q=cache:'+encUrl;
gotoUrl='https://www.google.com/search?strip=1&q=cache:'+encUrl;
break;
case 'archive':
var dateStr = (new Date()).toISOString().replace(/-|T|:|\..*/g, '');
gotoUrl='http://wayback.archive.org/web/'+dateStr+'/'+rawUrl;
gotoUrl='https://wayback.archive.org/web/'+dateStr+'/'+rawUrl;
break;
case 'archiveis':
gotoUrl='https://archive.is/'+rawUrl;