There was a minimal modification to user.js in past and that went horrible, easily broken. (add Tor Browser first startup popup to ask whether security slider should be set to safest)
Hence, please kindly consider to suggest and/or implement that upstream in Tor Browser at The Tor Project.