Firefox user platform masquerading
system configuration: Ubuntu 8.10 GNU/Linux Firefox 3.0.6 i386
I wanna masquerade my os details from browser scripts and http header.
I did manage to override browser defaults by:
editing about:config
general.useragent.override="//The user agent string"
similarly vendor and extra.firefox values were edited..
but how to masquerade values like appName,platform which can be retrieved
by navigator.platform and navigator.appName etc
I tried putting in values user_pref("general.useragent.platform","Win32")
or pref("general.useragent.platform","Win32")
in ~/mozilla/firefox/<random>/pref.js
and /usr/lib/firefox-3.0.6/default/preferences/ubuntu-useragent.js
and /usr/lib/firefox-3.0.6/default/preferences/firefox.js
etc..but hard luck
Help Please
|