1. Установить дополнение для Firefox Greasemonkey https://addons.mozilla.org/ru/firefox/addon/greasemonkey/
2. В теле скрипта строку 'webminserver.domain.tld' заменить на имя хоста вашего сервера.
// ==UserScript== // @name DrWebQViewEMail // @namespace DrWebQViewEMail // @include https://webminserver.domain.tld:10000/drweb-maild/modules/quarantine.cgi?a=get_email_source* // ==/UserScript== var searchString = 'Received: from'; var elements = document.getElementsByTagName('pre'); var EML=''; for (var i = 0; i < elements.length; i++) { if (elements[i].innerHTML.indexOf(searchString) !== -1) { EML=elements[i].innerHTML; break; } } window.onload=function(){ try { var EMLEncoded = "data:message/rfc822," + encodeURIComponent(EML); } catch(err) { alert("Can't encode e-mail message by 'encodeURIComponent' function!"); exit; } window.location=EMLEncoded; window.close(); }