Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- javascript:var doc = document;
- var forums = "http://www.roblox.com/Forum/ShowForum.aspx?ForumID=";
- var board = 18;
- var floodcheck = 31000;
- var reply = "http://www.roblox.com/Forum/AddPost.aspx?PostID=";
- var frame = document.createElement('iframe');
- var threadview = "ctl00_cphRoblox_ThreadView1_ctl00_ThreadList";
- var body = "ctl00_cphRoblox_Createeditpost1_PostForm_PostBody";
- var postbutton = "ctl00_cphRoblox_Createeditpost1_PostForm_PostButton";
- var keywords = new Array("Cool...","nice!","very cool","i like it","i dont understand","sure, if i go first XD","NOU","veryyyy niceee");
- /*var keywords = new Array("u just got bot trolled");*/
- var added = String.fromCharCode(173) + " "+ String.fromCharCode(173);
- var subject = "ctl00_cphRoblox_Createeditpost1_PostForm_PostSubject";
- var posts = 0;
- function Add(str){
- keywords.push(str);
- }
- function FindPost(){
- var doc = frame.contentDocument;
- var threds = doc.getElementById(threadview).firstElementChild;
- var post = threds.children[Math.floor(Math.random()*20)+5];
- var postlink = post.children[1].firstElementChild;
- var postid = postlink.href.substring(postlink.href.indexOf("=")+1);
- return postid;
- }
- function load() {
- var loc = frame.contentWindow.location;
- var url = loc.hostname+loc.pathname;
- if (loc.href == forums + board) {
- var postid = FindPost();
- frame.contentWindow.location = reply+postid;
- } else if(url == "www.roblox.com/Forum/AddPost.aspx"){
- frame.contentDocument.getElementById(subject).value = "isuper67's FORUM ";
- frame.contentDocument.getElementById(body).value = keywords[Math.floor(Math.random()*keywords.length)]+added;
- added += String.fromCharCode(173);
- frame.contentDocument.getElementById(postbutton).click();
- posts++;
- document.title = posts+" posts";
- } else {
- setTimeout("frame.contentWindow.location = forums+board;",floodcheck);
- }
- }
- frame.onload = load;
- frame.src = forums+board;
- frame.height = 600;
- frame.width = 900;
- frame.style.position = "absolute";
- document.body.innerHTML = "";
- document.body.appendChild(frame);
- /*isuper67*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement