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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user