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

How to block specific news feeds on YAHOO!

Postby MacSmithTX » Fri Aug 15, 2014 1:36 am

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

Re: How to block specific news feeds on YAHOO!

Postby Gingerbread Man » Fri Aug 15, 2014 7:37 am

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

Re: How to block specific news feeds on YAHOO!

Postby MacSmithTX » Fri Aug 15, 2014 11:52 am

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

Re: How to block specific news feeds on YAHOO!

Postby Gingerbread Man » Sat Aug 16, 2014 6:44 am

Code: Select all
yahoo.com##li[data-wikiids*="Dear_Abby"]
User avatar
Gingerbread Man
 
Posts: 1339
Joined: Fri Aug 12, 2011 5:28 am

Re: How to block specific news feeds on YAHOO!

Postby MacSmithTX » Sat Aug 16, 2014 11:15 am

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

Re: How to block specific news feeds on YAHOO!

Postby Gingerbread Man » Sun Aug 17, 2014 6:41 am

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

Re: How to block specific news feeds on YAHOO!

Postby MacSmithTX » Sun Aug 17, 2014 9:23 am

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

Re: How to block specific news feeds on YAHOO!

Postby Gingerbread Man » Mon Aug 18, 2014 6:59 am

You're welcome.

Set up mail filters to get rid of unwanted messages.
https://help.yahoo.com/kb/mail-for-desktop/stop-spam-yahoo-mail-sln3227.html
User avatar
Gingerbread Man
 
Posts: 1339
Joined: Fri Aug 12, 2011 5:28 am

Re: How to block specific news feeds on YAHOO!

Postby MacSmithTX » Sat Aug 23, 2014 8:19 pm

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

Re: How to block specific news feeds on YAHOO!

Postby Gingerbread Man » Sun Aug 24, 2014 6:45 am

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

Re: How to block specific news feeds on YAHOO!

Postby MacSmithTX » Sun Aug 24, 2014 11:01 pm

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

Re: How to block specific news feeds on YAHOO!

Postby Gingerbread Man » Mon Aug 25, 2014 6:14 am

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

Re: How to block specific news feeds on YAHOO!

Postby blackhand » Tue Sep 16, 2014 4:19 am

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!
blackhand
 

Re: How to block specific news feeds on YAHOO!

Postby Gingerbread Man » Tue Sep 16, 2014 6:18 am

Adding custom filters isn't possible in the Internet Explorer version. You can try copying your filters database from Firefox.
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.
User avatar
Gingerbread Man
 
Posts: 1339
Joined: Fri Aug 12, 2011 5:28 am

Re: How to block specific news feeds on YAHOO!

Postby Maxino » Thu Oct 16, 2014 1:18 am

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

Next

Return to Filters for Adblock Plus

Who is online

Users browsing this forum: Google [Bot] and 4 guests