Preserve Custom Modifications Across Upgrades



  • Currently if a user has a custom mod for the browser ui they have to do some sort of hacky installation by modifying the browser.html file. This is lost when the browser is upgraded to a new version. It would be nice if there was some way to store custom styles in a setting that is persistent when the browser is upgraded.



  • A possible solution might be to enter a directory in V settings where user customizations are loaded automatically (custom.js / custom.css).

    This would also remove the need to modify browser.html


  • Moderator

    @lonm This capability is already on the roadmap, insofar as a roadmap can be said to exist. It is a fairly common subject of discussion among the team. Unfortunately, major projects such as Mail, Sync and Calendar have a lot more priority, and the team is small.



  • @ayespy This is good to hear. Luckily with a script the job of patching in mods isn't too tedious for now.



  • I think that CSS mods would fit well if they were stored along with a theme, that way you could have different mods active depending on the theme.

    JS mods wouldn't fit in with themes though.



  • @lonm I don't think I support this idea. It would complicate things. It would be easier to introduce an API that enables us to check for the theme in use and then just load different css theme dependent changes with javascript.



  • @luetage Good point. Maybe if the theme name was just added to the other class names in #browser that would be enough



  • Also useful would be the ability to preserve custom page actions - files the user added to the user_files directory.

    These would be more easy to maintain, as the installer would simply need to copy them over to the new directory. Page Actions also don't cause side-effects on the browser (as far as I can tell), so there is no issue of incompatibility as there is with mods.



  • @luetage A kind of a mod loader after an update?

    V was updated. Reviews your mods. Please - check - if they're compatible before loading or V couldn't work correctly. - Don't - report any bug about modding issues.

    [styles] (unchecked)

    [ ] custom.css
    [ ] custom.js

    [user_files] (checked)

    X nicescript.css
    X nicescript.js

    [images] (usually under styles)

    X coolpic.svg
    X coolpic.png

    (Of course, this screen shouldn't appear if no mod is used)


Log in to reply
 

Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.