On 17 January 2013 12:35, Kasper <[email protected]> wrote:
> Hi. I want to be able to remove some text on a page.
>
> The page starts with the following information:
> ---
> <!-- generel - start -->
> <%@ language="java" import="java.util.ArrayList, java.io.*" %>
> <html>
> ---
> How can i remove the <% text? The text is before the html tag.. :-/
>
> --

Are you sure this is some text somebody will receive in the browser?
this looks like serverside tags that will be interpreted, but not
generate any output.

In any case, you probably have all the nodes (even the text ones) here
 document.childNodes, is a array you can walk to find what you want to
delete  document.childNodes[index] = null;


--
ℱin del ℳensaje.

-- 
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