On Jul 20, 2012, at 11:10 AM, Hans Henrik Bergan wrote:

> i need some way of having a menu, and a way to give "messages to the user" (i 
> do not want to use alert() !), and keeping the menu and messages log, 
> undetectable. 
> currently, the target site is going as far as, 
> if(document.body.innerHTML.match('specific text in the menu')){/*CHEAT 
> DETECTED*/}
> so.. how can i add a menu/message log, while leaving no trace in 
> body.innerHTML  ? (or head.innerHTML)

Not sure what you mean by a "menu", but you could display messages in a 
TEXTAREA and posting your messages via 
document.getElementById("secretTextArea").value="Message", and I believe (and a 
simple test confirms) that the value does not show up in 
document.body.innerHTML.match(/search string).

I would imagine that you could whip up some JS to detect clicks in that 
textarea to implement a secret menu of some sort, if needed.

Dave

-- 
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en.

Reply via email to