diff --git a/background.js b/background.js index 36cc9c8..154e953 100644 --- a/background.js +++ b/background.js @@ -526,6 +526,7 @@ function resolveRedirect(url) const onBeforeRequest_rules = { path_base64: details => getRedirect(atob(details.url.substr(details.url.indexOf("aHR0c")))), path_s_encoded: details => encodedRedirect(details.url.substr(details.url.indexOf("/s/")+3)), + path_r_base64: details => getRedirect(atob(details.url.substr(details.url.indexOf("/r/")+3))), path_dl_base64: details => getRedirect(atob(details.url.substr(details.url.indexOf("/dl/")+4))), path_u_id_base64: details => { let data=details.url.substr(details.url.indexOf("/u/")+3) diff --git a/rules.json b/rules.json index 3b9de09..8ef5b52 100644 --- a/rules.json +++ b/rules.json @@ -6,6 +6,9 @@ "path_s_encoded": [ "*://*.gslink.co/e/*/s/*" ], + "path_r_base64": [ + "*://*.linkspy.cc/r/*" + ], "path_dl_base64": [ "*://*.k2nblog.com/dl/*", "*://*.filekita.me/page/dl/*"