Page MenuHome GnuPG

enigmailHelp.js
No OneTemporary

enigmailHelp.js

/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
// Uses: chrome://enigmail/content/enigmailCommon.js
"use strict";
/* global EnigmailLog: false */
/* global EnigInitCommon: false, EnigGetWindowOptions: false, EnigGetFrame: false, EnigGetHttpUri: false, EnigOpenUrlExternally: false */
// Initialize enigmailCommon
EnigInitCommon("enigmailHelp");
function enigHelpLoad() {
EnigmailLog.DEBUG("enigmailHelp.js: enigHelpLoad\n");
var contentFrame = EnigGetFrame(window, "contentFrame");
if (!contentFrame)
return;
var winOptions = EnigGetWindowOptions();
var helpFile = winOptions.src;
contentFrame.document.location.href = "chrome://enigmail/locale/help/" + helpFile + ".html";
}
function contentAreaClick(event) {
let uri = EnigGetHttpUri(event);
if (uri) {
EnigOpenUrlExternally(uri);
event.preventDefault();
return false;
}
return true;
}

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 30, 8:15 PM (15 h, 25 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
33/7a/fd96d999bd4c88a7e0e0c63f9a46

Event Timeline