I have been racking my brain for a while now trying to change a string in the firefox prefs.js file using a script. Has anyone done this and successfully modified the file? The problem I am having is getting the script to find the default profile directory. I point it in the right direction but when attempting to use a wildcard like "*.default" the script fails.
Is there a way to call the name of the default profile folder and use a variable in the script to substitute the actually directory name into the script?
