A lightweight javascript library which provides users with a set of options in the form of a small popover over the selected portion of text.
To get started with Selection.js, download the Script and add it to your project
<script src="https://github.com/prateekkalra/Selection-js/raw/master/selection.min.js"></script>
<script>
var selection = new Selection();
selection.init();
</script>
<script src="https://github.com/prateekkalra/Selection-js/raw/master/selection.min.js"></script>
<script>
var selection = new Selection();
selection.config({
facebook: true,
twitter: true,
search:true,
copy:true,
speak:true,
backgroundColor: 'crimson',
iconColor: '#fff',
}).init();
</script>