This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Prevent "View Image" from opening in a new tab

more options

So I have looked this up several times and not found an answer anywhere. And I've just been dealing with the issue, but there has to be a way to turn off this feature, and I want to know where it is.

The situation is this; Let's say I am doing an google search for images. I find an image I like and I click on it. A box opens up giving me 3 options; "Visit Page", "View Image", and "Share". What I would like to do it "View Image" so I click the button and it opens in a new tab. What I would like it to do is open in the same tab. Not open a new one. Does anyone have a solution for this?

So I have looked this up several times and not found an answer anywhere. And I've just been dealing with the issue, but there has to be a way to turn off this feature, and I want to know where it is. The situation is this; Let's say I am doing an google search for images. I find an image I like and I click on it. A box opens up giving me 3 options; "Visit Page", "View Image", and "Share". What I would like to do it "View Image" so I click the button and it opens in a new tab. What I would like it to do is open in the same tab. Not open a new one. Does anyone have a solution for this?

All Replies (2)

more options

This is actually coded into those buttons on Google's image results page. They have target="_blank" on the links, which triggers a new window/tab (depending on whether you divert new windows to new tabs).

I think you have two options:

(1) Drag and drop the link onto the address bar to replace the results page with the linked page.

(2) Use an add-on to override the built-in behavior. For example, you can use a userscript I posted, which you apply to pages using the Greasemonkey extension:

more options

That did work for me. Thanks!

If I could make a suggestion I would propose to Mozilla to make that a user definable option. When you deal with a lot of images, the target="_blank" opens up A LOT of extra windows.