Open SpaceEnergy opened 1 month ago
Still trying to figure out a way to do this. Unfortunetly, with the way CSS & JS is hooked, it doesn't provide any information about the url the CSS/JS is being requested from.
I may have come up with a solution, but it might not be good. Ill branch it and let you test it. Once its done give me your honest opinion on it
DM me on discord, I'll send you the release.
I can't remember what happened with this issue. Does it work for you? Because it was added a few updates ago.
still doesn't work for me
what was the config you used?
"VAC-Ban visibility": {
"description": "Hide the VAC ban from your profile or on all profiles (currently not working)",
"default": "Show",
"tab": "Steam bloat",
"values": {
"Show": {},
"For me": {
"TargetCss": { "affects": ["https://steamcommunity.com"], "src": "options/steamBloat/vacBan/me.css" }
},
"For all": {
"TargetCss": { "affects": ["https://steamcommunity.com"], "src": "options/steamBloat/vacBan/all.css" }
}
}
},
or
"Wishlist grid": {
"description": "Changes the view of the wishlist from a list to a grid",
"default": "yes",
"tab": "Experimental",
"values": {
"no": {},
"yes": {
"TargetCss": { "affects": ["https://.*.steampowered.com"], "src": "options/experimental/wishlistGrid.css" },
"TargetJs": { "affects": ["https://.*.steampowered.com"], "src": "options/experimental/wishlistGrid.js" }
}
}
}
Hmm, try putting a url regex match under Patches
and see if it works there
is that what you mean?:
{
"MatchRegexString": "https://.*.steampowered.com",
"TargetCss": "webkit.css"
}
whereby
"VAC-Ban visibility": {
"description": "Hide the VAC ban from your profile or on all profiles (currently not working)",
"default": "Show",
"tab": "Steam bloat",
"values": {
"Show": {},
"For me": {
"TargetCss": { "affects": ["https://steamcommunity.com"], "src": "options/steamBloat/vacBan/me.css" }
},
"For all": {
"TargetCss": { "affects": ["https://steamcommunity.com"], "src": "options/steamBloat/vacBan/all.css" }
}
}
}
will be patched but
"Wishlist grid": {
"description": "Changes the view of the wishlist from a list to a grid",
"default": "yes",
"tab": "Experimental",
"values": {
"no": {},
"yes": {
"TargetCss": { "affects": ["https://store.steampowered.com"], "src": "options/experimental/wishlistGrid.css" },
"TargetJs": { "affects": ["https://store.steampowered.com"], "src": "options/experimental/wishlistGrid.js" }
}
}
}
not
Before Reporting
Describe the Bug
It is not possible to patch webkit itself with own url's (only default patching) that means if I want to patch e.g. the store page with an option it does not work
Expected Behavior
normal patching, i.e. CSS and JS are also patched on the specified page
Steps To Reproduce
Operating System
Windows
Anything else?
No response