But I want moar!
I want to make an autoclicker for a petpage, but I have put that in hold, because first I want an autoreplier for Luuux.com.
I think it's totally doable, I just don't know the right things.. So I need some help
Posted 17 April 2011 - 05:30 AM
Posted 17 April 2011 - 06:05 AM
Posted 17 April 2011 - 07:54 AM
// ==UserScript==// @name Auto Comment // @namespace Auto Comment // @description Auto commenter for Luuux.com // @include http://www.luuux.com/* // ==/UserScript== function sendclick(el){ var clickevent=document.createEvent("MouseEvents"); clickevent.initEvent("click", true, true); el.dispatchEvent(clickevent);} function spamtastic(){ var ray = ["i Like it","Thanks for sharing!","Cool","Nice","I want!"].sort(function() {return 0.5 - Math.random()}); ii=0; function a(){ var mytxt=ray.pop(); var UIComposer=unsafeWindow["UIComposer"]; for(var i in UIComposer.instances){if(UIComposer.instances[i].root.className.indexOf("UIComposer_STATE_INPUT_DISABLED")==-1){ii++; UIComposer.instances[i].setMessage(mytxt);UIComposer.instances[i].focusInput();UIComposer.instances[i].post();}} if(ray.length<=1) ray = ["Thanks for sharing","I like it","cool!","Nice <img src='http://www.neocodex.us/forum/public/style_emoticons/<#EMO_DIR#>/smile.gif' class='bbc_emoticon' alt=':)' />"].sort(function() {return 0.5 - Math.random()}); setTimeout(a,500); } a(); } GM_registerMenuCommand("i like it",function(){spamtastic()});
Posted 17 April 2011 - 06:25 PM
Posted 18 April 2011 - 02:47 AM
What would the code be for a greasemonkey script to visit links with a varied time delay like 1000-2000 ms? I'm also just trying this out so I fail, could anyone help me out?
0 members, 1 guests, 0 anonymous users