From 7a85c80f997a40b778a816b6228a2aefbc94ad19 Mon Sep 17 00:00:00 2001 From: qsniyg Date: Tue, 9 Jan 2024 22:05:01 +0000 Subject: [PATCH] Support asus store (fixes #1254) --- CHANGELOG.txt | 2 +- src/userscript.ts | 3 +++ userscript.user.js | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 906c5289..5d8ed341 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -14,7 +14,7 @@ Bugfixes: * Fix duplicate "Options" and "Request support for site" menu items for userscript (thanks to fireattack for reporting) * Prevent rare infinite loop with bad images -Special madman06, nimbuz, Broly, Tulsow, jonestly, fireattack, TristanWasTaken, pointy, oifj34f34f, Viper33, vscum for their contributions and reports for this release +Special madman06, nimbuz, Broly, Tulsow, jonestly, fireattack, TristanWasTaken, pointy, oifj34f34f, Viper33, vscum, karpuzikov for their contributions and reports for this release --- diff --git a/src/userscript.ts b/src/userscript.ts index bbe7926d..c6d87061 100644 --- a/src/userscript.ts +++ b/src/userscript.ts @@ -32305,6 +32305,9 @@ var $$IMU_EXPORT$$; // thanks to jonestly on discord: // https://us.coca-cola.com/store/media/catalog/product/c/o/coke_byte_gif_867_3_.png?quality=80&fit=bounds&height=750&width=700&canvas=700:750 domain_nosub === "coca-cola.com" || + // thanks to karpuzikov on github: https://github.com/qsniyg/maxurl/issues/1254 + // https://ua.store.asus.com/media/catalog/product/_/i/_inwybrkvetwu4tyg.png?width=439&height=439&store=rog_ua_UA&image-type=image + (domain_nosub === "asus.com" && /store\./.test(domain)) || // thanks to MinuteAd8502 on github: https://github.com/qsniyg/maxurl/issues/851 // https://doa.robinson.co.th/media/catalog/product/9/c/9cf533a8499a188af99ceef4979e9c52cbd545a0_mkp0009834dummy.jpg?impolicy=resize&width=553 // https://doa.robinson.co.th/media/catalog/product/9/c/9cf533a8499a188af99ceef4979e9c52cbd545a0_mkp0009834dummy.jpg diff --git a/userscript.user.js b/userscript.user.js index dba8b0b1..9de4abb3 100644 --- a/userscript.user.js +++ b/userscript.user.js @@ -29493,6 +29493,9 @@ var $$IMU_EXPORT$$; // thanks to jonestly on discord: // https://us.coca-cola.com/store/media/catalog/product/c/o/coke_byte_gif_867_3_.png?quality=80&fit=bounds&height=750&width=700&canvas=700:750 domain_nosub === "coca-cola.com" || + // thanks to karpuzikov on github: https://github.com/qsniyg/maxurl/issues/1254 + // https://ua.store.asus.com/media/catalog/product/_/i/_inwybrkvetwu4tyg.png?width=439&height=439&store=rog_ua_UA&image-type=image + (domain_nosub === "asus.com" && /store\./.test(domain)) || // thanks to MinuteAd8502 on github: https://github.com/qsniyg/maxurl/issues/851 // https://doa.robinson.co.th/media/catalog/product/9/c/9cf533a8499a188af99ceef4979e9c52cbd545a0_mkp0009834dummy.jpg?impolicy=resize&width=553 // https://doa.robinson.co.th/media/catalog/product/9/c/9cf533a8499a188af99ceef4979e9c52cbd545a0_mkp0009834dummy.jpg