Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
1 // Add the correct border/margin/padding style
2 if (window.location.search.length > 0) {
3 var params = window.location.search.substr(1).split("_");
4 if (params[0] == "border") {
5 params[0] = "border-width";
6 }
7 document.write("<style>");
8 document.write((params[1] == "parent") ? "#parent" : "#child");
9 document.write("{ " + params[0] + ": 1px 2px 3px 4px; }</style>");
10 }