Closed
Bug 481772
Opened 17 years ago
Closed 17 years ago
Automatically detect plugins and user-agent in Live Chat
Categories
(support.mozilla.org Graveyard :: Chat, enhancement)
support.mozilla.org Graveyard
Chat
Tracking
(Not tracked)
RESOLVED
FIXED
1.0.2
People
(Reporter: zzxc, Assigned: zzxc)
Details
Attachments
(1 file, 1 obsolete file)
|
6.35 KB,
patch
|
laura
:
review+
|
Details | Diff | Splinter Review |
Live Chat needs an automated field that to contain all installed plugins, similar to the detection used in the forum. This will save time by eliminating the need to ask about plugins when the user is chatting from Firefox.
Updated•17 years ago
|
Target Milestone: 1.1 → 1.0
| Assignee | ||
Comment 1•17 years ago
|
||
This adds a script to detect user-agent, Firefox version, operating system, and enabled plugins on the "new chat" page. For these added fields to work, they must first be added through the Openfire admin panel. The detection code here is based on the code used in the forum, expanded to detect the Fastpath form elements.
Attachment #371811 -
Flags: review?(laura)
| Assignee | ||
Updated•17 years ago
|
Target Milestone: 1.0 → 1.0.2
Comment 2•17 years ago
|
||
Comment on attachment 371811 [details] [diff] [review]
Add detection script for form fields
The plugins stuff is fine. The user-agent parts doesn't cover a lot of options - can you pass it through with some input filtering rather than a case? I note for example that Shiretoko and Seamonkey are not listed.
Comment 3•17 years ago
|
||
And by "case" I mean "switch".
| Assignee | ||
Comment 4•17 years ago
|
||
A list of product names and versions is needed since this script has to fill out a <select> element. 3.1b3, 3.5.x, 3.5b4, etc all have to match either "Firefox 3.5" or "Firefox 3.5 beta". If another product or version is in use, the user will simply have to select from a list. (eg. Seamonkey or a non-Mozilla browser)
I cleaned up the detection routine to extract the product name and use a switch for currently known names, including Shiretoko. This will need to be updated for future releases once they are announced.
Attachment #371811 -
Attachment is obsolete: true
Attachment #372631 -
Flags: review?(laura)
Attachment #371811 -
Flags: review?(laura)
Updated•17 years ago
|
Attachment #372631 -
Flags: review?(laura) → review+
| Assignee | ||
Comment 5•17 years ago
|
||
fixed r24447
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Product: support.mozilla.org → support.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•