mirror of
https://gitlab.com/KevinRoebert/ClearUrls
synced 2025-12-16 14:15:36 +07:00
@@ -287,6 +287,11 @@ function decodeURL(url) {
|
|||||||
rtn = decodeURIComponent(rtn);
|
rtn = decodeURIComponent(rtn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Required (e.g., to fix https://github.com/ClearURLs/Addon/issues/71)
|
||||||
|
if(rtn.substr(0, 4) !== 'http') {
|
||||||
|
rtn = 'http://'+rtn
|
||||||
|
}
|
||||||
|
|
||||||
return rtn;
|
return rtn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user