wiki:ExternalLinksNewWindowPlugin

Version 6 (modified by Martin Scharrer, 15 years ago) (diff)

--

Opens external links in new windows (XHTML conform)

Description

This plugin uses a simple javascript file to open all external links on TracWiki pages in a new window or, depending on your browser and its settings, in a new tab.

Bugs/Feature Requests

Existing bugs and feature requests for ExternalLinksNewWindowPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:externallinksnewwindowplugin here].

Source

You can check out ExternalLinksNewWindowPlugin from here using Subversion, or browse the source with Trac.

Installation

Use can easy_install this plugin:

easy_install http://trac-hacks.org/svn/externallinksnewwindowplugin/0.11

If you use Subversion 1.5.x you might get an error, then just try:

svn export http://trac-hacks.org/svn/externallinksnewwindowplugin/0.11 externallinksnewwindowplugin
easy_install externallinksnewwindowplugin

Afterwards you can remove the externallinksnewwindowplugin folder.

On some Linux systems you might need to run easy_install using sudo, e.g: sudo easy_install ....

Configuration

To enable this plugin put the following into your trac.ini configuration file:

[components]
tracextlinksnewwindow.* = enabled

Example

Click on any external link and see how it gets opened in a new window. :-)

Recent Changes

17623 by rjollos on 2019-12-12 21:29:37
TracExtLinksNewWindow 1.2: Add classifiers metadata

Fixes #13676.

17130 by rjollos on 2018-04-16 18:26:09
TracExtLinksNewWindow 1.1: Conform to PEP8
16394 by rjollos on 2017-03-25 09:20:58
Remove eggs
(more)

Author/Contributors

Author: martin_s
Contributors: