///复制网站内容自动加上网址
document.body.oncopy = function () {
setTimeout( function () {
var text = clipboardData.getData("text");
if (text) {
text = text + "/r/n 详细出处参考:"+location.href; clipboardData.setData("text", text);
}
}, 100 )
}
PHP开发记录
PHP以及web前端(ajax,js,jquery等)
|
|
|
|