Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.