diff --git a/src/content_script/mastodonInject.js b/src/content_script/mastodonInject.js index 9b53534..1864a3c 100644 --- a/src/content_script/mastodonInject.js +++ b/src/content_script/mastodonInject.js @@ -131,6 +131,7 @@ async function init() { const ogType = document.querySelector("meta[property='og:type']"); + // inject only once on detail toots view pages if (ogType && ogType.getAttribute("content") === "article"){ injectInteractionButtons(); } else {