搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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?

所有回覆 (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.