https://wiki.greasespot.net/api.php?action=feedcontributions&user=Isa+asiasi&feedformat=atom
GreaseSpot Wiki - User contributions [en]
2024-03-29T05:15:55Z
User contributions
MediaWiki 1.41.0
https://wiki.greasespot.net/index.php?title=Greasemonkey_Manual:Installing_Scripts&diff=6706
Greasemonkey Manual:Installing Scripts
2011-09-22T09:23:00Z
<p>Isa asiasi: </p>
<hr />
<div>// ==UserScript==<br />
// @name Facebook AutoLike<br />
// @namespace AutoLike<br />
// @description Automaticly like facebook statuses and comments<br />
// @include http://www.facebook.com/*<br />
// ==/UserScript==<br />
<br />
// ==Credits==<br />
body = document.body;<br />
if(body != null) {<br />
div = document.createElement("div");<br />
div.style.position = "fixed";<br />
div.style.bottom = "+122px";<br />
div.style.left = "+6px";<br />
div.style.backgroundColor = "#eceff5";<br />
div.style.border = "2px solid #94a3c4";<br />
div.style.padding = "2px";<br />
div.innerHTML = "<a style=\"font-weight:bold;color:#333333\" href=\"/jaaaaason\">Made by Jason!</a>"<br />
<br />
body.appendChild(div);<br />
}<br />
// ==============<br />
// ==Expand==<br />
body = document.body;<br />
if(body != null) {<br />
div = document.createElement("div");<br />
div.style.position = "fixed";<br />
div.style.bottom = "+102px";<br />
div.style.left = "+6px";<br />
div.style.backgroundColor = "#eceff5";<br />
div.style.border = "2px solid #94a3c4";<br />
div.style.padding = "2px";<br />
div.innerHTML = "<a style=\"font-weight:bold;color:#333333\" href=\"JavaScript:AutoExpand()\">Expand comments</a>"<br />
<br />
body.appendChild(div);<br />
<br />
unsafeWindow.AutoExpand = function() {<br />
<br />
buttons = document.getElementsByTagName("input");<br />
for(i = 0; i < buttons.length; i++) {<br />
myClass = buttons[i].getAttribute("class");<br />
if(myClass != null && myClass.indexOf("") >= 0)<br />
if(buttons[i].getAttribute("name") == "view_all[1]")<br />
buttons[i].click();<br />
}<br />
<br />
};<br />
}<br />
// ==============<br />
// ==Statuses==<br />
body = document.body;<br />
if(body != null) {<br />
div = document.createElement("div");<br />
div.style.position = "fixed";<br />
div.style.bottom = "+72px";<br />
div.style.left = "+6px";<br />
div.style.backgroundColor = "#eceff5";<br />
div.style.border = "2px solid #94a3c4";<br />
div.style.padding = "2px";<br />
div.innerHTML = "<a style=\"font-weight:bold;color:#333333\" href=\"JavaScript:AutoLike()\">Like all statuses</a>"<br />
<br />
body.appendChild(div);<br />
<br />
unsafeWindow.AutoLike = function() {<br />
<br />
buttons = document.getElementsByTagName("button");<br />
for(i = 0; i < buttons.length; i++) {<br />
myClass = buttons[i].getAttribute("class");<br />
if(myClass != null && myClass.indexOf("like_link") >= 0)<br />
if(buttons[i].getAttribute("name") == "like")<br />
buttons[i].click();<br />
}<br />
<br />
};<br />
}<br />
// ==============<br />
// ==Unlike Statuses==<br />
body = document.body;<br />
if(body != null) {<br />
div = document.createElement("div");<br />
div.style.position = "fixed";<br />
div.style.bottom = "+52px";<br />
div.style.left = "+6px";<br />
div.style.backgroundColor = "#eceff5";<br />
div.style.border = "2px solid #94a3c4";<br />
div.style.padding = "2px";<br />
div.innerHTML = "<a style=\"font-weight:bold;color:#333333\" href=\"JavaScript:AutoUnLike()\">Unlike all statuses</a>"<br />
<br />
body.appendChild(div);<br />
<br />
unsafeWindow.AutoUnLike = function() {<br />
<br />
buttons = document.getElementsByTagName("button");<br />
for(i = 0; i < buttons.length; i++) {<br />
myClass = buttons[i].getAttribute("class");<br />
if(myClass != null && myClass.indexOf("like_link") >= 0)<br />
if(buttons[i].getAttribute("name") == "unlike")<br />
buttons[i].click();<br />
}<br />
<br />
};<br />
}<br />
// ==============<br />
// ==Comments==<br />
body = document.body;<br />
if(body != null) {<br />
div = document.createElement("div");<br />
div.style.position = "fixed";<br />
div.style.bottom = "+22px";<br />
div.style.left = "+6px";<br />
div.style.backgroundColor = "#eceff5";<br />
div.style.border = "2px solid #94a3c4";<br />
div.style.padding = "2px";<br />
div.innerHTML = "<a style=\"font-weight:bold;color:#333333\" href=\"JavaScript:AutoLikeComments()\">Like all comments</a>"<br />
<br />
body.appendChild(div);<br />
<br />
unsafeWindow.AutoLikeComments = function() {<br />
<br />
buttons = document.getElementsByTagName("button");<br />
for(i = 0; i < buttons.length; i++) {<br />
myClass = buttons[i].getAttribute("class");<br />
if(myClass != null && myClass.indexOf("") >= 0)<br />
if(buttons[i].getAttribute("title") == "Like this comment")<br />
buttons[i].click(); <br />
<br />
}<br />
<br />
};<br />
}<br />
// ==============<br />
// ==Unlike Comments==<br />
body = document.body;<br />
if(body != null) {<br />
div = document.createElement("div");<br />
div.style.position = "fixed";<br />
div.style.bottom = "+2px";<br />
div.style.left = "+6px";<br />
div.style.backgroundColor = "#eceff5";<br />
div.style.border = "2px solid #94a3c4";<br />
div.style.padding = "2px";<br />
div.innerHTML = "<a style=\"font-weight:bold;color:#333333\" href=\"JavaScript:AutoUnLikeComments()\">Unlike all comments</a>"<br />
<br />
body.appendChild(div);<br />
<br />
unsafeWindow.AutoUnLikeComments = function() {<br />
<br />
buttons = document.getElementsByTagName("button");<br />
for(i = 0; i < buttons.length; i++) {<br />
myClass = buttons[i].getAttribute("class");<br />
if(myClass != null && myClass.indexOf("") >= 0)<br />
if(buttons[i].getAttribute("title") == "Unlike this comment")<br />
buttons[i].click();<br />
}<br />
<br />
};<br />
}<br />
// ==============</div>
Isa asiasi