To try the thousands of add-ons available here, download Mozilla Firefox, a fast, free way to surf the Web!
CloseWelcome to Firefox Add-ons.
Choose from thousands of extra features and styles to make Firefox your own.
CloseDeveloper reply by Kim A. Brandt
Rated 4 out of 5 stars
I'd like to see keyword element blocking be made way more intuitive. The site I'm working on is here;
http://www.kijiji.ca/b-computer/saskatoon/page-3/c16l1700197
I'd like to block all tables that contain the word 'uniway' as they are spamming up the entire site with their junk. I still have not gotten it to work.
My instinct tells me to remove `table'-elements which contain `regular-ad' in their `class'-attribute:
//table[contains(@class,'regular-ad')]
What you're asking for is; to remove a `table'-element with the case-insensitive text `uniway' in the description-link:
//table[child::tbody/tr/td[@class='description']/a[contains(translate(.,'UNIWAY','uniway'),'uniway')]]
How to make creating an XPath more intuitive? What do the users want?
I guess the problem is really that I wouldn't use a dialog, which would allow me to modify an XPath in a number of different ways, myself. This is because I know "just enough" about XPath, to write them myself :)
To create your own collections, you must have a Mozilla Add-ons account.