www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gavin (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (INFRA-7419) Enable ability to open external links in a new window
Date Mon, 10 Mar 2014 07:50:43 GMT

     [ 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

View raw message