You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Gavin (JIRA)" <ji...@apache.org> on 2014/03/10 08:50:43 UTC

[jira] [Closed] (INFRA-7419) Enable ability to open external links in a new window

     [ https://issues.apache.org/jira/browse/INFRA-7419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gavin closed INFRA-7419.
------------------------

    Resolution: Won't Fix

Sorry no can do.

I'm not adding globally enabled custom html, not going to divert away from the product norm, and target=_blank breaks back links for those using keyboard navigation and the back button - that affects disabled users and visually impaired. 

> Enable ability to open external links in a new window
> -----------------------------------------------------
>
>                 Key: INFRA-7419
>                 URL: https://issues.apache.org/jira/browse/INFRA-7419
>             Project: Infrastructure
>          Issue Type: Improvement
>          Components: Confluence
>            Reporter: Mariangela Hills
>            Assignee: Gavin
>
> Currently, when a user clicks on an external link in [1] it opens in the same page. This can be frustrating to the user, as they are directed away from the wiki docs. It will be great if the following script can be added to open external links in new pages. 
> 1) Browse> Confluence Admin > Custom HTML
> 2) Add the following script at the end of the "At end of the HEAD" section.
> <script>
> jQuery(document).ready(function() {
>   jQuery(".external-link").attr("target", "_blank");
> });
> </script>
> [1] https://cwiki.apache.org/confluence/display/STRATOS/Home
> P.S: We have used this script in WSO2 wiki spaces (e.g., [2]) and it work.
> [2] https://docs.wso2.org/display/ESB481/WSO2+Enterprise+Service+Bus+Documentation



--
This message was sent by Atlassian JIRA
(v6.2#6252)