jquery.clcp

jQuery Plugin to Clear Links to Current Page


Keywords
jquery-plugin
License
MIT
Install
bower install jquery.clcp

Documentation

Clear Links to Current Page

jQuery plugin that would automatically strip any link that was pointing to the current page. This is jQuery port of code by Jonathan Snook.

Getting Started

Download the production version or the development version.

In your web page:

<script src="jquery.js"></script>
<script src="dist/jquery.clcp.min.js"></script>
<script>
jQuery(function($) {
  $('a').clcp();
});
</script>