Well. I don't have access serverside and I am only a user of the system, 
but i see this in my browser.

When I look at childNodes, the first item in the array is the 'general 
start' tag. The next on is '<html>', so they will not show as a childNode. 
That is my main problem.

Den torsdag den 17. januar 2013 12.44.09 UTC+1 skrev Tei:

> On 17 January 2013 12:35, Kasper <[email protected] <javascript:>> 
> 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 view this discussion on the web visit 
https://groups.google.com/d/msg/greasemonkey-users/-/GdvpcYvUwQ0J.
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