mozilla / side-view

An experiment with opening mobile views of pages in the sidebar
Mozilla Public License 2.0
187 stars 40 forks source link

Side-View href's target always opens a new Tab #388

Open cmergal opened 5 years ago

cmergal commented 5 years ago

When you select a link that has a named target it opens a new tab each time. For example: Link 1 would have the following <a href="page1.html" target="mytab" /a> and Link 2 will have <a href="page2.html" target="mytab" /a>. Each time the users selects a link it will always creates a new tab even if the link has been already open. The desired behavior would be to verify if the target tab has already been opened and use the opened tab for navigation.

Thanks for the support.

fzzzy commented 5 years ago

Thanks, this is a good suggestion. As it is now, we don't have a lot of ability to make changes like this because of the way it is currently implemented. If the Side View concept is reimplemented at the browser level then it could have a lot more control over things like this. That may happen, but it remains to be seen whether there continues to be enough interest in Side View after the Test Pilot experiment is completed.