on 2025 Apr 04 11:31 AM
Work Zone always opens external links in a new tab. I don't want this, I want to keep users in one tab and preserve the unitary browsing experience, where the back button continues to behave as expected.
How can I prevent external links opening in a new tab?
Request clarification before answering.
I worked this one out myself with a bit of old html.
When you've made a link in a text widget, view the source of the text widget:
Then edit the source by adding this inside the <a> tag:
target="_self"
The source should look like this:
Publish, and you're done. The external link will now open in the same browser tab and your history will be preserved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
24 | |
22 | |
8 | |
8 | |
7 | |
5 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.