It will probably work. But you must check where these variants store they settings and modify the script accordingly. The script assumes that settings are inside %LOCALAPPDATA%\Mozilla\Firefox and %APPDATA%\Mozilla\Firefox folders, which is not the true for non-firefox variants. Updated first post. Punycode is set correctly, so this phishing is no more possible.
@wkeller Don't you think that the argument deserves a bit of more text, over "that's my script, have fun with it"? At least try to summarize what the script does.
Thank you for the script and kind support. I'll test the script on both variants, LibreWolf and Waterfox and post the results.
So I edited the paths based on LibreWorlf's profile but I couldn't find the file %APPDATA%\librewolf\Profiles\prefs.js I still ran the script and seemed to have done the settings it contained. Though it's a mystery how it located perfs.js which was in another folder. Edit: Works successfully on Waterfox too.
Originally, it runs dir /a /s /b "%APPDATA%\Mozilla\Firefox\Profiles\prefs.js" command, which means that prefs.js file will be found in every subfolder of folder "%APPDATA%\Mozilla\Firefox\Profiles". If you have changed Mozilla folder to Librewolf, the rule remains the same.
I'm not that familiar with FF internals, but there must be a setting, an environment variable, whatever that points to the correct location of the profile(s). Using a fixed path, isn't only a problem for FF derivatives, but also for portable versions (which are very useful for people like me that use a single Mozilla installation AND PROFILE from many OSes in multiple boot). Something that is hard to do with chromium and derivatives (unless you use a patched portable version)
It is "%APPDATA%\Mozilla\Firefox\profiles.ini" You can also use command line -profile option to set custom profile path. But it doesn't matter for the script, dir /a /s /b command inside for loop will find all profiles inside AppData\Roaming folder and will set up all of them. That is the function of the script.
Palemoon is good, but it does not support all extensions that are must have for me. I do not use portable web browsers at all, but I recommend everybody to give a try my SlimFirefox. I use it on every single PC, it works really good especially when you add your favorite extensions (like uBlock Origin or Adguard, Privacy Badger, etc). It works so good for me that I no longer need any Firefox clones.
Please read what I wrote. I use the palemoon LAUNCHER. The sample ini I shared is there to launch Firefox That was my point, trying to make it more universal, just a suggestion. Obviously Vivaldi is my main browser, but FF (and most FF based browsers) are invaluable just because they are easy to make portable (self cntained to use a better definition) Some FF clones have a point just because are based on older FF, so they can use some themes, GUI enhancements that are unavailable on recent FF But given the portability thing they can coexist w/o any worry of crossed interactions on the common FF profile