網路書籤

出自 ProgWiki
前往: 導覽搜尋

Google

<a href="javascript:void window.open('http://www.google.com/bookmarks/mark?op=add&bkmk=' + encodeURIComponent(location.href) + '&title=' + encodeURIComponent(document.title))" >
<img src="/images/google.gif" title="Google Bookmarks" alt="Google Bookmarks" border="0">
</a>

Yahoo

<a href="javascript:void window.open('http://tw.myweb2.search.yahoo.com/myresults/bookmarklet?t=' + encodeURIComponent(document.title) + '&u=' + encodeURIComponent(window.location.href) + '&ei=UTF-8','popup','width=520px,height=420px,status=0,location=0,resizable=1,scrollbars=1,left=100,top=50',0)" >
<img src="/images/yahoo.gif" title="Yahoo! My Web" alt="Yahoo! My Web" border="0">
</a>

Del.icio.us

<a href="javascript:void window.open('http://del.icio.us/post?&url=' + encodeURIComponent(location.href) + '&title=' + encodeURIComponent(document.title))" >
<img src="/images/delicious.gif" title="Del.icio.us" alt="Del.icio.us" border="0">
</a>

HEMiDEMi ─ 黑米共享書籤

<a href="javascript:desc='';via='';if(document.referrer)via=document.referrer;if(typeof(_ref)!='undefined')via=_ref;if(window.getSelection)desc=window.getSelection();if(document.getSelection)desc=document.getSelection();if(document.selection)desc=document.selection.createRange().text;void(open('http://www.hemidemi.com/user_bookmark/new?title='+ encodeURIComponent(document.title) + '&url=' + encodeURIComponent(location.href) + '&description=' + encodeURIComponent(desc) + '&via=' + encodeURIComponent(via)));" >
<img src="/images/hemidemi.gif" title="HemiDemi" alt="HemiDemi" border="0">
</a>

Windows Live Favorites

<a href="javascript:void window.open('https://favorites.live.com/quickadd.aspx?mkt=zh-tw&url=' + encodeURIComponent(location.href) + '&title=' + encodeURIComponent(document.title))">
<img src="/images/windowslive.gif" title="Windows Live Favorites" alt="Windows Live Favorites" border="0">
</a>

Digg

  • Digg
  • 加入網路書籤
<a href="javascript:desc='';if(window.getSelection)desc=window.getSelection();if(document.getSelection)desc=document.getSelection();if(document.selection)desc=document.selection.createRange().text;void(open('http://digg.com/submit?phase=2&url=' + encodeURIComponent(location.href) + '&title=' + encodeURIComponent(document.title) + '&bodytext=' + encodeURIComponent(desc)));" >
<img src="/images/digg.gif" title="digg" alt="digg" border="0">
</a>

technorati

<a href="javascript:void window.open('http://technorati.com/faves?add=' + encodeURIComponent(location.href) + '&title=' + encodeURIComponent(document.title))">
<img src="/images/technorali.gif" title="technorati" alt="technorati" border="0">
</a>

其他

使用範例

  • [1](請看該網頁右上角的「加入網路書籤」)