diff --git a/src/userscript.ts b/src/userscript.ts index 8abd25c8..eb173d49 100644 --- a/src/userscript.ts +++ b/src/userscript.ts @@ -90335,7 +90335,7 @@ var $$IMU_EXPORT$$; // thanks to fireattack on discord: // https://www.suruga-ya.jp/pics_light/boxart_a/508922053_1.jpg?v=49a0a1c22aaae3834f5d // https://www.suruga-ya.jp/database/pics/game/508922053_1.jpg - return src.replace(/\/(?:database\/+)?pics(?:_(?:light|webp))\/+(?:boxart_[a-z]+|game)\/+([0-9]+(?:_[0-9]+)?)[a-z]*\.[a-z]+(?:\.[a-z]+)?(?:[?#].*)?$/, "/database/pics/game/$1.jpg"); + return src.replace(/\/(?:database\/+)?pics(?:_(?:light|webp))?\/+(?:boxart_[a-z]+|game)\/+([0-9]+(?:_[0-9]+)?)[a-z]*\.[a-z]+(?:\.[a-z]+)?(?:[?#].*)?$/, "/database/pics/game/$1.jpg"); } if (domain_nowww === "itsfun.com.tw") { diff --git a/userscript.user.js b/userscript.user.js index 713715ca..398a2b0a 100644 --- a/userscript.user.js +++ b/userscript.user.js @@ -81311,7 +81311,7 @@ var $$IMU_EXPORT$$; // thanks to fireattack on discord: // https://www.suruga-ya.jp/pics_light/boxart_a/508922053_1.jpg?v=49a0a1c22aaae3834f5d // https://www.suruga-ya.jp/database/pics/game/508922053_1.jpg - return src.replace(/\/(?:database\/+)?pics(?:_(?:light|webp))\/+(?:boxart_[a-z]+|game)\/+([0-9]+(?:_[0-9]+)?)[a-z]*\.[a-z]+(?:\.[a-z]+)?(?:[?#].*)?$/, "/database/pics/game/$1.jpg"); + return src.replace(/\/(?:database\/+)?pics(?:_(?:light|webp))?\/+(?:boxart_[a-z]+|game)\/+([0-9]+(?:_[0-9]+)?)[a-z]*\.[a-z]+(?:\.[a-z]+)?(?:[?#].*)?$/, "/database/pics/game/$1.jpg"); } if (domain_nowww === "itsfun.com.tw") { // https://www.itsfun.com.tw/images/ef/b2/==wZwpmL2kzMkNGMmhDZ2kjZjFGMyEDM09yX4YjMfhjNy8CZmRXbk9SbvNmLnNXboFnL4A3LvoDc0RHa.jpg