linkprefix plugin

Compatible with DokuWiki

2009-12-25c

plugin This plugin adds a custom string in front of all external URLs. That is useful for referer remove services.

Last updated on
2010-03-28
Provides
Render

Similar to refererremove

Tagged with links, modify, referer, remove

Purpose

I created this plugin to remove the HTTP referer most browsers send.

Why should someone want to remove the HTTP referer? I'm running a private wiki, which shouldn't be accessed by unauthorized people. If someone clicks a link in my wiki, the URL would probably transferred to the destination site. With this plugin I try to avoid this.

Updates

  • 2010-03-28: Support for interwiki links added.

Installation

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

Configuration

In order to use this plugin, you have to change the renderer_xhtml option in the configuration to linkprefix.

Customize

In the plugin configuration you can customize the string to add in front of an URL as you want. Default setting is to point to an included PHP script called redirect.php, which redirects after 1 second to the destination. This way the HTTP referer should be removed.

If you want to use an external service such as anonym.to, you can enter something like: http://anonym.to/?

Discussion

So nobody complains anything, I guess everything works fine with this plugin :o)

plugin/linkprefix.txt · Last modified: 2011/10/10 01:34 by casper
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate