From f20f2f8cd6a2d88a755ea3844664b55f569d199a Mon Sep 17 00:00:00 2001 From: Paul Burke Date: Wed, 17 Nov 2021 15:50:25 -0500 Subject: [PATCH] v0.9.2 - Hotfix for images.deso.org image support --- lib/post.js | 3 ++- manifest.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/post.js b/lib/post.js index 55966c4..a274d5a 100644 --- a/lib/post.js +++ b/lib/post.js @@ -204,7 +204,8 @@ const onPostButtonClick = (postButton) => { postButton.appendChild(spinner) const postImage = container.getElementsByClassName('feed-post__image').item(0) - const hasImage = postImage && postImage.src && postImage.src.includes(`images.${window.location.hostname}`) + const hasImage = postImage && postImage.src && + (postImage.src.includes(`images.${window.location.hostname}`) || postImage.src.includes(`images.deso.org`)) const image = hasImage ? postImage.src : undefined const postEmbed = container.querySelector('input[type="url"]') diff --git a/manifest.json b/manifest.json index 31b713d..1e2f2c5 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "name": "BitClout Plus", "description": "BitClout on steroids", - "version": "0.9.1", + "version": "0.9.2", "manifest_version": 3, "content_security_policy": { "extension_pages": "default-src 'self'; frame-ancestors 'none';"