Implement copy captured html and css text to clipboard