Advanced link filter

Categories

Component ID

1271120

Component name

Advanced link filter

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

2232

Component created

Component changed

Component body

This filter parses HTML links (excluding mailto). It may adds some REL attributes to external links, optionnally in conjonction with a javascript behavior that open the URL in a new window if the REL attribute contains external.

It is possible to define a list of domains that should be considered as internal, using wildcard if necessary.

For links to current page, a class to be added may be defined. Note that it disables the cache for the current filter format.

Any interesting feature or idea for processing links is welcome.