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.
Created attachment 371811 [details] [diff] [review] Add detection script for form fields 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.
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".
Created attachment 372631 [details] [diff] [review] Improve Firefox version detection 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.
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
Component: Chat → Chat
Product: support.mozilla.org → support.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.