Skip to content

Commit

Permalink
More websites/rules
Browse files Browse the repository at this point in the history
  • Loading branch information
qsniyg committed Jun 30, 2024
1 parent cc9a4f5 commit 1e8099b
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 6 deletions.
22 changes: 19 additions & 3 deletions src/userscript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38674,10 +38674,14 @@ var $$IMU_EXPORT$$;
// https://cosmicbackground.io/cdn/shop/articles/hunt_banner.jpg?v=1661104358&width=100
// https://cosmicbackground.io/cdn/shop/articles/hunt_banner.jpg?v=1661104358
domain_nowww === "cosmicbackground.io" ||
// thanks to anonymous for reporting:
// https://spicetribe.com/cdn/shop/articles/20221104222541-ej39kij_360x.jpg?v=1679358983
// https://spicetribe.com/cdn/shop/articles/20221104222541-ej39kij.jpg?v=1679358983
//domain_nowww == "spicetribe.com" ||
// thanks to jonestly on discord:
// https://www.roguewavecoffee.ca/cdn/shop/products/zp6dark_532x532.png?v=1670808549
domain_nowww === "roguewavecoffee.ca") && /\/cdn\/+shop\//.test(src)) ||
/^[a-z]+:\/\/[^/]+\/+cdn\/+shop\/+(?:products|collections|files)\/+[^/.?#]+(?:\.progressive)?\.[a-zA-Z]+(?:[?#].*)?$/.test(src)) {
/^[a-z]+:\/\/[^/]+\/+cdn\/+shop\/+(?:products|collections|files|articles)\/+[^/.?#]+(?:\.progressive)?\.[a-zA-Z]+(?:[?#].*)?$/.test(src)) {
// https://cdn.shopify.com/s/files/1/0086/0969/3776/t/56/assets/product-highlight-color-hover.svg
if (/\/assets\/+product-highlight-color-hover\.svg(?:[?#].*)?$/.test(src)) {
return {
Expand Down Expand Up @@ -69684,7 +69688,11 @@ var $$IMU_EXPORT$$;
return decodeURIComponent(newsrc);
}

if (amazon_container === "photo.elcinema.com") {
if (amazon_container === "photo.elcinema.com" ||
// thanks to anonymous for reporting:
// https://media0047.elcinema.com/uploads/_320x_874fa3c0878af5277e18f43c647836a8c74ef634648d57bc8431b6eeb84667f3.jpg
// https://media0047.elcinema.com/uploads/874fa3c0878af5277e18f43c647836a8c74ef634648d57bc8431b6eeb84667f3.jpg
(domain_nosub === "elcinema.com" && /^media[0-9]*\./.test(domain))) {
// http://photo.elcinema.com.s3.amazonaws.com/uploads/_640x_aa64a53316b52d94e76da3981ad2e103d363612fbfb7210ca1c5a154c707d5b4.jpg
// http://photo.elcinema.com.s3.amazonaws.com/uploads/aa64a53316b52d94e76da3981ad2e103d363612fbfb7210ca1c5a154c707d5b4.jpg
// http://photo.elcinema.com.s3.amazonaws.com/uploads/_315x420_95603e1b0b0ed02d0f8151643ccff9d5b9a4333ef78d928cd6c8df0d2d8ed9bc.jpg
Expand Down Expand Up @@ -94880,7 +94888,15 @@ var $$IMU_EXPORT$$;
// https://www.yorkshirepost.co.uk/webimg/b25lY21zOjNmNTIzMTM5LWI0ZjEtNGI0ZS1hMzNiLTE2Mjk2ZGU0ZGM1MzowYWRhODI1MC1iZjUyLTQ0MWQtYjdlOC1hNjk0MzM5OTBkOWM=.jpg?quality=65&smart&width=640 -- 640x426
// https://www.yorkshirepost.co.uk/webimg/b25lY21zOjNmNTIzMTM5LWI0ZjEtNGI0ZS1hMzNiLTE2Mjk2ZGU0ZGM1MzowYWRhODI1MC1iZjUyLTQ0MWQtYjdlOC1hNjk0MzM5OTBkOWM=.jpg -- 2000x1333
// https://www.yorkshirepost.co.uk/jp-ct.co.uk/image/onecms:3f523139-b4f1-4b4e-a33b-16296de4dc53:0ada8250-bf52-441d-b7e8-a69433990d9c/image.jpg -- 3500x2386
domain_nowww === "yorkshirepost.co.uk") {
domain_nowww === "yorkshirepost.co.uk" ||
// thanks to anonymous for reporting:
// https://www.wigantoday.net/webimg/b25lY21zOmE0NmZiMWEzLTI0ZGEtNGIzOC05OWJjLTFlNGQ2NDdkOTIxODplZDkwZDE5My1lMmJlLTQ1NmEtYWE4NC1kZDY0ZjUwMmE4ODM=.jpg?crop=3:2,smart&trim=&width=640&quality=65
// https://www.wigantoday.net/jp-ct.co.uk/image/onecms:a46fb1a3-24da-4b38-99bc-1e4d647d9218:ed90d193-e2be-456a-aa84-dd64f502a883/image.jpg
domain_nowww === "wigantoday.net" ||
// thanks to anonymous for reporting:
// https://www.lep.co.uk/webimg/b25lY21zOjc3NjY4Yzc0LTZkNTEtNDA3YS1hNzRjLTg3YWQzZGI5OWJmNzoyZjBiZDhjYi04ZmExLTRhZjQtYTczMy02MDEzMWU0NDRiMmY=.jpg?crop=3:2,smart&trim=&width=640&quality=65
// https://www.lep.co.uk/jp-ct.co.uk/image/onecms:77668c74-6d51-407a-a74c-87ad3db99bf7:2f0bd8cb-8fa1-4af4-a733-60131e444b2f/image.jpg
domain_nowww === "lep.co.uk") {
// https://www.scotsman.com/jp-ct.co.uk/image/onecms:cb3ec9d1-b8cb-4ceb-9d41-3a01cacb749b:164d1d35-044a-44a9-a1be-2e631c213050/image.jpg
// https://jp-ct.co.uk/image/onecms:cb3ec9d1-b8cb-4ceb-9d41-3a01cacb749b:164d1d35-044a-44a9-a1be-2e631c213050/image.jpg
// https://www.edinburghnews.scotsman.com/jp-ct.co.uk/image/onecms:52e335b9-ba0e-452f-bdb0-0d07d4e59215:677812b7-9d2a-47c2-975e-aeeaf6df63ab/image.jpg
Expand Down
22 changes: 19 additions & 3 deletions userscript.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -35377,10 +35377,14 @@ var $$IMU_EXPORT$$;
// https://cosmicbackground.io/cdn/shop/articles/hunt_banner.jpg?v=1661104358&width=100
// https://cosmicbackground.io/cdn/shop/articles/hunt_banner.jpg?v=1661104358
domain_nowww === "cosmicbackground.io" ||
// thanks to anonymous for reporting:
// https://spicetribe.com/cdn/shop/articles/20221104222541-ej39kij_360x.jpg?v=1679358983
// https://spicetribe.com/cdn/shop/articles/20221104222541-ej39kij.jpg?v=1679358983
//domain_nowww == "spicetribe.com" ||
// thanks to jonestly on discord:
// https://www.roguewavecoffee.ca/cdn/shop/products/zp6dark_532x532.png?v=1670808549
domain_nowww === "roguewavecoffee.ca") && /\/cdn\/+shop\//.test(src)) ||
/^[a-z]+:\/\/[^/]+\/+cdn\/+shop\/+(?:products|collections|files)\/+[^/.?#]+(?:\.progressive)?\.[a-zA-Z]+(?:[?#].*)?$/.test(src)) {
/^[a-z]+:\/\/[^/]+\/+cdn\/+shop\/+(?:products|collections|files|articles)\/+[^/.?#]+(?:\.progressive)?\.[a-zA-Z]+(?:[?#].*)?$/.test(src)) {
// https://cdn.shopify.com/s/files/1/0086/0969/3776/t/56/assets/product-highlight-color-hover.svg
if (/\/assets\/+product-highlight-color-hover\.svg(?:[?#].*)?$/.test(src)) {
return {
Expand Down Expand Up @@ -63169,7 +63173,11 @@ var $$IMU_EXPORT$$;
if (newsrc !== src)
return decodeURIComponent(newsrc);
}
if (amazon_container === "photo.elcinema.com") {
if (amazon_container === "photo.elcinema.com" ||
// thanks to anonymous for reporting:
// https://media0047.elcinema.com/uploads/_320x_874fa3c0878af5277e18f43c647836a8c74ef634648d57bc8431b6eeb84667f3.jpg
// https://media0047.elcinema.com/uploads/874fa3c0878af5277e18f43c647836a8c74ef634648d57bc8431b6eeb84667f3.jpg
(domain_nosub === "elcinema.com" && /^media[0-9]*\./.test(domain))) {
// http://photo.elcinema.com.s3.amazonaws.com/uploads/_640x_aa64a53316b52d94e76da3981ad2e103d363612fbfb7210ca1c5a154c707d5b4.jpg
// http://photo.elcinema.com.s3.amazonaws.com/uploads/aa64a53316b52d94e76da3981ad2e103d363612fbfb7210ca1c5a154c707d5b4.jpg
// http://photo.elcinema.com.s3.amazonaws.com/uploads/_315x420_95603e1b0b0ed02d0f8151643ccff9d5b9a4333ef78d928cd6c8df0d2d8ed9bc.jpg
Expand Down Expand Up @@ -85301,7 +85309,15 @@ var $$IMU_EXPORT$$;
// https://www.yorkshirepost.co.uk/webimg/b25lY21zOjNmNTIzMTM5LWI0ZjEtNGI0ZS1hMzNiLTE2Mjk2ZGU0ZGM1MzowYWRhODI1MC1iZjUyLTQ0MWQtYjdlOC1hNjk0MzM5OTBkOWM=.jpg?quality=65&smart&width=640 -- 640x426
// https://www.yorkshirepost.co.uk/webimg/b25lY21zOjNmNTIzMTM5LWI0ZjEtNGI0ZS1hMzNiLTE2Mjk2ZGU0ZGM1MzowYWRhODI1MC1iZjUyLTQ0MWQtYjdlOC1hNjk0MzM5OTBkOWM=.jpg -- 2000x1333
// https://www.yorkshirepost.co.uk/jp-ct.co.uk/image/onecms:3f523139-b4f1-4b4e-a33b-16296de4dc53:0ada8250-bf52-441d-b7e8-a69433990d9c/image.jpg -- 3500x2386
domain_nowww === "yorkshirepost.co.uk") {
domain_nowww === "yorkshirepost.co.uk" ||
// thanks to anonymous for reporting:
// https://www.wigantoday.net/webimg/b25lY21zOmE0NmZiMWEzLTI0ZGEtNGIzOC05OWJjLTFlNGQ2NDdkOTIxODplZDkwZDE5My1lMmJlLTQ1NmEtYWE4NC1kZDY0ZjUwMmE4ODM=.jpg?crop=3:2,smart&trim=&width=640&quality=65
// https://www.wigantoday.net/jp-ct.co.uk/image/onecms:a46fb1a3-24da-4b38-99bc-1e4d647d9218:ed90d193-e2be-456a-aa84-dd64f502a883/image.jpg
domain_nowww === "wigantoday.net" ||
// thanks to anonymous for reporting:
// https://www.lep.co.uk/webimg/b25lY21zOjc3NjY4Yzc0LTZkNTEtNDA3YS1hNzRjLTg3YWQzZGI5OWJmNzoyZjBiZDhjYi04ZmExLTRhZjQtYTczMy02MDEzMWU0NDRiMmY=.jpg?crop=3:2,smart&trim=&width=640&quality=65
// https://www.lep.co.uk/jp-ct.co.uk/image/onecms:77668c74-6d51-407a-a74c-87ad3db99bf7:2f0bd8cb-8fa1-4af4-a733-60131e444b2f/image.jpg
domain_nowww === "lep.co.uk") {
// https://www.scotsman.com/jp-ct.co.uk/image/onecms:cb3ec9d1-b8cb-4ceb-9d41-3a01cacb749b:164d1d35-044a-44a9-a1be-2e631c213050/image.jpg
// https://jp-ct.co.uk/image/onecms:cb3ec9d1-b8cb-4ceb-9d41-3a01cacb749b:164d1d35-044a-44a9-a1be-2e631c213050/image.jpg
// https://www.edinburghnews.scotsman.com/jp-ct.co.uk/image/onecms:52e335b9-ba0e-452f-bdb0-0d07d4e59215:677812b7-9d2a-47c2-975e-aeeaf6df63ab/image.jpg
Expand Down

0 comments on commit 1e8099b

Please sign in to comment.