edditUrl = "https://www.reddit.com/r/StableDiffusion/submit?url=" + encodeURIComponent(shareUrl) +
                            "&title=" + encodeURIComponent(title);
            openWindow(redditUrl);
        });
    </script>
</body>
</html>
