diff --git a/public/functions.js b/public/functions.js index e56b5df..bef255f 100644 --- a/public/functions.js +++ b/public/functions.js @@ -290,7 +290,9 @@ var replacedText = replaceRedditLinks(post["selftext_html"]); returnfpost += '
'+htmlDecode(replacedText)+'
'; } urli = post['url_overridden_by_dest']; - +if (post['url'] && post['url'].includes('reddit.com/gallery')) { + urli = post['url']; + } if((post['crosspost_parent_list'] != null && post['crosspost_parent_list'].length > 0) || (typeof post['crosspost_parent_list'] !== 'undefined' && post['crosspost_parent_list'].length > 0)){ returnfpost += postbuilder(post['crosspost_parent_list'][0]); diff --git a/public/new.html b/public/new.html index 42bc6d5..c190e25 100644 --- a/public/new.html +++ b/public/new.html @@ -25,6 +25,8 @@
+ 15 May 2024 +
  • UPDATE: New gallery links fixed and SOMETHING SPECIAL IS COMING.
  • 6 Feb 2023
  • UPDATE: Comments link is now clickable and fixed imgur gifs issue.
  • diff --git a/run.php b/run.php index 533034c..f36a1d5 100644 --- a/run.php +++ b/run.php @@ -46,7 +46,7 @@ $data = str_replace('',$headhtml,$data); -$data = str_replace('','