Skip to content

Commit

Permalink
More websites/rules
Browse files Browse the repository at this point in the history
  • Loading branch information
qsniyg committed Dec 9, 2024
1 parent e158a2c commit 868af3d
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 2 deletions.
27 changes: 26 additions & 1 deletion src/userscript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34331,6 +34331,9 @@ var $$IMU_EXPORT$$;
// thanks to anonymous for reporting:
// https://media-assets.grailed.com/prd/listing/temp/566bb1a355784bfba56883862d980d4a?w=123&h=164&fit=crop&auto=format
domain === "media-assets.grailed.com" ||
// thanks to anonymous for reporting:
// https://hexbear.net/pictrs/image/c501cc95-0e88-4b1e-a72b-de8a19a87adf.png?format=webp&thumbnail=256
(domain_nowww === "hexbear.net" && /\/pictrs\/+image\//.test(src)) ||
// thanks to MinuteAd8502 on github: https://github.com/qsniyg/maxurl/issues/874
// https://img01.ztat.net/article/spp-media-p1/369ffb094cae4443bee45519929dddb8/4269d8d79cfe418888fdc155bf1a8e2e.jpg?imwidth=762
// https://img01.ztat.net/article/spp-media-p1/369ffb094cae4443bee45519929dddb8/4269d8d79cfe418888fdc155bf1a8e2e.jpg -- 1801x2600
Expand Down Expand Up @@ -105717,7 +105720,29 @@ var $$IMU_EXPORT$$;
return src.replace(/(\/_matrix\/+media\/+(?:r[0-9]+|v3)\/+)thumbnail\/+([^/]+\/+[-_a-zA-Z0-9]+)\?.*$/, "$1download/$2");
}

if (domain_nowww === "pornssd.com") {
if (domain_nowww === "liztube.com" ||
// thanks to anonymous for reporting:
domain_nowww === "xpaja.net" ||
domain_nowww === "lechetube.com" ||
domain_nowww === "darkero.com" ||
domain_nowww === "xleche.com") {
newsrc = website_query({
website_regex: /^[a-z]+:\/\/[^/]+\/+([-0-9a-zA-Z]+)\/*(?:[?#].*)?$/,
query_for_id: "https://" + domain + "/${id}/",
process: function(done, resp, cache_key) {
var obj = common_functions["get_videotag_obj"](resp);
done(obj, obj ? 60*60 : false);
}
});
if (newsrc) return newsrc;
}

if (domain_nowww === "pornssd.com" ||
// thanks to anonymous for reporting:
domain_nowww === "baddielatina.com" ||
domain_nowww === "baddieass.com" ||
domain_nowww === "baddieslut.com" ||
domain_nowww === "baddietube.com") {
newsrc = website_query({
website_regex: /\/wp-content\/+plugins\/+clean-tube-player\/+public\/+player-x\.php\?q=([^&]{50,})/,
run: function(cb, match) {
Expand Down
27 changes: 26 additions & 1 deletion userscript.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -31444,6 +31444,9 @@ var $$IMU_EXPORT$$;
// thanks to anonymous for reporting:
// https://media-assets.grailed.com/prd/listing/temp/566bb1a355784bfba56883862d980d4a?w=123&h=164&fit=crop&auto=format
domain === "media-assets.grailed.com" ||
// thanks to anonymous for reporting:
// https://hexbear.net/pictrs/image/c501cc95-0e88-4b1e-a72b-de8a19a87adf.png?format=webp&thumbnail=256
(domain_nowww === "hexbear.net" && /\/pictrs\/+image\//.test(src)) ||
// thanks to MinuteAd8502 on github: https://github.com/qsniyg/maxurl/issues/874
// https://img01.ztat.net/article/spp-media-p1/369ffb094cae4443bee45519929dddb8/4269d8d79cfe418888fdc155bf1a8e2e.jpg?imwidth=762
// https://img01.ztat.net/article/spp-media-p1/369ffb094cae4443bee45519929dddb8/4269d8d79cfe418888fdc155bf1a8e2e.jpg -- 1801x2600
Expand Down Expand Up @@ -94999,7 +95002,29 @@ var $$IMU_EXPORT$$;
// https://matrix-client.matrix.org/_matrix/media/v3/download/matrix.org/cuiuRlBNwdRvVArdiJxgHRgY
return src.replace(/(\/_matrix\/+media\/+(?:r[0-9]+|v3)\/+)thumbnail\/+([^/]+\/+[-_a-zA-Z0-9]+)\?.*$/, "$1download/$2");
}
if (domain_nowww === "pornssd.com") {
if (domain_nowww === "liztube.com" ||
// thanks to anonymous for reporting:
domain_nowww === "xpaja.net" ||
domain_nowww === "lechetube.com" ||
domain_nowww === "darkero.com" ||
domain_nowww === "xleche.com") {
newsrc = website_query({
website_regex: /^[a-z]+:\/\/[^/]+\/+([-0-9a-zA-Z]+)\/*(?:[?#].*)?$/,
query_for_id: "https://" + domain + "/${id}/",
process: function(done, resp, cache_key) {
var obj = common_functions["get_videotag_obj"](resp);
done(obj, obj ? 60 * 60 : false);
}
});
if (newsrc)
return newsrc;
}
if (domain_nowww === "pornssd.com" ||
// thanks to anonymous for reporting:
domain_nowww === "baddielatina.com" ||
domain_nowww === "baddieass.com" ||
domain_nowww === "baddieslut.com" ||
domain_nowww === "baddietube.com") {
newsrc = website_query({
website_regex: /\/wp-content\/+plugins\/+clean-tube-player\/+public\/+player-x\.php\?q=([^&]{50,})/,
run: function(cb, match) {
Expand Down

0 comments on commit 868af3d

Please sign in to comment.