http://www.ftrain.com/robot_exclusion_protocol.html
This is one of those great stories that I wanted to preserve forever with this blog. Heh. Follow the link above, or I’ve copied the text below against the possibility that the author’s website will disappear.
Share on Facebook
var button = document.getElementById(‘facebook_share_link_18′) || document.getElementById(‘facebook_share_icon_18′) || document.getElementById(‘facebook_share_both_18′) || document.getElementById(‘facebook_share_button_18′);
if (button) {
button.onclick = function(e) {
var url = this.href.replace(/share\.php/, [...]
Share on Facebook
Crack Spider
Tee hee, this made me giggle. Careful, though – spiders.
Share on Facebook
var button = document.getElementById(‘facebook_share_link_68′) || document.getElementById(‘facebook_share_icon_68′) || document.getElementById(‘facebook_share_both_68′) || document.getElementById(‘facebook_share_button_68′);
if (button) {
button.onclick = function(e) {
var url = this.href.replace(/share\.php/, ‘sharer.php’);
window.open(url,’sharer’,'toolbar=0,status=0,width=626,height=436′);
return false;
}
if (button.id === ‘facebook_share_button_68′) {
button.onmouseover = function(){
this.style.color=’#fff’;
this.style.borderColor = ‘#295582′;
this.style.backgroundColor = ‘#3b5998′;
}
button.onmouseout = function(){
this.style.color = ‘#3b5998′;
this.style.borderColor = ‘#d8dfea’;
this.style.backgroundColor = ‘#fff’;
}
}
}
Share on Facebook
For my Open Source friends out there:
http://lwn.net/Articles/83360/
Share on Facebook
var button = document.getElementById(‘facebook_share_link_75′) || document.getElementById(‘facebook_share_icon_75′) || document.getElementById(‘facebook_share_both_75′) || document.getElementById(‘facebook_share_button_75′);
if (button) {
button.onclick = function(e) {
var url = this.href.replace(/share\.php/, ‘sharer.php’);
window.open(url,’sharer’,'toolbar=0,status=0,width=626,height=436′);
return false;
}
if (button.id === ‘facebook_share_button_75′) {
button.onmouseover = function(){
this.style.color=’#fff’;
this.style.borderColor = ‘#295582′;
this.style.backgroundColor = ‘#3b5998′;
}
button.onmouseout = function(){
this.style.color = ‘#3b5998′;
this.style.borderColor = ‘#d8dfea’;
this.style.backgroundColor = ‘#fff’;
}
}
}
Share on Facebook