Why not try FireBug:

http://www.getfirebug.com/

Allows DOM editing on the fly.

As far as using javascript:... in the address bar, I believe the DOM
of the page you're currently displaying is inaccessible using this
method of script generation.

- jake

On 6/22/07, Mark <[EMAIL PROTECTED]> wrote:
Hey,

This question is not but related to jquery but to javascript.
i hope this is the right place for that aswell.

On some sites that i visit there are some annoying ads which can be
"blocked" by changing there style to: display: none;
to do this in javascript itself you need to do something like:

document.getelementbyid('theid').style.display = 'none';

but how do i run that in the address bar so that the style of that id is
changed to none?
i tried: javascript:document.getelementbyid('theid').style.display = 'none';

but that isn`t working.

any suggestions?

Reply via email to