New tab on opening content studio

Enonic version: 6.4.1

When you click something in the main menu of the XP 6.4, it opens a new tab (target="_blank"), which is kind of annoying. The main landing page ( only contains the main menu, which is always available in the top right anyhow.

If I for some reason want to open the content studio in a new tab anyhow, I could just cmd+click it, or right click and “open in a new tab”. But there’s no use case for it imho.

</rant> :wink:


Agreed. But I’m sure there is a reason for it that we don’t understand. In the mean time, you can add this user script with Tampermonkey for Chrome.

// ==UserScript==
// @name         XP helper
// @namespace
// @version      0.3
// @description  Prevent XP admin apps from opening in a new window
// @author       Michael Lazell
// @match        */admin/tool*
// @grant        none
// @require
// ==/UserScript==
/* jshint -W097 */
//'use strict';

this.$ = this.jQuery = jQuery.noConflict(true);

$(document).ready(function() {
    // Prevent admin tools from opening in a new tab.
    var links = $('.launcher-panel').find('.launcher-app-container').find('.scrollable-content').find('a');
    if(links && links.length) {
1 Like

The home screen will get more features in upcoming releases, and the idea was that it should behave like all the other tools. The idea is that users will get confused when a new window will open or not if the behaviour is inconsistent.

Also, the reason for using tabs is that each tool can now be implemented using vendors desired frameworks etc, simplified deep linking. This is similar to how you see google doing things - using the browser to isolate and speed up things.

I didn’t understand your second point - could you perhap rephrase?

All I’m saying is that it was very annoying. Chris Coyier wrote an opinion piece on this that I kind of agree with.

1 Like