From 0563c29dd6ebbcc5b2937482a7ce0f0cad418305 Mon Sep 17 00:00:00 2001 From: Andy Balaam Date: Fri, 25 Sep 2020 00:51:25 +0100 Subject: [PATCH] Open Mastodon in the same tab --- src/script/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/index.js b/src/script/index.js index a2c3993..ec77246 100644 --- a/src/script/index.js +++ b/src/script/index.js @@ -79,5 +79,5 @@ document } var shareUrl = instance + "share?text=" + encodeURIComponent(text); - window.open(shareUrl, '_blank', 'noopener,noreferrer') + window.location.href = shareUrl; })