mirror of https://github.com/CIRCL/lookyloo
new: Add warning when a node has mixed content.
parent
23e3cc5d43
commit
9fdd0d5782
|
@ -247,7 +247,7 @@
|
||||||
"har2tree": {
|
"har2tree": {
|
||||||
"editable": true,
|
"editable": true,
|
||||||
"git": "https://github.com/viper-framework/har2tree.git",
|
"git": "https://github.com/viper-framework/har2tree.git",
|
||||||
"ref": "8f0858a233b78e6050136ca1ad9feb4185c81696"
|
"ref": "729511265f7d58cb0aa9c8d4f0e6cc286cfbb87e"
|
||||||
},
|
},
|
||||||
"hyperlink": {
|
"hyperlink": {
|
||||||
"hashes": [
|
"hashes": [
|
||||||
|
|
|
@ -439,9 +439,19 @@ function update(root, computed_node_width=0) {
|
||||||
.attr('x', 12)
|
.attr('x', 12)
|
||||||
.attr('y', 0)
|
.attr('y', 0)
|
||||||
.style("opacity", "0.5")
|
.style("opacity", "0.5")
|
||||||
.attr("stroke", "black")
|
.attr("stroke", d => {
|
||||||
|
if (d.data.mixed_content){
|
||||||
|
return "red";
|
||||||
|
}
|
||||||
|
return "black";
|
||||||
|
})
|
||||||
.attr('stroke-opacity', "0.8")
|
.attr('stroke-opacity', "0.8")
|
||||||
.attr("stroke-width", "2")
|
.attr("stroke-width", d => {
|
||||||
|
if (d.data.mixed_content){
|
||||||
|
return "4";
|
||||||
|
}
|
||||||
|
return "2";
|
||||||
|
})
|
||||||
.attr("stroke-linecap", "round")
|
.attr("stroke-linecap", "round")
|
||||||
.attr("fill", "white");
|
.attr("fill", "white");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue