1. https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo
2. // ==UserScript==
// @name Cancel Request
// @namespace Automatically
// @description Melakukan Cancel Request secara brutal
// @include http://*.facebook.com/*
// @include http://facebook.com/*
// @include https://*.facebook.com/*
// @version 1.0
// ==/UserScript==
// ==============
//Cancel Request
body = document.body;
if(body != null) {
div = document.createElement("div");
div.style.position = "fixed";
div.style.bottom = "+0px";
div.style.width = "+130px";
div.style.left = "+10px";
div.style.backgroundColor = "#eceff5";
div.style.border = "1px solid #94a3c4";
div.style.padding = "5px 10px";
div.innerHTML = "<a style=\"font-weight:bold;color:#333333\" href=\"JavaScript:CancelRequest()\">Cancel Request</a>"
body.appendChild(div);
unsafeWindow.CancelRequest = function() {
buttons = document.getElementsByTagName("button");
for(i = 0; i < buttons.length; i++) {
myClass = buttons[i].getAttribute("value");
if(myClass != null && myClass.indexOf("Undo") >= 0)
buttons[i].click();
}
};
}
// ==============
//Add Brutal
body = document.body;
if(body != null) {
div = document.createElement("div");
div.style.position = "fixed";
div.style.bottom = "+0px";
div.style.width = "+130px";
div.style.left = "+161px";
div.style.backgroundColor = "#eceff5";
div.style.border = "1px solid #94a3c4";
div.style.padding = "5px 10px";
div.innerHTML = "<a style=\"font-weight:bold;color:#333333\" href=\"JavaScript:AddBrutal()\">Add Brutal</a>"
body.appendChild(div);
unsafeWindow.AddBrutal = function() {
buttons = document.getElementsByTagName("button");
for(i = 0; i < buttons.length; i++) {
myClass = buttons[i].getAttribute("value");
if(myClass != null && myClass.indexOf("Add") >= 0)
buttons[i].click();
}
};
}
// ==============
//Add Brutal Likes
body = document.body;
if(body != null) {
div = document.createElement("div");
div.style.position = "fixed";
div.style.bottom = "+0px";
div.style.width = "+130px";
div.style.left = "+312px";
div.style.backgroundColor = "#eceff5";
div.style.border = "1px solid #94a3c4";
div.style.padding = "5px 10px";
div.innerHTML = "<a style=\"font-weight:bold;color:#333333\" href=\"JavaScript:AddBrutalLikes()\">Add Brutal Likes</a>"
body.appendChild(div);
unsafeWindow.AddBrutalLikes = function() {
buttons = document.getElementsByTagName("i");
for(i = 0; i < buttons.length; i++) {
myClass = buttons[i].getAttribute("class");
if(myClass != null && myClass.indexOf("sx_8ea8f5") >= 0)
buttons[i].click();
}
};
}
// ==============
//Confirm All
body = document.body;
if(body != null) {
div = document.createElement("div");
div.style.position = "fixed";
div.style.bottom = "+0px";
div.style.width = "+130px";
div.style.left = "+463px";
div.style.backgroundColor = "#eceff5";
div.style.border = "1px solid #94a3c4";
div.style.padding = "5px 10px";
div.innerHTML = "<a style=\"font-weight:bold;color:#333333\" href=\"JavaScript:ConfirmAll()\">Confirm All</a>"
body.appendChild(div);
unsafeWindow.ConfirmAll = function() {
buttons = document.getElementsByTagName("button");
for(i = 0; i < buttons.length; i++) {
myClass = buttons[i].getAttribute("value");
if(myClass != null && myClass.indexOf("Confirm") >= 0)
buttons[i].click();
}
};
}
3. Sava
4. Refresh


About the Author
0 comments: