X
Tap here to go to the mobile version of the site.

منتدى الدعم

Want to open links in a new tab not a new window.

Posted

When using a mouse I know I can middle click (wheel) and the web-link I am clicking will open in a new tab. I also know I can drag that link to the + sign on the tab bar and it will open. But while using the Keyboard only, when I want to open a webpage link in a new tab, it always opens in a new window, why?

I noticed while searching in Mozilla Support that hitting any box opens in a new tab ( this is the effect I want) why does this not happen on other webpages?

I may be answering my own question here but could it be the one 'NewsNow' website that is causing my problem?

When using a mouse I know I can middle click (wheel) and the web-link I am clicking will open in a new tab. I also know I can drag that link to the + sign on the tab bar and it will open. But while using the Keyboard only, when I want to open a webpage link in a new tab, it always opens in a new window, why? I noticed while searching in Mozilla Support that hitting any box opens in a new tab ( this is the effect I want) why does this not happen on other webpages? I may be answering my own question here but could it be the one 'NewsNow' website that is causing my problem?

Chosen solution

As I wrote above, that Tabs setting only applies to links that have a target window specified. You can right-click the link and check the code in the Inspector.

If there is an 'ev' button appended then this means that JavaScript events are tied to the link.

Read this answer in context 1

Additional System Details

Installed Plug-ins

  • Google Update
  • Hola VLC media player Web Plugin
  • Intel web components for Intel® Identity Protection Technology
  • Intel web components updater - Installs and updates the Intel web components
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Next Generation Java Plug-in 11.31.2 for Mozilla browsers
  • NPWLPG
  • Shockwave Flash 17.0 r0
  • 5.1.30514.0
  • iTunes Detector Plug-in

Application

  • Firefox 38.0
  • User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
  • Support URL: https://support.mozilla.org/1/firefox/38.0/WINNT/en-US/

Extensions

  • Adblock Plus 2.6.9 ({d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d})
  • Direct Currency Converter 2 2.0.3.0 (dcc@joint.ax)
  • Download YouTube Videos as MP4 1.8.1 ({b9bfaf1c-a63f-47cd-8b9a-29526ced9060})
  • Flash Video Downloader - YouTube HD Download [4K] 7.2.3 (artur.dubovoy@gmail.com)
  • Hola Better Internet 1.7.375 (jid1-4P0kohSJxU1qGg@jetpack)
  • iCloud Bookmarks 1.4.14 (firefoxdav@icloud.com)
  • Logitech SetPoint 6.5 ({F003DA68-8256-4b37-A6C4-350FA04494DF})
  • S3.Google Translator 4.02 (s3google@translator)
  • Tab Mix Plus 0.4.1.7 ({dc572301-7619-498c-a57d-39143191b318})
  • Weather Forecast 0.1.8 (jid1-aqwHRwQpv3JUMs@jetpack)

Javascript

  • incrementalGCEnabled: True

Graphics

  • adapterDescription: Intel(R) HD Graphics Family
  • adapterDescription2: NVIDIA GeForce 820M
  • adapterDeviceID: 0x0a16
  • adapterDeviceID2: 0x1140
  • adapterDrivers: igdumdim64 igd10iumd64 igd10iumd64 igdumdim32 igd10iumd32 igd10iumd32
  • adapterDrivers2: nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
  • adapterRAM: Unknown
  • adapterRAM2: 2048
  • adapterSubsysID: 228a1043
  • adapterSubsysID2: 228a1043
  • adapterVendorID: 0x8086
  • adapterVendorID2: 0x10de
  • direct2DEnabled: True
  • directWriteEnabled: True
  • directWriteVersion: 6.3.9600.17415
  • driverDate: 1-22-2014
  • driverDate2: 2-2-2014
  • driverVersion: 10.18.10.3412
  • driverVersion2: 9.18.13.3260
  • info: {u'AzureCanvasBackend': u'direct2d 1.1', u'AzureFallbackCanvasBackend': u'cairo', u'AzureContentBackend': u'direct2d 1.1', u'AzureSkiaAccelerated': 0}
  • isGPU2Active: False
  • numAcceleratedWindows: 1
  • numTotalWindows: 1
  • webglRenderer: Google Inc. -- ANGLE (Intel(R) HD Graphics Family Direct3D11 vs_5_0 ps_5_0)
  • windowLayerManagerRemote: True
  • windowLayerManagerType: Direct3D 11

Modified Preferences

Misc

  • User JS: No
  • Accessibility: No
cor-el
  • Top 10 Contributor
  • Moderator
17574 solutions 158974 answers

The setting in Tools > Options > Tabs: "New pages should be opened in": "a new tab/window" is for links that specify a target window for opening a link. The browser.link.open_newwindow pref only affects links that specify a target window. You can use the browser.link.open_newwindow pref to divert links that specify a target to the current tab or a new tab. The browser.link.open_newwindow.restriction pref allows to divert (onclick) JavaScript window.open() links. Links that do not specify a target always open in the current tab unless you override that with a middle-click or Ctrl (Mac: Cmd) left-click (new tab) or Shift left-click (new window).

There are also extensions that have options how a link is opened, so you can check out the Add-ons website.

The setting in Tools > Options > Tabs: "New pages should be opened in": "a new tab/window" is for links that specify a target window for opening a link. The browser.link.open_newwindow pref only affects links that specify a target window. You can use the browser.link.open_newwindow pref to divert links that specify a target to the current tab or a new tab. The browser.link.open_newwindow.restriction pref allows to divert (onclick) JavaScript window.open() links. Links that do not specify a target always open in the current tab unless you override that with a middle-click or Ctrl (Mac: Cmd) left-click (new tab) or Shift left-click (new window). There are also extensions that have options how a link is opened, so you can check out the Add-ons website.

Question owner

Menu> Option> General> Tabs item 1 checked - Open new windows in a new tab instead

- doesn't seem to work for me :o ??

Menu> Option> General> Tabs item 1 checked - Open new windows in a new tab instead - doesn't seem to work for me :o ??
cor-el
  • Top 10 Contributor
  • Moderator
17574 solutions 158974 answers

Chosen Solution

As I wrote above, that Tabs setting only applies to links that have a target window specified. You can right-click the link and check the code in the Inspector.

If there is an 'ev' button appended then this means that JavaScript events are tied to the link.

As I wrote above, that Tabs setting only applies to links that have a target window specified. You can right-click the link and check the code in the Inspector. *https://developer.mozilla.org/Tools/Page_Inspector If there is an 'ev' button appended then this means that JavaScript events are tied to the link.

Question owner

I'm a 2 month newbie to Firefox and loving it, but my mouse died while on holiday so exploring into corners of my keyboard never seen before :o

Thanks for the assistance, much appreciated.

Retired & still learning everyday :-))

I'm a 2 month newbie to Firefox and loving it, but my mouse died while on holiday so exploring into corners of my keyboard never seen before :o Thanks for the assistance, much appreciated. Retired & still learning everyday :-))