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)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: zzxc, Assigned: zzxc)

Details

Attachments

(1 file, 1 obsolete file)

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.
Target Milestone: 1.1 → 1.0
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)
Target Milestone: 1.0 → 1.0.2
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.
And by "case" I mean "switch".
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)
Attachment #372631 - Flags: review?(laura) → review+
fixed r24447
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Product: support.mozilla.org → support.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: