1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 10:47:59 +01:00

Fix io.createTempFile (now for real)

This commit is contained in:
Daniel Bainton
2008-09-19 13:28:04 +00:00
parent 97f9fa4132
commit ef1c96ae03

View File

@@ -475,8 +475,11 @@ liberator.IO = function () //{{{
.createInstance(Components.interfaces.nsILocalFile);
var tmpname = liberator.config.name.toLowerCase() + "-";
if (window.content.document.location.hostname)
tmpname += window.content.document.location.hostname;
try {
if (window.content.document.location.hostname)
tmpname += window.content.document.location.hostname;
}
catch (e) {}
tmpname += ".tmp";
if (liberator.config.name == "Muttator")