mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-10 11:54:40 +00:00
18 lines
463 B
JavaScript
18 lines
463 B
JavaScript
function handleRequest(request, response)
|
|
{
|
|
var query = {};
|
|
request.queryString.split('&').forEach(function (val) {
|
|
[name, value] = val.split('=');
|
|
query[name] = unescape(value);
|
|
});
|
|
|
|
response.setHeader("Content-Type", "text/css", false);
|
|
css = "#" + query.id + " { -moz-binding: url(\"";
|
|
if (query.server) {
|
|
css += "http://" + query.server + "/tests/dom/xbl/test/";
|
|
}
|
|
css += "file_bug481558.xbl#test\"); }";
|
|
|
|
response.write(css);
|
|
}
|