Opening URL links on the message boards in new browser tabs

Have an idea that will benefit the community post it here for the Dev team to consider.
Spondy
Reactions:
Posts: 32
Joined: Thu Jun 30, 2022 9:19 am

Opening URL links on the message boards in new browser tabs

Post by Spondy »

When clicking on links in posts the target loads and takes the user away from the ggpchat site.

Can you change the link so that the target URL is opened in a new browser tab?

This change will keep users on site and avoid having to right click links to select 'open link in new tab' from the menu.


The <a> </a> tags can use the target attribute to open the link in a new browser tab. The rel attribute is use for security to prevent pagenapping.

target="_blank"
<a href="https://ggphelp.co.uk/">GGP Help</a>
<a href="https://ggphelp.co.uk/" target="_blank">GGP Help</a>

rel="noreferrer noopener"
<a href="https://ggphelp.co.uk/" target="_blank" rel="noreferrer noopener">GGP Help</a>

This would work if you are writing the HTML. However on the message boards it would need to apply to all URLs posted in messages. Is there a way that these attributes can be 'turned on' for the site?
User avatar
Bottle Rocket - Liam
DEV TEAM
DEV TEAM
Reactions:
Posts: 336
Joined: Wed Jun 01, 2022 10:43 pm
Location: Somewhere
Contact:

Re: Opening URL links on the message boards in new browser tabs

Post by Bottle Rocket - Liam »

Possible a Tick box appears somewhere in the settings.
I will add it to the list to look at.

Liam
Liam.
"One mine, three mining areas, a BEAST of an ore body" :!:
Post Reply