diff --git a/CHANGELOG.md b/CHANGELOG.md index e170206..78d2916 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## Canary * Moved database queries to a web worker to gain more responsive UI -* Fixed Gelbooru, Instagram, and Twitter previews +* Fixed Gelbooru, Gfycat, Instagram, Twitter, and Vimeo previews * Fixed green names not showing up when 'show friends/bookmarks in a different colour' is selected * Sped up Imgur previews * Minor UI design adjustments for user names and badges diff --git a/chat/preview/assets/browser.pre.js b/chat/preview/assets/browser.pre.js index d92396c..f165ba9 100644 --- a/chat/preview/assets/browser.pre.js +++ b/chat/preview/assets/browser.pre.js @@ -131,3 +131,11 @@ const previewInitiationTime = Date.now(); } })(); + +try { + if (!!window.location.toString().match(/__x-suppress__/)) { + document.write("