-1:000000000000 | 0:bf17e46a2859 |
---|---|
1 function handleRequest(request, response) | |
2 { | |
3 var self = Components.classes["@mozilla.org/file/local;1"] | |
4 .createInstance(Components.interfaces.nsILocalFile); | |
5 self.initWithPath(getState("__LOCATION__")); | |
6 var dest = self.parent; | |
7 dest.append("\u263a.ico"); | |
8 if (dest.exists()) | |
9 dest.remove(false); | |
10 response.setStatusLine(request.httpVersion, 200, "OK"); | |
11 response.setHeader("Content-Type", "text/html"); | |
12 } |