Bug 591776 - Add user agent to about:support r=sdwilsh a=blocking2.0beta6+

This commit is contained in:
Johnathan Nightingale 2010-09-02 14:42:04 -04:00
parent e15d159819
commit 1eb3d35816
3 changed files with 11 additions and 0 deletions

View File

@ -90,6 +90,7 @@ window.onload = function () {
// Update the application basics section.
document.getElementById("application-box").textContent = Application.name;
document.getElementById("version-box").textContent = Application.version;
document.getElementById("useragent-box").textContent = navigator.userAgent;
document.getElementById("supportLink").href = supportUrl;
// Update the other sections.

View File

@ -99,6 +99,15 @@
</td>
</tr>
<tr>
<th class="column">
&aboutSupport.appBasicsUserAgent;
</th>
<td id="useragent-box">
</td>
</tr>
<tr>
<th class="column">
&aboutSupport.appBasicsProfileDir;

View File

@ -19,6 +19,7 @@
<!ENTITY aboutSupport.appBasicsProfileDir "Profile Directory">
<!ENTITY aboutSupport.appBasicsEnabledPlugins "Enabled Plugins">
<!ENTITY aboutSupport.appBasicsBuildConfig "Build Configuration">
<!ENTITY aboutSupport.appBasicsUserAgent "User Agent">
<!ENTITY aboutSupport.show.label "Open Containing Folder">