Ability to redirect to Facebook by clicking directly on the post itself

Ability to redirect to Facebook by clicking directly on the post itself

Folks, our former Wishlist portal, where our users shared their requests and suggestions, was transferred to this forum. You’re most welcome to vote, add new ideas, and leave your comments here — we surely will consider them all! :star_struck:

Original Votes: 1

Like Instagram widget, provide option to redirect on Facebook instead of opening any Pop-Up .

1 Like

Hi there @Clorev_Laundry :wave:

We already have such a request in the Wishlist, and I’ve merged your comment with it too. If this idea becomes popular, we’ll try to consider implementation of this setting :slightly_smiling_face:

In the meantime, you can try using our Social Feed app instead, where this option is available:


However, if you’d prefer using our Facebook Feed app, this script should work for you:

<script>
document.addEventListener("click", (e) => {
  const content = e.target.closest(".eapps-facebook-feed-posts-item-content");
  if (!content) {
    return;
  } 
  
  const header = content.previousElementSibling;
  const anchor = header?.querySelector("a");
  if (!anchor) {
    return;
  }
  
  window.open(anchor.href, "_self");
});
</script>

Just add it right after the widget’s installation code and let me know if it helped :slightly_smiling_face: