Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


IT WORKS NOW!
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam
View previous topic :: View next topic  
Author Message
gogodr
I post too much
Reputation: 125

Joined: 19 Dec 2006
Posts: 2041

PostPosted: Fri Jun 11, 2010 12:03 pm    Post subject: IT WORKS NOW! Reply with quote

OH yeah

Code:
// ==UserScript==
// @name           adding text styling test
// @namespace      http://forum.cheatengine.org/*
// @include        *forum.cheatengine.org/*
// ==/UserScript==
var postButton = document.forms.namedItem("post").elements.namedItem("post");


function styling(){
var newmsg = "";
var oldmsg = "";
var postMessage = document.forms.namedItem("post").elements.namedItem("message");
var newmsgpos = 0;

 if (postMessage.value.lastIndexOf("[/quote]") == -1){
   newmsg = postMessage.value;
   oldmsg = "";
   }
 else if (postMessage.value.lastIndexOf("[/quote]") != -1){
   newmsgpos = postMessage.value.lastIndexOf("[/quote]");
   newmsg = postMessage.value.substring(newmsgpos + 8);
   oldmsg = postMessage.value.substring(0,newmsgpos + 8);
   }

   

   postMessage.value = oldmsg + "[color=darkblue][size=9] " + newmsg + " [/size][/color]";
 
}

postButton.addEventListener("click", styling, true);
Back to top
View user's profile Send private message MSN Messenger
elpacco
Grandmaster Cheater Supreme
Reputation: 30

Joined: 16 Oct 2007
Posts: 1267

PostPosted: Fri Jun 11, 2010 12:04 pm    Post subject: Reply with quote

What in god's name are you adding a custom style to?
_________________
[AM]Misery wrote:

FangBanger wrote:
What is the best way for a lv19 Soldier to solo Sledge on Borderlands?
Shoot him.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
gogodr
I post too much
Reputation: 125

Joined: 19 Dec 2006
Posts: 2041

PostPosted: Fri Jun 11, 2010 12:04 pm    Post subject: Reply with quote

normal posts
Back to top
View user's profile Send private message MSN Messenger
Yazu™
How do I cheat?
Reputation: 14

Joined: 24 Oct 2008
Posts: 0

PostPosted: Fri Jun 11, 2010 12:05 pm    Post subject: Reply with quote

Gratz, gogo :­D
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
gogodr
I post too much
Reputation: 125

Joined: 19 Dec 2006
Posts: 2041

PostPosted: Fri Jun 11, 2010 12:05 pm    Post subject: Reply with quote

Dat bear wrote:
Gratz, gogo :­D

:3
Back to top
View user's profile Send private message MSN Messenger
1929394839292057839194958
Grandmaster Cheater Supreme
Reputation: 130

Joined: 22 Dec 2006
Posts: 1509

PostPosted: Fri Jun 11, 2010 12:09 pm    Post subject: Reply with quote

Herp derp
Back to top
View user's profile Send private message
Simon :v
Grandmaster Cheater
Reputation: 38

Joined: 11 Oct 2006
Posts: 708

PostPosted: Fri Jun 11, 2010 12:10 pm    Post subject: Reply with quote

Er, Cris did this for me like, back when I still went through the trouble of posting in color for every post.
Back to top
View user's profile Send private message MSN Messenger
1929394839292057839194958
Grandmaster Cheater Supreme
Reputation: 130

Joined: 22 Dec 2006
Posts: 1509

PostPosted: Fri Jun 11, 2010 12:10 pm    Post subject: Reply with quote

testtttt
Back to top
View user's profile Send private message
:^(
Grandmaster Cheater
Reputation: 109

Joined: 25 May 2007
Posts: 689

PostPosted: Fri Jun 11, 2010 12:11 pm    Post subject: Reply with quote

@Misery wrote:
Er, Cris did this for me like, back when I still went through the trouble of posting in color for every post.


Mhm.
Back to top
View user's profile Send private message
gogodr
I post too much
Reputation: 125

Joined: 19 Dec 2006
Posts: 2041

PostPosted: Fri Jun 11, 2010 12:13 pm    Post subject: Reply with quote

@Misery wrote:
Er, Cris did this for me like, back when I still went through the trouble of posting in color for every post.

;-;
Back to top
View user's profile Send private message MSN Messenger
Simon :v
Grandmaster Cheater
Reputation: 38

Joined: 11 Oct 2006
Posts: 708

PostPosted: Fri Jun 11, 2010 12:25 pm    Post subject: Reply with quote

gogodr wrote:
@Misery wrote:
Er, Cris did this for me like, back when I still went through the trouble of posting in color for every post.

;-;

Oh, yours supports quotes.
If I recall correctly, Cris' didn't have quote support (I think).
Back to top
View user's profile Send private message MSN Messenger
gogodr
I post too much
Reputation: 125

Joined: 19 Dec 2006
Posts: 2041

PostPosted: Fri Jun 11, 2010 12:26 pm    Post subject: Reply with quote

@Misery wrote:
gogodr wrote:
@Misery wrote:
Er, Cris did this for me like, back when I still went through the trouble of posting in color for every post.

;-;

Oh, yours supports quotes.
If I recall correctly, Cris' didn't have quote support (I think).

the hard thing was to make that thing.
Back to top
View user's profile Send private message MSN Messenger
Haxory'
Grandmaster Cheater Supreme
Reputation: 92

Joined: 30 Jul 2007
Posts: 1900

PostPosted: Fri Jun 11, 2010 12:26 pm    Post subject: Reply with quote

Nice gogo Smile
_________________
you and me baby ain't nothing but mammals so lets do it like they do on the discovery channel
Back to top
View user's profile Send private message
The Fish
Expert Cheater
Reputation: 3

Joined: 11 Aug 2008
Posts: 114
Location: Ohio bitch

PostPosted: Fri Jun 11, 2010 12:28 pm    Post subject: Reply with quote

I've stolen and modded it.
_________________
It was nice while it lasted.
Back to top
View user's profile Send private message
gogodr
I post too much
Reputation: 125

Joined: 19 Dec 2006
Posts: 2041

PostPosted: Fri Jun 11, 2010 12:28 pm    Post subject: Reply with quote

konr did it first
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam All times are GMT - 6 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites