This script allows you to 'Like Bomb' a Facebook friend, or 'Like' everything on their profile page and flood them with notifications. It's a good way to show that special someone that you like them a lot. Several times over. A link should appear above the "Post "box.
Works in Firefox and Chrome.
Before hit Like Bomb :
After hit Like Bomb:
Click here : Install
Script:
// ==UserScript==
// @name AutoLikeBomb
// @description This script will add a link to your friends' pages to "Like" everything on their profile page and flood them with notifications. Now updated for Timeline.
// @author Mark ReCupido, Brian Ciaccio
// @namespace AutoLikeBomb
// @include https://www.facebook.com/*
// @include http://www.facebook.com/*
// ==/UserScript==
window.addEventListener("load", CheckForLikeBombLink, false);
window.addEventListener("click", CheckForLikeBombLink, false);
function CheckForLikeBombLink()
{
var likeCount = 0;
ProfileActions = document.getElementsByClassName("uiList uiListHorizontal clearfix fbTimelineComposerAttachments uiComposerAttachments");
if (ProfileActions[0].lastChild.id != "LikeBomb")
{
ProfileActions[0].innerHTML += "<li class=\"plm uiListItem uiListHorizontalItemBorder uiListHorizontalItem\" id=\"LikeBomb\"><span><a class=\"uiIconText attachmentLink normal\" tabindex=\"0\" href=\"#\"><strong>Like Bomb</strong></a></li>";
ProfileActions[0].lastChild.addEventListener('click',
function()
{
if (ProfileActions[0].ownerDocument.title == "Mark ReCupido")
{
alert('Oh no you don\'t.');
}
else
{
likestoclick = document.evaluate('//*[@name="like"]', document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
for (var i = 0; i < likestoclick.snapshotLength; i++)
{
likestoclick.snapshotItem(i).click();
likeCount++;
}
alert('Like Bomb Magnitude: ' + likeCount);
likeCount = 0;
}
}, false);
}
}
0 comments:
Post a Comment