1
1
Bifurcation 0

Striped protocol from isup.me (#5)

Striped protocol from isup.me (#5)
Cette révision appartient à :
Albirew 2015-08-24 18:41:19 +02:00
Parent 3b40dc41c2
révision 48efb4230b
2 fichiers modifiés avec 3 ajouts et 1 suppressions

Voir le fichier

@ -39,6 +39,7 @@ Hit back and try another one!
* Version 2.1.3 * Version 2.1.3
* Changed MSN for Bing on readme file (#6) * Changed MSN for Bing on readme file (#6)
* Striped protocol from isup.me (#5)
* Version 2.1.2 (august 12, 2015) * Version 2.1.2 (august 12, 2015)
* Updated maxversion to Firefox 43 * Updated maxversion to Firefox 43
* Added archive.is provider * Added archive.is provider

Voir le fichier

@ -152,6 +152,7 @@ var resurrect={
selectMirror:function(mirror, ownerDoc, contentDoc, rawUrl) { selectMirror:function(mirror, ownerDoc, contentDoc, rawUrl) {
var gotoUrl=null; var gotoUrl=null;
var encUrl=encodeURIComponent(rawUrl); var encUrl=encodeURIComponent(rawUrl);
var stripUrl=rawUrl.replace(/.*?:\/\//g, "");
switch (mirror) { switch (mirror) {
case 'google': case 'google':
@ -212,7 +213,7 @@ var resurrect={
gotoUrl='https://archive.is/'+rawUrl; gotoUrl='https://archive.is/'+rawUrl;
break; break;
case 'isup': case 'isup':
gotoUrl='http://isup.me/'+rawUrl; gotoUrl='http://isup.me/'+stripUrl;
break; break;
default: default:
return false; return false;