Page 1 of 2

How to block specific news feeds on YAHOO!

Posted: Fri Aug 15, 2014 1:36 am
by MacSmithTX
I would like to be able to block specific feeds in YAHOO! news [example: I don't want anything from "Dear Abby" to show in list]
If their Content Preferences actually worked an additional filter should not be necessary. All suggestions/ideas appreciated.

Re: How to block specific news feeds on YAHOO!

Posted: Fri Aug 15, 2014 7:37 am
by Gingerbread Man
Please provide a link to the page in question and explain what you don't want to see there.

I don't see any Dear Abby articles on the main page. Going based on what I see in the Dear Abby category, this should hide all such articles:

Code: Select all

news.yahoo.com##li[data-wikiids*="Dear_Abby"]

Re: How to block specific news feeds on YAHOO!

Posted: Fri Aug 15, 2014 11:52 am
by MacSmithTX
https://www.yahoo.com/ (view is the same at: http://www.yahoo.com/ • but I need to block while logged in)

There is a list of stories from sources such as …

US News & World Report from RSS
Associated Press
Reuters
Huffington Post
Motley Fool

I want to be able to block story sources I'm not interested in from displaying in the list.

Re: How to block specific news feeds on YAHOO!

Posted: Sat Aug 16, 2014 6:44 am
by Gingerbread Man

Code: Select all

yahoo.com##li[data-wikiids*="Dear_Abby"]

Re: How to block specific news feeds on YAHOO!

Posted: Sat Aug 16, 2014 11:15 am
by MacSmithTX
Since "Dear Abby" appears infrequently, I tried replacing "Dear Abby" with those from my list of examples and was unable to stop any from appearing in the story list.

Re: How to block specific news feeds on YAHOO!

Posted: Sun Aug 17, 2014 6:41 am
by Gingerbread Man
I can't tell you what went wrong without a concrete example.
  1. Right-click an article title and choose Inspect Element. This menu item may be labeled something different depending on which browser you use.
  2. A page inspector pane should now be open at the bottom of the window, focused on the a element. The page structure looks like this: li > div > div > div > h3 > a.
  3. It's the ancestor li element that you need to examine. Have a look at its data-wikiids and data-url attributes and see if there's anything in their values that identifies the source of the article. For example, the following would hide all articles from the BBC:

    Code: Select all

    yahoo.com##li[data-url*="bbc.co.uk"]

Re: How to block specific news feeds on YAHOO!

Posted: Sun Aug 17, 2014 9:23 am
by MacSmithTX
Okay, finding the URL in the a element and inserting it in your filter — yahoo.com##li[data-url*="URL TO BE BLOCKED"] — has worked on all I've tried it on so far. Thanks very much!

What would the filter look like to do basically the same thing to spam in YAHOO! mail?

Re: How to block specific news feeds on YAHOO!

Posted: Mon Aug 18, 2014 6:59 am
by Gingerbread Man
You're welcome.

Set up mail filters to get rid of unwanted messages.
https://help.yahoo.com/kb/mail-for-desk ... n3227.html

Re: How to block specific news feeds on YAHOO!

Posted: Sat Aug 23, 2014 8:19 pm
by MacSmithTX
yahoo.com##li[data-url*="URL TO BE BLOCKED"] — has worked for nine days and now it doesn't. Is this normal? How do you get it working again and then stay working?

Re: How to block specific news feeds on YAHOO!

Posted: Sun Aug 24, 2014 6:45 am
by Gingerbread Man
Gingerbread Man wrote:Please provide a link to the page in question and explain what you don't want to see there.
Gingerbread Man wrote:I can't tell you what went wrong without a concrete example.

Re: How to block specific news feeds on YAHOO!

Posted: Sun Aug 24, 2014 11:01 pm
by MacSmithTX
A couple of examples for https://www.yahoo.com/

yahoo.com##li[data-url*="www.fool.com"]
yahoo.com##li[data-url*="www.huffingtonpost.com"]

both have, but neither are currently blocking stories from these sites.

Re: How to block specific news feeds on YAHOO!

Posted: Mon Aug 25, 2014 6:14 am
by Gingerbread Man
Works for me. Those filters hid the article "Is The American Express Black Card Really Worth It?" from the former and "6 Vegetables That Might Save Your Life" from the latter.

I don't know what's up on your end. If you use Firefox, you can click the Adblock Plus icon and choose Open Blockable Items to see what filters are applied to the page. That might explain why the content isn't hidden for you (if you have exception filters that override the hiding ones, or the hiding filters are disabled, or something else).

Re: How to block specific news feeds on YAHOO!

Posted: Tue Sep 16, 2014 4:19 am
by blackhand
Sorry to jump this thread, I'm using IE10 w/Adblockplus. Where would I put the code you suggest? All I have is the ABP Settings which has options for easylist and manage of adds, but it is an inclusive part.
I can see the elements on my yahoo news feed, but have no idea where to add the info to ABP.
Or am I just completely missing something here?
Thanks!

Re: How to block specific news feeds on YAHOO!

Posted: Tue Sep 16, 2014 6:18 am
by Gingerbread Man
Adding custom filters isn't possible in the Internet Explorer version. You can try copying your filters database from Firefox.
forum/viewtopic.php?f=16&t=24808&p=105765#p105765

Mind you, I no longer see a data-url attribute on any of the li elements. So at first glance, filtering out articles with Adblock Plus is no longer possible.

Re: How to block specific news feeds on YAHOO!

Posted: Thu Oct 16, 2014 1:18 am
by Maxino
Hi Gingerbread Man, unfortunately Yahoo changed something and the data-url not showing anymore.
Is there another way to block a specific site from the feed? Can't figure it out myself.

Thanks.