Is there a command line method of adding entries to prefs.js ?
Thanks.
Add entry to prefs.js via command line
- therube
- Posts: 21703
- Joined: March 10th, 2004, 9:59 pm
- Location: Maryland USA
Re: Add entry to prefs.js via command line
(With SeaMonkey closed) [on Windows]:
(I didn't actually try the latter one .
Suspect you'd run into character escaping issues.
Linux end, I'd expect to be easier.)
Also note, user.js.
Code: Select all
C:\SeaMonkey> ECHO HI THERE YOU SWINE >> prefs.js
C:\SeaMonkey> ECHO user_pref("general.useragent.override.theentireWWW.com", "Mozilla/5.0 (Windows XP 5.1; rv:999.0) Gecko/20100201 SeaMonkeyRULEZ/999.0"); >> prefs.js
Suspect you'd run into character escaping issues.
Linux end, I'd expect to be easier.)
Also note, user.js.
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript