AegisGFX 对 Yet Another Remove It Permanently 发表的评价
评分5星,满分5星
First off Im now in love, you are a genius. I tried for hours to write an Xpath for that site and got nowhere, and I'm a programmer too I just had no clue where to go with the syntax. As for making your plugin do keyword filtering, it would be amazing but I see now that the xpath would change dramatically for every different site so it might be impossible to come up with a generic way to filter elements based on keywords. There are addons that will block an entire page based on keywords, but I would say thats not an ideal solution if all you want to block is news that includes the word "Beiber" :)
Thanks for the addon, I'm gonna start trying to teach myself xpath syntax now!
评分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 :)
评分4星,满分5星
Great addon, but is there any way to block elements based on keywords?
这个评论是针对附加组件的一个早期版本的(0.3.4.1-signed.1-signed)。If I understand you right, then yes, there is!
For example, I could remove any review mentioning `Great' on the yarip ` Reviews'-page, by using an XPath like this:
//div[starts-with(@id,'review-') and contains(child::p[@class='description'],'Great')]
请选择一个原因:
创建您自已的收藏集,您必须一个 Mozilla 附加组件账户。
或者登录您已有的账户