Opening twitter in new tab and Arbitrary text

On the job portal I am creating, I am trying to set up the option to share the job on twitter.
I have used the share option function plus the arbitrary text.

However twitter will only open in the same tab. I’ve read online that a trick to open an external website in a new tab was to use java script. This is something I have done, but I’m struggling to add the arbitrary text again. the flow works but the tweet is empty. Would you know if we need to use the Arbitrary text in javascript too ? would you know the code ?

Many thanks

Don’t need javascript and twitter does allow for you to open the link in a new tab, just you need to set it up in Bubble to do so

Screen Shot 2023-03-26 at 10.17.51 PM

Thank you
It works well

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.