mirror of https://github.com/CIRCL/lookyloo
new: Mark all nodes with HTTP content
parent
230b8e7842
commit
60d9038078
|
@ -440,14 +440,14 @@ function update(root, computed_node_width=0) {
|
||||||
.attr('y', 0)
|
.attr('y', 0)
|
||||||
.style("opacity", "0.5")
|
.style("opacity", "0.5")
|
||||||
.attr("stroke", d => {
|
.attr("stroke", d => {
|
||||||
if (d.data.mixed_content){
|
if (d.data.http_content){
|
||||||
return "red";
|
return "red";
|
||||||
}
|
}
|
||||||
return "black";
|
return "black";
|
||||||
})
|
})
|
||||||
.attr('stroke-opacity', "0.8")
|
.attr('stroke-opacity', "0.8")
|
||||||
.attr("stroke-width", d => {
|
.attr("stroke-width", d => {
|
||||||
if (d.data.mixed_content){
|
if (d.data.http_content){
|
||||||
return "4";
|
return "4";
|
||||||
}
|
}
|
||||||
return "2";
|
return "2";
|
||||||
|
|
Loading…
Reference in New Issue