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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...