All Apps and Add-ons

Redirector open a new window in a tab

justgrumpy
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.

vernmcc
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

sideview
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.

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...