Closed
Bug 20941
Opened 25 years ago
Closed 25 years ago
[Feature] Preference setting for User agent
Categories
(Core :: Networking, defect, P3)
Core
Networking
Tracking
()
M14
People
(Reporter: vparthas, Assigned: shaver)
Details
A pref is needed so that the user agent string gets the "C-" tag inserted and
then the value of the pref gets added as well -> in the form of Netscape 5.0
[en] C- <foo>.We can choose to have a different tag for mozilla sya "M-".
Updated•25 years ago
|
Component: Browser-General → Necko
Summary: Preference setting for User agent → Preference setting for User agent
Comment 1•25 years ago
|
||
Jud was working on user agent stuff.
Updated•25 years ago
|
Summary: Preference setting for User agent → [Feature] Preference setting for User agent
Target Milestone: M13
Comment 2•25 years ago
|
||
Is this a request for a pref UI? Or just a backend pref?
Is this m12 material?
Updated•25 years ago
|
Status: NEW → ASSIGNED
Comment 4•25 years ago
|
||
I can provide the pref. However user agent modification will only affect a
non-critical portion of the string. We obviously can't permit the entire string
to be modified.
Updated•25 years ago
|
Assignee: mcafee → valeski
Status: ASSIGNED → NEW
Comment 5•25 years ago
|
||
over to valeski
Bulk move of all Necko (to be deleted component) bugs to new Networking
component.
Updated•25 years ago
|
Status: NEW → ASSIGNED
Comment 8•25 years ago
|
||
what is the "-C" tag?
The least obtrusive and standards/backwards compatible way of doing this is to
insert a user/pref definable string as a field in the comment portion of the
user agent string (see http://www.mozilla.org/build/user-agent-strings.html for
more info).
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
Comment 9•25 years ago
|
||
We've decided that the user agent cannot be modififed via a pref. Vendors would
grow the user agent string to no end.
Mozilla/5.0 ... (...RealAudio, Shockwave, Joe's homegrown) etc.
This is easily done via an installation program. There is a definable (via
platform specific branding) way to modify the miscelaneous portion of the UA
string).
Updated•25 years ago
|
Status: RESOLVED → REOPENED
Comment 10•25 years ago
|
||
Um, we didn't see this proliferation of garbage in the user agent in any prior
release, and they all had this pref. This doesn't seem like a valid reason to
reject this request to make 5.0 work the same as 4.x.
If you don't implement what was requested, please give complete details on how
the alternative is supposed to work. The CCK Wizard needs to be able to collect
the 10 character UA append string and then do something with it such that it
becomes part of the customized build. This should NOT require any user
intervention, so I'll need an API or something to make this work.
Then again, maybe the pref would be easier :-)
Comment 11•25 years ago
|
||
Clearing WON'T FIX resolution due to reopen.
Comment 12•25 years ago
|
||
Waiting for Shaver to build the user agent string service. (Mike: let us know
if you're not going to do this now.)
Updated•25 years ago
|
Status: REOPENED → ASSIGNED
Comment 13•25 years ago
|
||
cc'ing shaver. This won't be done until the initial UA work is complete (shaver,
do you have a bug for this?). Does anyone know how to make a pref mission
control editable only?
Assignee | ||
Comment 14•25 years ago
|
||
Mission-control-only? Is that meaningful at all, in a world with source and
editable UI and behaviour? Since there's no Mozilla Mission Control-alike in
any plans I've seen, I have to presume not.
I don't have a bug for the UA service yet, though I thought there would be one
already.
Comment 15•25 years ago
|
||
steve, I thought the only way to config the UA string in 4.x was to use mission
control. Otherwise we would have definately seen UA string abuse.
shaver, we'll come up w/ some mission control thinga-ma-jig, corporations need
it.
Comment 16•25 years ago
|
||
Mission Control is a red herring. This only depends on the ability to set the
pref in some manner. In the past it was in the netscape.cfg and one was
required to use Mission Control or CCK to change it. (I'm not sure what would
happen if a user put it in their prefs.js, probably people just didn't think of
that as a way to change the user agent.)
It is sufficient for this pref to be in one of the default pref files or in the
netscape.cfg equivalent. It would be better if it didn't come from the
prefs.js, but it's not worth attempting to enforce that. If you want to avoid
long strings being added, feel free to limit the pref to N characters where N >=
10. These "appended" characters continue to belong in the "comment" area
Jamie's paper describes, as was pointed out previously in this bug.
In any case, the purpose of this append string is explicitly the same as what
Jamie's proposal said - tracking. Along those lines, automatically adding some
distinguishing characters such as "M-" to the appended string would allow
overall tracking of customized builds and that continues to be important.
As an aside, the old prefs architecture did not place limits on the setting of
this pref. Rather, if it was set in the netscape.cfg and locked, then other
settings would be ignored. Since creating a netscape.cfg required info and
tools from MCD or CCK, most people were unaware that it even existed.
CCK needs to continue to offer this feature since it's a fundamental part of
customization. Any MCD equivalent would then build on what we provide.
Updated•25 years ago
|
Target Milestone: M13 → M14
Updated•25 years ago
|
Assignee: valeski → shaver
Status: ASSIGNED → NEW
Comment 17•25 years ago
|
||
-> shaver
Comment 18•25 years ago
|
||
Marking dup since these are the same basic request.
*** This bug has been marked as a duplicate of 6117 ***
Status: NEW → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•