How to block specific news feeds on YAHOO!

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
MacSmithTX
Posts: 9
Joined: Fri Aug 15, 2014 1:29 am

How to block specific news feeds on YAHOO!

Post 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.
User avatar
Gingerbread Man
Posts: 1339
Joined: Fri Aug 12, 2011 5:28 am

Re: How to block specific news feeds on YAHOO!

Post 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"]
MacSmithTX
Posts: 9
Joined: Fri Aug 15, 2014 1:29 am

Re: How to block specific news feeds on YAHOO!

Post 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.
User avatar
Gingerbread Man
Posts: 1339
Joined: Fri Aug 12, 2011 5:28 am

Re: How to block specific news feeds on YAHOO!

Post by Gingerbread Man »

Code: Select all

yahoo.com##li[data-wikiids*="Dear_Abby"]
MacSmithTX
Posts: 9
Joined: Fri Aug 15, 2014 1:29 am

Re: How to block specific news feeds on YAHOO!

Post 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.
User avatar
Gingerbread Man
Posts: 1339
Joined: Fri Aug 12, 2011 5:28 am

Re: How to block specific news feeds on YAHOO!

Post 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"]
MacSmithTX
Posts: 9
Joined: Fri Aug 15, 2014 1:29 am

Re: How to block specific news feeds on YAHOO!

Post 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?
User avatar
Gingerbread Man
Posts: 1339
Joined: Fri Aug 12, 2011 5:28 am

Re: How to block specific news feeds on YAHOO!

Post 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
MacSmithTX
Posts: 9
Joined: Fri Aug 15, 2014 1:29 am

Re: How to block specific news feeds on YAHOO!

Post 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?
User avatar
Gingerbread Man
Posts: 1339
Joined: Fri Aug 12, 2011 5:28 am

Re: How to block specific news feeds on YAHOO!

Post 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.
MacSmithTX
Posts: 9
Joined: Fri Aug 15, 2014 1:29 am

Re: How to block specific news feeds on YAHOO!

Post 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.
User avatar
Gingerbread Man
Posts: 1339
Joined: Fri Aug 12, 2011 5:28 am

Re: How to block specific news feeds on YAHOO!

Post 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).
blackhand

Re: How to block specific news feeds on YAHOO!

Post 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!
User avatar
Gingerbread Man
Posts: 1339
Joined: Fri Aug 12, 2011 5:28 am

Re: How to block specific news feeds on YAHOO!

Post 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.
Maxino

Re: How to block specific news feeds on YAHOO!

Post 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.
Locked