// ==UserScript==
// @name Copy htmllink
// @description 現在見ている URL を HTML形式でクリップボードにコピーします
// @include http://*
// ==/UserScript==
/*
* @title Copy htmllink
* @description 現在見ている URL を HTML形式でクリップボードにコピーします
* @include http://*
* @license MIT License
* @require
*/
(function(w,d,l){
var b=d.createElement("input"), bs=b.style;
b.size=120;
bs.zIndex=99999;
bs.left=bs.top=0;
bs.position="fixed";
b.value=`${d.title.replace(//g,">")}`;
d.body.appendChild(b);w,scroll(0,0);b.select();
document.execCommand("copy");
})(window,document,location);