Добро пожаловать в дополнения Thunderbird.
Добавляйте дополнительные функции и стили, чтобы настроить Thunderbird по своему вкусу.
ЗакрытьОтвет разработчика Kim A. Brandt
Рейтинг 4 из 5 звёзд
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 :)
Для создания своих подборок вам необходимо иметь учётную запись на сайте дополнений Mozilla.