adding a strng to user agents in firefox-tests
|
05-28-2014, 12:14 AM
Post: #1
|
|||
|
|||
adding a strng to user agents in firefox-tests
Hi,
we add an extra-string to user agents in our webpagetests. For Firefox-tests we used to add the following to ./templates/Firefox/prefs.js on agents: user_pref("general.useragent.extra.webpagetest", "our-key-to-identify-monitoring"); Since a while that doesn't work anymore. I can see PTST in user agent, but not our key added via user_pref :-( Any ideas? Anything changed in setting/adding PTST-String to user agent in the recent past? Maybe firefox-version dependent? I tested with versions 26 to 29 and the user agent isn't added in any of these. The ff-pref general.useragent.extra.[product/version] isn't marked as deprecated ore something here: http://kb.mozillazine.org/About:config_Entries Strange, anyway ... Regards, Nils |
|||
05-28-2014, 12:19 AM
Post: #2
|
|||
|
|||
RE: adding a strng to user agents in firefox-tests
Any chance it's SSL content? Just wondering if I fixed a bug where we were not correctly modifying headers and accidentally broke your use case. If you check the "keep original UA string" option does your pref start working again?
|
|||
05-28-2014, 12:26 AM
Post: #3
|
|||
|
|||
RE: adding a strng to user agents in firefox-tests
No, than PTST disappears, but our identifier isn't added, too.
|
|||
05-28-2014, 12:40 AM
Post: #4
|
|||
|
|||
RE: adding a strng to user agents in firefox-tests
If you add that to a normal firefox profile and check the UA manually do you see it? I shouldn't be touching the headers anymore if you flipped the bit so it looks like firefox itself isn't getting the pref.
|
|||
05-28-2014, 12:57 AM
Post: #5
|
|||
|
|||
RE: adding a strng to user agents in firefox-tests
you're right
I'll have a look why the ff-pref general.useragent.extra.[product/version] doesn't work in ff 29 on our agents, anymore. I'll report here if I get an idea. |
|||
06-25-2014, 04:39 AM
Post: #6
|
|||
|
|||
RE: adding a strng to user agents in firefox-tests
Any update on this?
|
|||
06-25-2014, 05:40 AM
Post: #7
|
|||
|
|||
RE: adding a strng to user agents in firefox-tests
No, unfortunately not. The general.useragent.extra.* preference doesn't seem to work anymore in actual ff-versions. We take general.useragent.override instead which isn't the same cause it doesn't sustain the original useragent, but it works.
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)