Exit Plugin
This plugin redirects links to external sites via a page of your choice.
You might want to do that to display a disclaimer
("You are leaving Foswiki, come back soon.")
or to remove topic names from HTTP referer headers.
Syntax Rules
This plugin does not extend Foswiki markup syntax.
Examples
If Exit Plugin is installed, the following link should take you to
http://365847.689093.cn/bin/rest/ExitPlugin/exit?url=//www.google.com/
http://www.google.com/
Note that these links will not be affected if the
NOEXIT
setting lists
foswiki.org
.
http://foswiki.org/Home/WebHome
http://svn.foswiki.org/
Known Issues
Cross linked images
Cross linked images (like the following) are not handled by this plugin and can still leak page names via HTTP referer headers.
<img src="http://www.example.com/logo.png" alt="Someone else's logo"/>
As images are loaded with the page (unlike links) no user action is needed to leak page names.
Installation
You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.
Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install".
If you have any problems, or if the extension isn't available in
configure
, then you can still install manually from the command-line. See
http://foswiki.org/Support/ManuallyInstallingExtensions for more help.
Plugin configuration is done through
configure
, in the "Plugins" section. You must run and save configure at least once to complete installation.
Plugin Info