<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>蝎子's life &#187; bookmark</title>
	<atom:link href="http://ohblue.com/tag/bookmark/feed/" rel="self" type="application/rss+xml" />
	<link>http://ohblue.com</link>
	<description>蜘蛛般生活 -_-!</description>
	<lastBuildDate>Thu, 06 May 2010 13:01:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>兼容IE，FF，OP的添加收藏夹</title>
		<link>http://ohblue.com/cross-browser-bookmark-code/</link>
		<comments>http://ohblue.com/cross-browser-bookmark-code/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 17:56:30 +0000</pubDate>
		<dc:creator>蝎子</dc:creator>
				<category><![CDATA[笔记]]></category>
		<category><![CDATA[bookmark]]></category>
		<category><![CDATA[收藏夹]]></category>
		<category><![CDATA[浏览器兼容]]></category>

		<guid isPermaLink="false">http://ohblue.com/%e5%85%bc%e5%ae%b9ie%ef%bc%8cff%ef%bc%8cop%e7%9a%84%e6%b7%bb%e5%8a%a0%e6%94%b6%e8%97%8f%e5%a4%b9</guid>
		<description><![CDATA[几乎兼容市面上所有浏览器的收藏夹代码]]></description>
			<content:encoded><![CDATA[<p>几乎兼容市面上所有浏览器的收藏夹代码 :p<br />
转自 http://blog.csdn.net/muxrwc/archive/2007/12/03/1913715.aspx</p>
<pre class="brush:html">
<script type="text/javascript"><!--
    var address = function (obj, url, title) {
    var e = window.event || arguments.callee.caller.arguments[0];
    var B = {
        IE : /MSIE/.test(window.navigator.userAgent) &#038;&#038; !window.opera
        , FF : /Firefox/.test(window.navigator.userAgent)
        , OP : !!window.opera
    };

    obj.onmousedown = null;

    if (B.IE) {
        obj.attachEvent("onmouseup", function () {
            try {
                window.external.AddFavorite(url, title);
                window.event.returnValue = false;
            } catch (exp) {}
        });
    } else {
        if (B.FF || obj.nodeName.toLowerCase() == "a") {
            obj.setAttribute("rel", "sidebar"), obj.title = title, obj.href = url;
        } else if (B.OP) {
            var a = document.createElement("a");
            a.rel = "sidebar", a.title = title, a.href = url;
            obj.parentNode.insertBefore(a, obj);
            a.appendChild(obj);
            a = null;
        }
    }
};
// --></script>
<img usemap="#Map" src="http://hi.csdn.net/images/csdnlogo.gif" border="0" alt="" width="280" height="60" />
<map name="Map">
<area onmousedown="address(this, 'http://www.never-online.net/', 'BlueDestiny前辈的BLOG')" shape="rect" coords="25,14,258,49"></area>
</map>

<a onmousedown="address(this, 'http://www.never-online.net/', 'BlueDestiny前辈的BLOG')" href="javascript:void(0);">添加</a>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ohblue.com/cross-browser-bookmark-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

