I've been using Custom Buttons Firefox add-on to create buttons I place on the Firefox's navigation bar. I've used the following code I found on the internet to create a navigation button for Feedly:
var myUrl = "http://cloud.feedly.com"; var tBrowser = document.getElementById("content"); var tab = tBrowser.addTab(myUrl); tBrowser.selectedTab = tab;
Everything works fine except I'd like it to open in the same tab instead of loading in a new tab. Is it possible to change this code so to force the Feedly page open in the already opened tab instead of opening a new one? I'm using Tab Mix Plus and I have my bookmarks, search bar and address bar set to open in the same tab, and I'd like the same functionality for these buttons.
Thank you for the help.