jQuery Link Classifier

Introduction

jQuery Link Classifier adds classes to links based on their URLs. The most possible usage is for identifying external links, like links listed in External links section on Wikipedia.

This plugin does nothing with representation or visualization of link, it only adds classes, and that's all what it does. You will need to handle CSS and/or JavaScript on your own.

The protocol (scheme) is extracted from the URL, for examples, FTP of Linux Kernel, IRC of #gentoo, and an email link [email protected]. It can also add class for file extensions, such as an image file of Tux. A set of regular expressions are used for identifying some popular websites, such as Twitter, Facebook, or Google+. Or a bookmark to next section.

HTML of links in this section after process by this plugin, the original HTML source of these links do not have any classes specified: