Subscribe...
javascript:var%20b=document.body;if(b&&!document.xmlVersion){void(z=document.createElement('script'));void(z.src='http://www.google.com/reader/ui/subscribe-bookmarklet.js');void(b.appendChild(z));}else{location='http://www.google.com/reader/view/feed/'+encodeURIComponent(location.href)}
javascript: var b = document.body;
if (b && !document.xmlVersion) {
void(z = document.createElement('script'));
void(z.src = 'http://www.google.com/reader/ui/subscribe-bookmarklet.js');
void(b.appendChild(z));
} else {
location = 'http://www.google.com/reader/view/feed/' + encodeURIComponent(location.href)
}
subscribe-bookmarklet.js
(function() {;
var l = "/reader/view/";;;
function k() {
var f = false,
m = document.getElementsByTagName("link");
function n(e) {
var j = e,
c = window.document.location;
if (e.indexOf("/") != 0) {
var d = c.pathname.split("/");
d[d.length - 1] = e;
j = d.join("/")
}
return c.protocol + "//" + c.hostname + j
}
for (var g = 0, a; a = m[g]; g++) {
var h = a.getAttribute("type"),
i = a.getAttribute("rel");
if (h && h.match(/[\+\/]xml$/) && i && i == "alternate") {
var b = a.getAttribute("href");
if (b.indexOf("http") != 0) {
b = n(b)
}
window.document.location = "http://www.google.com" + l + "feed/" + encodeURIComponent(b);
f =
true;
break
}
}
if (!f) alert("Oops. Can't find a feed.")
}
k();
})();
and so on ...
No comments:
Post a Comment