diff --git a/src/userscript.ts b/src/userscript.ts index 37d92e2e..0282fbc9 100644 --- a/src/userscript.ts +++ b/src/userscript.ts @@ -94611,6 +94611,8 @@ var $$IMU_EXPORT$$; newsrc = src.replace(/(\/img\/+(?:square\/+)?)(?:[0-9]{3}|1[0-8][0-9]{2})\//, "$11920/"); if (newsrc === src) { newsrc = src.replace(/(\.[a-z]+)\.webp(?:[?#].*)?$/, "$1"); + if (newsrc !== src) + return newsrc; } if (newsrc !== src) { return { diff --git a/userscript.user.js b/userscript.user.js index 11049a05..86e6aff2 100644 --- a/userscript.user.js +++ b/userscript.user.js @@ -85184,6 +85184,8 @@ var $$IMU_EXPORT$$; newsrc = src.replace(/(\/img\/+(?:square\/+)?)(?:[0-9]{3}|1[0-8][0-9]{2})\//, "$11920/"); if (newsrc === src) { newsrc = src.replace(/(\.[a-z]+)\.webp(?:[?#].*)?$/, "$1"); + if (newsrc !== src) + return newsrc; } if (newsrc !== src) { return {