Skip to content

Instantly share code, notes, and snippets.

var me = Services.wm.getMostRecentWindow(null);
Cu.import('resource://gre/modules/osfile.jsm');
var pathProfilesIni = OS.Path.join(OS.Constants.Path.userApplicationDataDir, 'profiles.ini');
me.alert(pathProfilesIni);
//apparently theres for profiles made in default prof dir:
//localDir = C:\Users\ali57233\AppData\Local\Mozilla\Firefox\Profiles\czbm1ps9.rnd1
//rootDir = C:\Users\ali57233\AppData\Roaming\Mozilla\Firefox\Profiles\czbm1ps9.rnd1
//for custom prof dir localDir and rootDir are same
  • Selected profile submenu edit for limited actions and display (ie: display if safe mode or not, display the build its currently in)
  • Click actions
    • Rename
    • Make default
    • Toggle build tie
    • Delete transform and confirmation
    • Click to badge/change/remove
    • Launch profile
      • Safe mode launch
  • Create profile