Skip to content

Commit

Permalink
Support comicshoplocator (fixes #1385)
Browse files Browse the repository at this point in the history
  • Loading branch information
qsniyg committed Jan 22, 2025
1 parent da01e44 commit 9c5847f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Improvements:

* Various improvements/fixes to existing rules (including Flickr, Twitch)

Special thanks to arlenestrigger, fyhtma, BlindWanda, chr1sx, James Joint, musicianjam888, Velocidensity, Egor Popov for their contributions and reports for this release
Special thanks to arlenestrigger, fyhtma, BlindWanda, chr1sx, James Joint, musicianjam888, Velocidensity, Egor Popov, Froktime for their contributions and reports for this release

---

Expand Down
11 changes: 11 additions & 0 deletions src/userscript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118858,6 +118858,17 @@ var $$IMU_EXPORT$$;
}
}

if (domain_nowww === "comicshoplocator.com" ||
// https://www.previewsworld.com/SiteImage/CatalogThumbnail/STL321428
// https://www.previewsworld.com/SiteImage/MainImage/STL321428
domain_nowww === "previewsworld.com") {
// thanks to Froktime: https://github.com/qsniyg/maxurl/issues/1385
// https://www.comicshoplocator.com/SiteImage/CatalogThumbnail/STL321428
// https://www.comicshoplocator.com/SiteImage/MainImage/STL321428
// https://www.comicshoplocator.com/SiteImage/MainImage/STL321428.jpg
return src.replace(/(\/SiteImage\/+)CatalogThumbnail\/+/, "$1MainImage/");
}




Expand Down
10 changes: 10 additions & 0 deletions userscript.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -106817,6 +106817,16 @@ var $$IMU_EXPORT$$;
}
}
}
if (domain_nowww === "comicshoplocator.com" ||
// https://www.previewsworld.com/SiteImage/CatalogThumbnail/STL321428
// https://www.previewsworld.com/SiteImage/MainImage/STL321428
domain_nowww === "previewsworld.com") {
// thanks to Froktime: https://github.com/qsniyg/maxurl/issues/1385
// https://www.comicshoplocator.com/SiteImage/CatalogThumbnail/STL321428
// https://www.comicshoplocator.com/SiteImage/MainImage/STL321428
// https://www.comicshoplocator.com/SiteImage/MainImage/STL321428.jpg
return src.replace(/(\/SiteImage\/+)CatalogThumbnail\/+/, "$1MainImage/");
}
// -- general rules --
if (src.match(/\/ImageGen\.ashx\?/)) {
// http://www.lookalikes.info/umbraco/ImageGen.ashx?image=/media/97522/nick%20hewer%20-%20mark%20brown.jpeg&width=250&constrain=true
Expand Down

0 comments on commit 9c5847f

Please sign in to comment.