On 2010-04-05 01:35, Julio BĂȘtta wrote:
hey guys.. is there a way to detect when firebug changes the source
code? I need to prevent, for instance, the user to disable an overlay
that is blocking the page...

Short answer: no. Long answer... no.

If you're relying on an overlay for security, your design is flawed.

While I can't imagine a webpage system where preventing an user to remove an overlay is a good security idea, I still give you the benefit of doubt, so you can try this solution: Create a timer (setInterval / setTimeout) which checks the presence and attributes of your overlay (display, position), and, if they changed, do something like resetting them.

Clever users can remove an overlay without the help of Firebug.

NH

--
You received this message because you are subscribed to the Google Groups 
"Firebug" 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/firebug?hl=en.

Reply via email to