diff --git a/source/content.ts b/source/content.ts index 8c6b791..a6aa643 100644 --- a/source/content.ts +++ b/source/content.ts @@ -19,6 +19,8 @@ function createLink(name: string, value: string): Element { const link = document.createElement("a"); const URL = `/app/discover#/?_a=(query:(language:kuery,query:'${name}:"${value}"'))`; link.setAttribute("href", URL); + link.setAttribute("target", "_blank"); + link.setAttribute("rel", "noreferrer noopener"); link.classList.add("kibana-clicker-link"); link.textContent = value; return link;