Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-24-2004, 01:33 PM
|
#1
|
Member
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199
Rep:
|
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!
|
|
|
10-24-2004, 02:27 PM
|
#3
|
Member
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199
Original Poster
Rep:
|
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. 
|
|
|
10-29-2004, 07:38 AM
|
#4
|
Member
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199
Original Poster
Rep:
|
So...can anyone help me with the commands to avoid a new mozilla window when clicking the back button on my keyboard?
Thanks.
|
|
|
10-29-2004, 07:41 AM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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
|
|
|
10-29-2004, 03:00 PM
|
#6
|
Member
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199
Original Poster
Rep:
|
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!
|
|
|
10-30-2004, 11:50 AM
|
#7
|
Member
Registered: Jun 2003
Location: Toronto, Canada
Distribution: Ubuntu 10.04 LTS; CentOS 5.5
Posts: 199
Original Poster
Rep:
|
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!
Last edited by evilmonkey; 10-30-2004 at 11:52 AM.
|
|
|
All times are GMT -5. The time now is 12:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|