Html Links Module

10/28/2005 20:40:03
tags: OddMuse, web

Installing a module is easy: Create a modules subdirectory in your data directory, and put the Perl file in there. It will be loaded automatically.

Download module:

This module allows you to enable HtmlLinks on locked pages only. This is a good security precaution if you want to allow things like bookmarklets or javascript, but don’t want the security risk of allowing anyone to add code to your site.

For example:

<a href="javascript:some%20code;">Click here</a>

Allowing visitors to create links like this could potentially be dangerous, but I wanted to be able to include [[BookMarklet]] on my site.

When using this module, the $HtmlLinks variable is always set to 0, unless the source page is locked. Locked pages CAN be included in other pages that are editable by visitors, so long as the original source page is locked.

Similar Pages