diff --git a/content.js b/content.js index 74a346c..9dd7b40 100644 --- a/content.js +++ b/content.js @@ -80,3 +80,14 @@ fetch("http://127.0.0.1:7657/themes/console/light/images/i2plogo.png") var consoleLinks = document.querySelectorAll(".application-info"); hide(consoleLinks); }); + +fetch("http://127.0.0.1:7657/jsonrpc/") + .then((myJson) => { + var toopieLinks = document.querySelectorAll(".window-visit-toopie"); + unhide(toopieLinks); + }) + .catch((error) => { + var toopieLinks = document.querySelectorAll(".window-visit-toopie"); + hide(toopieLinks); + }); + diff --git a/home.html b/home.html index ec90c62..3e27098 100644 --- a/home.html +++ b/home.html @@ -86,8 +86,8 @@ --> -