Firefox: prevent opening a new window
Hello. I want to bind the "BACK" key of my keyboard to the back button of mozilla firefox 1.0PR using Lineak. However, no matter what command I punch in, it always opens a new firefox window. I have tried "firefox --back", "firefox javascript:history.back(1)", and " javascript:history.back(1)". All of them open a new window. How can I go around that, and make my button work in the current window of firefox?
Also, is it possible to have all the files that are suppossed to open in a new window open in a new tab? Thanks! |
http://update.mozilla.org/extensions...?id=50&vid=673
I don't know if this is overkill for what you want, but it shold do the job. |
Well, it took care of the second part of my question (opening links in new tabs instead of new windows), but when I click the back button my my browser, it still opens a new firefox window. Thanks for solving half my problem though. :)
|
So...can anyone help me with the commands to avoid a new mozilla window when clicking the back button on my keyboard?
Thanks. |
the only tab modifying extension i've found that has any real power, or even does what it says it does, is the TabBrowser extension, which oddly isn't actually held within the firefox extensions page anymore... still work sgreat though.
http://extensionroom.mozdev.org/more-info/tbe |
Hello. This is a little bit better than single window that Gort32 reccommended, but it still doesn't fix my problem of the back button on my keyboard. When I press it, firefox tries to open another instance of itself. I'm still looking for a way around it.
Cheers! |
Hello. I got the way to do this from the firefox support forums. The command to put into linEAK for the "Back" and "Forward" buttons on your browser is the following:
Back: firefox -remote "openURL(javascript:history.go(-1);)" Forward: firefox -remote "openURL(javascript:history.go(1);)" Good luck and thanks for the help! |
All times are GMT -5. The time now is 05:42 AM. |