0
我正在整合一個按鈕,將在我的項目中啓動Evernote Bookmarklet。書籤的代碼是:Evernote Bookmarklet
javascript:(function() {
EN_CLIP_HOST='http://www.evernote.com';
try{
var x=document.createElement('SCRIPT');
x.type='text/javascript';
x.src=EN_CLIP_HOST+'/public/bookmarkClipper.js?'+ (new Date().getTime()/100000);
document.getElementsByTagName('head')[0].appendChild(x);
}catch(e) {
location.href=EN_CLIP_HOST+'/clip.action?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);
}
})();
該代碼在HTML鏈接上使用onClick事件調用。我的問題是當Evernote剪輯並保存時刪除樣式的最佳方式是什麼?所以它可讀?
感謝您的評論。我很感激。我一定會看看他們的API。謝謝! – lislis
@leetou如果這個答案適合你,請點擊接受答案。我正在寫這個,因爲我認爲你是一個新用戶:) – Mustafa