All Apps and Add-ons

Redirector open a new window in a tab

Path Finder

The optional "target" and "windowFeatures" params on the Redirector module do not seem to give me enough flexibility. Using "target" always requires something to be passed into the window.open() "spec" parameter. If the "windowFeatures" param is not supplied a default is provided. This implementation seems to always cause the redirected page to open in a popup window.

If there was a way to tell the Redirector module to use a "target" and not provide default "windowFeatures", then window.open() will have the possibility to open in a new tab depending on browser settings.

Engager

I have found in Firefox, that using the Tab Mix plugin will enable me to open all popups as tabs in a single Firefox window. In Tab Mix options selecting Links and then changing the drop down next to "JavaScript & Popup restriction:" to "Open all popups in tabs" will result in all of the clicked links in Firefox being opened as tabs in the same Firefox window as the tab where the link resides.

0 Karma

SplunkTrust
SplunkTrust

Yep. It's on my list to find a solution. Since Redirector does its job from javascript, what it can use is window.open(), and so the target and windowFeatures params are simply direct arguments to that function.

However the problem that window.open() is inherently limited to opening new windows rather than new tabs. Worse, even for standard link clicks, whether to open a new window or a new tab is actually a browser setting and not something that the web application is traditionally able to control.

bottom line: It's in the queue. Not near the top but so that it should appear in a month or two and I'm fairly optimistic.

Don’t Miss Global Splunk
User Groups Week!

Free LIVE events worldwide 2/8-2/12
Connect, learn, and collect rad prizes
and swag!