PDA

View Full Version : XPath to select ad frames in Geocities?


1212jtraceur
06-07-2007, 03:46 PM
I'm trying to use Remove It Permanently ("RIP"), a Firefox extension, to remove the advertisement frames of Geocities sites. RIP removes elements using XPath, so I need to select the ad frames.

My current XPath is //frameset/frame[position()=2 or position()=3]

However, when I run it, it doesn't work. If you have RIP, go here (http://www.geocities.com/Athens/8136/tonguetwisters.html) and try it to see.

Is there a problem with the XPath, or is something else causing this?

Thanks,
1212jtraceur