If you are using the Guest account, you are generating a home folder on each login and destroying it on each logout. Why not just customize the user template to contain the values you want to push? Otherwise, you are generating custom profiles that may be tricky to construct.
The setting for default browser is stored in:
~/Library/Preferences/com.apple.LaunchServices/com.apple.launchservices.secure.p list
Since the syntax of this file is a bit funky, I suggest creating the file the way you want and then copy the plist to the user template. For example, create an account on a machine. Let's say the account is jeff. You can use this command once the file is created containing your default browser settings:
sudo cp -R /Users/jeff/Library/Preferences/com.apple.LaunchServices /System/Library/User\ Template/English.lproj/Library/Preferences/
This copies the entire com.apple.LaunchServices folder into the template's Preferences folder.
As for scroll direction, this is set in the invisible .GlobalPreferences.plist file. The key is com.apple.swipescrolldirection and you can set this value in the user template, allowing all guest instances to inherit the setting. A sample command is:
sudo defaults write /System/Library/User\ Template/English.lproj/Library/Preferences/.GlobalPreferences.plist com.apple.swipescrolldirection -bool FALSE
If I recall, this one value will work for both a trackpad and a magic mouse.
Hope this helps.
Reid
Apple Consultants Network
Author - "El Capitan Server – Foundation Services"
Author - "El Capitan Server – Control & Collaboration"
Author - "El Capitan Server – Advanced Services"
:: Exclusively available in Apple's iBooks Store