diff --git a/css/style.css b/css/style.css index dd62dc6..122d18e 100644 --- a/css/style.css +++ b/css/style.css @@ -503,6 +503,12 @@ main { display: inline; } +#graph-legend { + position: fixed; + bottom: 65px; + right: 1em; +} + #tooltip { position: absolute; z-index: 1; diff --git a/index.html b/index.html index af8d377..64b12ea 100644 --- a/index.html +++ b/index.html @@ -83,7 +83,19 @@

Graph View

- + +
+ social_media + advertising + site_analytics + customer_interaction + audio_video_player + comments + essential + pornvertising +
diff --git a/js/brightbeam.js b/js/brightbeam.js index 296e2f9..5afb513 100644 --- a/js/brightbeam.js +++ b/js/brightbeam.js @@ -385,6 +385,7 @@ const brightbeam = { document.getElementById('view').innerText = 'Graph'; document.getElementById('vis-graph').classList.remove('hidden'); document.getElementById('vis-list').classList.add('hidden'); + document.getElementById('graph-legend').classList.remove('hidden'); this.stopGraphView(); let network = await this.getNetwork(); console.log(network); @@ -435,6 +436,7 @@ const brightbeam = { document.getElementById('vis-graph').innerHTML = ''; document.getElementById('vis-graph').classList.add('hidden'); document.getElementById('vis-list').classList.remove('hidden'); + document.getElementById('graph-legend').classList.add('hidden'); let container = document.getElementById('site-list'); const data = await storeChild.getAll(); diff --git a/manifest.json b/manifest.json index 1e848a5..e0e5c2b 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "Brightbeam", - "version": "4.0.0", + "version": "4.0.1", "description": "Brightbeam is a browser extension that uses interactive visualizations to show you the relationships between third parties and the sites you visit. It is a fork of the late Mozilla Lightbeam.", "homepage_url": "https://github.com/digitalmethodsinitiative/brightbeam",