Skip to content

Commit

Permalink
More websites/rules
Browse files Browse the repository at this point in the history
  • Loading branch information
qsniyg committed Jan 22, 2025
1 parent e2e87fa commit 0e3e133
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
13 changes: 11 additions & 2 deletions src/userscript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30249,6 +30249,10 @@ var $$IMU_EXPORT$$;
// https://rvb-img.reverb.com/image/upload/s--9aSZevpV--/a_exif,c_limit,e_unsharp_mask:80,f_auto,fl_progressive,g_south,h_620,q_90,w_620/v1489766866/oditmsrdg3qrtlduhxnc.jpg
// https://rvb-img.reverb.com/image/upload/s--9aSZevpV--/oditmsrdg3qrtlduhxnc.jpg
domain === "rvb-img.reverb.com" ||
// thanks to anonymous for reporting:
// https://asset.swarovski.com/images/c_crop,g_xy_center,w_2826,h_2826,x_1413,y_1635/dpr_1.0,f_auto,q_auto,c_lfill,w_960,h_960/swa-cms/2025_T1_BRAND_ANNOUNCEMENT_KV1_ARIANA-GRANDE_200dpi/.jpg
// https://asset.swarovski.com/images/swa-cms/2025_T1_BRAND_ANNOUNCEMENT_KV1_ARIANA-GRANDE_200dpi/.jpg
domain === "asset.swarovski.com" ||
// thanks to karpuzikov on github: https://github.com/qsniyg/maxurl/issues/1066
// https://resource.logitechg.com/w_677,ar_1:1,c_limit,b_rgb:2f3132,q_auto,f_auto,dpr_auto/d_transparent.gif/content/dam/gaming/en/homepage/product-swatch-carousel/home-product-swatch-4.png?v=1
// https://resource.logitechg.com/content/dam/gaming/en/homepage/product-swatch-carousel/home-product-swatch-4.png?v=1
Expand Down Expand Up @@ -58348,10 +58352,15 @@ var $$IMU_EXPORT$$;
}
}

if (domain_nowww === "natedsanders.com" && string_indexof(src, "/ItemImages/") >= 0) {
if ((domain_nowww === "natedsanders.com" ||
// thanks to anonymous for reporting:
// https://auctions.morphyauctions.com/ItemImages/000481/20035161_4_sm.jpeg -- 1698x1000
// https://auctions.morphyauctions.com/ItemImages/000481/20035161_4_med.jpeg -- 1019x600
// https://auctions.morphyauctions.com/ItemImages/000481/20035161_4_lg.jpeg -- 3600x2119
domain === "auctions.morphyauctions.com") && string_indexof(src, "/ItemImages/") >= 0) {
// https://natedsanders.com/ItemImages/000008/8339a_med.jpeg -- 600x163
// https://natedsanders.com/ItemImages/000008/8339a_lg.jpeg -- 4500x1224
return src.replace(/(\/[0-9a-z]+)_[a-z]+(\.[^/.]*)$/, "$1_lg$2");
return src.replace(/(\/[0-9a-z]+(?:_[0-9]+)?)_(?:sm|med)(\.[^/.]*)$/, "$1_lg$2");
}

if (domain === "d1x0dndjbjw02n.cloudfront.net" ||
Expand Down
13 changes: 11 additions & 2 deletions userscript.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -27655,6 +27655,10 @@ var $$IMU_EXPORT$$;
// https://rvb-img.reverb.com/image/upload/s--9aSZevpV--/a_exif,c_limit,e_unsharp_mask:80,f_auto,fl_progressive,g_south,h_620,q_90,w_620/v1489766866/oditmsrdg3qrtlduhxnc.jpg
// https://rvb-img.reverb.com/image/upload/s--9aSZevpV--/oditmsrdg3qrtlduhxnc.jpg
domain === "rvb-img.reverb.com" ||
// thanks to anonymous for reporting:
// https://asset.swarovski.com/images/c_crop,g_xy_center,w_2826,h_2826,x_1413,y_1635/dpr_1.0,f_auto,q_auto,c_lfill,w_960,h_960/swa-cms/2025_T1_BRAND_ANNOUNCEMENT_KV1_ARIANA-GRANDE_200dpi/.jpg
// https://asset.swarovski.com/images/swa-cms/2025_T1_BRAND_ANNOUNCEMENT_KV1_ARIANA-GRANDE_200dpi/.jpg
domain === "asset.swarovski.com" ||
// thanks to karpuzikov on github: https://github.com/qsniyg/maxurl/issues/1066
// https://resource.logitechg.com/w_677,ar_1:1,c_limit,b_rgb:2f3132,q_auto,f_auto,dpr_auto/d_transparent.gif/content/dam/gaming/en/homepage/product-swatch-carousel/home-product-swatch-4.png?v=1
// https://resource.logitechg.com/content/dam/gaming/en/homepage/product-swatch-carousel/home-product-swatch-4.png?v=1
Expand Down Expand Up @@ -53157,10 +53161,15 @@ var $$IMU_EXPORT$$;
};
}
}
if (domain_nowww === "natedsanders.com" && string_indexof(src, "/ItemImages/") >= 0) {
if ((domain_nowww === "natedsanders.com" ||
// thanks to anonymous for reporting:
// https://auctions.morphyauctions.com/ItemImages/000481/20035161_4_sm.jpeg -- 1698x1000
// https://auctions.morphyauctions.com/ItemImages/000481/20035161_4_med.jpeg -- 1019x600
// https://auctions.morphyauctions.com/ItemImages/000481/20035161_4_lg.jpeg -- 3600x2119
domain === "auctions.morphyauctions.com") && string_indexof(src, "/ItemImages/") >= 0) {
// https://natedsanders.com/ItemImages/000008/8339a_med.jpeg -- 600x163
// https://natedsanders.com/ItemImages/000008/8339a_lg.jpeg -- 4500x1224
return src.replace(/(\/[0-9a-z]+)_[a-z]+(\.[^/.]*)$/, "$1_lg$2");
return src.replace(/(\/[0-9a-z]+(?:_[0-9]+)?)_(?:sm|med)(\.[^/.]*)$/, "$1_lg$2");
}
if (domain === "d1x0dndjbjw02n.cloudfront.net" ||
// https://s3-ap-northeast-1.amazonaws.com/static.lovely-media.jp/production/posts/eyecatches/000/006/246/medium.JPG?1516345778
Expand Down

0 comments on commit 0e3e133

Please sign in to comment.