WEBINAR: On-demand webcast
How to Boost Database Development Productivity on Linux, Docker, and Kubernetes with Microsoft SQL Server 2017 REGISTER >
The folks at Tynt Insight have made this task easy for you. All you need to do is sign up for the service (which only involves providing your site's domain name, your email address and a password), and the Tynt service creates the code for you.
Using the Tynt ServiceOnce you have logged in, or created a new account, you will be provided with several choices:
You are able to choose whether or not to display an attribution link (i.e. a link to the page they are copying from), as well as a Creative Commons License, and you are able to choose where the link/license appears: above the copied text or below it.
You simply take the code they provide, and paste it into the HEAD of your web page. Once you've done that, your work is done. The loading time of the script is negligable, and once the page is loaded, the script is working, ready for someone to copy from it. Here is what it looks like when you have copied and pasted something when using this script: