external link in same tab/window

85 views
Skip to first unread message

Rustem

unread,
Jul 21, 2015, 8:42:31 PM7/21/15
to TiddlyWiki
I can make an external link open in the same tab using <a> element. But is there a native TW syntax to make an external link open in the same tab?

PMario

unread,
Jul 22, 2015, 4:12:09 AM7/22/15
to TiddlyWiki

Rustem

unread,
Jul 22, 2015, 4:28:25 AM7/22/15
to TiddlyWiki

Mario, my question is how to open one in the same tab where my TW is. External links open in a new tab by default, because of this line in extlink.js:


target: {type: "string", value: "_blank"}

I suspect there is no way, but maybe I missed it…

Your example, BTW, produces a strange result - an empty tab.

—R

PMario

unread,
Jul 22, 2015, 4:46:52 AM7/22/15
to TiddlyWiki
On Wednesday, July 22, 2015 at 10:12:09 AM UTC+2, PMario wrote:

uups. imo should be

[ext[http://tiddlywiki.com]]

-m

PMario

unread,
Jul 22, 2015, 4:47:26 AM7/22/15
to TiddlyWiki
On Wednesday, July 22, 2015 at 10:28:25 AM UTC+2, Rustem wrote:

Mario, my question is how to open one in the same tab where my TW is. External links open in a new tab by default, because of this line in extlink.js:

That's exactly what my link does (the fixed one). At least with my browser settings.

Which browser do you use? Do you use any addOn, extension, that changes default browser behaviour for external links clicks?

-mario


PMario

unread,
Jul 22, 2015, 4:53:07 AM7/22/15
to TiddlyWiki
I'm wrong, you are right. ... I'm using an addOn myself, that changes the browser behaviour. But I mainly use it because of its session backup features. So I forgot about the click behaviour change :)

I'm using FF with "Tab Mix Plus" addOn. ... This may be an option, for you too, if you use FF

-mario

Rustem

unread,
Jul 22, 2015, 5:02:02 AM7/22/15
to TiddlyWiki
You may want to check out Session Manager instead. For everything else tab-related, I use keyconfig. Keyconfig is the reason I am with FF all the way. No other browser for me.
Reply all
Reply to author
Forward
0 new messages