Sign in to follow this  
Followers 0
jp10558

Firefox Settings scripting

4 posts in this topic

I'm wondering if anyone has written a script to set various settings for Firefox in the background. Specifically, I'd like to be able to add a user.js to every firefox profile on a computer - but the problem is I don't know what usernames may be there, or what the gibberish folder Firefox used for the firefox profile... So how can I do FileInstall?

Share this post


Link to post
Share on other sites



You can step through folders of unknown names by using FileFindFirstFile() and FileFindNextFile(). You can use a variable for the 2nd parameter of FileInstall(), thus you can update the variable with each change of destination path and call FileInstall() again.

:)

Share this post


Link to post
Share on other sites

It's also possible(I guess) to read the profiles.ini file, and getting the paths to the profiles that way(which would be my preferred way).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0