Folks, I just wanted to share a new code pattern I built recently
I use firefox and chrome on Windows 10 - The following linkintab macro will always open in the same browser tab, even if it is already open. - If your links to wikis use the target parameter you can ensure you do not open the wiki more than once. - You are also protected if you try and reopen the tab and you have not saved previous work. - In Fire Fox, if you move a tab to its own window, and click the link again it will open that windows again (and reload) - if it was minimised it will restore it. Why do this? - It allows you to keep tabs closed and open them as needed without fear of saving over the same wiki (Even without using bob) - You can establish a Directory Wiki to other wikis that honours this reusable tabs method. - No need to go looking for existing tabs, windows or minimised browser windows, just return to your directory, reopen if not open, reload in same tab if open (and saved) Limitations - I have not yet worked out if I can do this with file links to Timimi Wikis. If you want to use multiple Browsers eg FireFox and Chrome and may open the same wiki in either, I recommend you use Bob to host them so you gain further protection if the wiki is open in more than one Browser given Bobs multi-access ability. \define linkintab(link tabname) <$set name=url value="$link$"> <$set name=tabname value=$tabname$> <a href=<<url>> target=<<tabname>> ><<tabname>></a> </$set></$set> \end <<linkintab "https://www.w3schools.com" W3Schools>> Will open W3Schools tab in Current Browser <<linkintab "http://127.0.0.1:8084/"Bob>> In the follwing case <a href={{##wiki-url-full}} target={{##wiki-sitetitle}}> {{$:/core/images/link}}</a> It is using data from a dataTiddler (the current Tiddler in a list) And as the above macro shows the following also works <a href=<<url>> target=<<tabname>> ><<tabname>></a> Feedback appreciated! Regards Tony -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/aa0e7e8f-a696-4414-b763-2d9fd3e64485%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

