Parent
3b40dc41c2
révision
48efb4230b
2 fichiers modifiés avec 3 ajouts et 1 suppressions
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Chargement…
Référencer dans un nouveau ticket