Striped protocol from isup.me (#5)

Striped protocol from isup.me (#5)
This commit is contained in:
Albirew 2015-08-24 18:41:19 +02:00
parent 3b40dc41c2
commit 48efb4230b
2 changed files with 3 additions and 1 deletions

View file

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

View file

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