noblereign / GX-Mods-Extension

A WebExtension for Firefox. Add ambient music, typing sounds, and more to your browsing experience.
MIT License
19 stars 1 forks source link

Web Modding support #3

Closed noblereign closed 3 weeks ago

noblereign commented 7 months ago

"Web mod" is just gamer speak for "Userstyle". With a compatible userstyle manager installed (e.g. Stylus), it might be possible to convert web mods into UserCSS.

this would require GXM to download the css files, change them to fit UserCSS format, and also inject accent color variables to ensure compatibility with all web mods (this also gives us the opportunity to add accent color as an option!)

automatic updates are theoretically possible but i'm sooo soooooo lazy 😭 unless i get one of those random motivation boosts it's not happening

noblereign commented 7 months ago

alternatively we could save the CSS and then just inject it with https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/scripting/insertCSS .... hmmmm....

noblereign commented 6 months ago

will probably try working on this next time i get a motivation boost

noblereign commented 3 weeks ago

let me cook... image