Create Bookmarklet (browser bookmark that executes Javsacript) to copy a given text to Clipboard.
This is the base javascript:
(function (text) {
var node = document.createElement('textarea')
var selection = document.getSelection()
<?xml version="1.0" encoding="UTF-8"?> | |
<PROFILEINFO> | |
<Info>GarrosProfile</Info> | |
<SnapAngle>1</SnapAngle> | |
<LiftHeight>2</LiftHeight> | |
<SurfaceQuality>0</SurfaceQuality> | |
<SensInfo>001010003030007878000808</SensInfo> | |
<P0_LoopType>0</P0_LoopType> | |
<P0_ButtonFunction>1</P0_ButtonFunction> | |
<P0_ButtonID>0</P0_ButtonID> |
* { | |
display: none !important; | |
} |
* { | |
display: none !important; | |
} |
{ | |
"$locale": "en_GB", | |
"$marketingReferenceId": "SI584", | |
"$providerListingId": "cf4247be-37d8-4388-a601-5300ab18121e", | |
"address": { | |
"addressLine1": "Via S. Paolo", | |
"city": "Castellammare del Golfo", | |
"countryISO2": "IT", | |
"displayExactLocation": true, | |
"stateProvince": "Trapani", |
{ | |
"$locale": "en_GB", | |
"$marketingReferenceId": "SI584", | |
"$providerListingId": "cf4247be-37d8-4388-a601-5300ab18121e", | |
"address": { | |
"addressLine1": "Via S. Paolo", | |
"city": "Castellammare del Golfo", | |
"countryISO2": "IT", | |
"displayExactLocation": true, | |
"stateProvince": "Trapani", |
{ | |
"$locale": "en_GB", | |
"$marketingReferenceId": "SI584", | |
"$providerListingId": "cf4247be-37d8-4388-a601-5300ab18121e", | |
"address": { | |
"addressLine1": "Via S. Paolo", | |
"city": "Castellammare del Golfo", | |
"countryISO2": "IT", | |
"displayExactLocation": true, | |
"stateProvince": "Trapani", |
{ | |
"$locale": "en_GB", | |
"$marketingReferenceId": "SI584", | |
"$providerListingId": "cf4247be-37d8-4388-a601-5300ab18121e", | |
"address": { | |
"addressLine1": "Via S. Paolo", | |
"city": "Castellammare del Golfo", | |
"countryISO2": "IT", | |
"displayExactLocation": true, | |
"stateProvince": "Trapani", |
{ | |
"$locale": "en_GB", | |
"$marketingReferenceId": "SI584", | |
"$providerListingId": "cf4247be-37d8-4388-a601-5300ab18121e", | |
"address": { | |
"addressLine1": "Via S. Paolo", | |
"city": "Castellammare del Golfo", | |
"countryISO2": "IT", | |
"displayExactLocation": true, | |
"stateProvince": "Trapani", |
{ | |
"$locale": "en_GB", | |
"$marketingReferenceId": "SI584", | |
"$providerListingId": "cf4247be-37d8-4388-a601-5300ab18121e", | |
"address": { | |
"addressLine1": "Via S. Paolo", | |
"city": "Castellammare del Golfo", | |
"countryISO2": "IT", | |
"displayExactLocation": true, | |
"stateProvince": "Trapani", |