[Antisocial] rules blocking access to Yahoo Mail contacts

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
g63marty
Posts: 5
Joined: Tue Jul 19, 2011 12:08 am

[Antisocial] rules blocking access to Yahoo Mail contacts

Post by g63marty »

Hi Hubird.

I am having a consistent issued with Antisocial when trying to edit a contact in Yahoo! mail.

Using Firefox 5 or 6 beta on win 7 x64
Filters in use: EasyList + Malware Domain + Antisocial

After testing I have found that only these two rules are causing the issue:

/linkedin.$domain=~linkedin.com
/twitter.$~stylesheet,domain=~twitter.com|~wwe.com

When EITHER rule is enabled, then the problem occurs. Only if BOTH rules are disabled is the problem fixed. It is also not a combination issue with EasyList and/or Malware Domain. For testing only Antisocial filter was active.

Unfortunately that is where my debugging skills come to an abrupt end. I can see in the frame source that complete info for all contacts are loaded when the contacts tab is clicked. So the issue is seems to be buried in a css or javascript onClick or similar event that simply displays the info on the right side.

Steps to recreate problem:

1) temporarily disable Antisocial filter in Adblock plus
2) create or use an existing Yahoo! mail account.
3) if no contacts exist, create a contact with name and email. save.
Click on Contacts tab.
In the middle column, click on the first contact (not the email address link).
Correct behavior is for the contact's information to show in the right half of the window along with Edit and Delete buttons.
4) sign out of yahoo. clear browser cache and restart browser
Note: I found step 4 was not really required, but included it to make sure. I used a page reload in subsequent tests.
5) enable Antisocial (all rules)
6) sign into Yahoo! mail.
7) Click on Contacts tab.
Follow 3) above. My observed behavior is that nothing happens when a contact is clicked. There is no contact information, nor Edit or Delete buttons.
8) disable both above rules in Antisocial (they're the only Antisocial rules with hit counts)
9) reload the yahoo page. Follow 3) above. My contacts now behave properly.

Hope this helps.
Keep up the great work!

-- MartyG
User avatar
Hubird
Posts: 2850
Joined: Thu Oct 26, 2006 2:59 pm
Location: Australia
Contact:

Re: [Antisocial] rules blocking access to Yahoo Mail contacts

Post by Hubird »

I am having issues with contacts in the new yahoo mail with or without ABP enabled.

Might be a Firefox 6 related issue, I'll take another look when I get home from work.

EDIT:

Same issue in Opera.

contacts never load... :?
User avatar
Hubird
Posts: 2850
Joined: Thu Oct 26, 2006 2:59 pm
Location: Australia
Contact:

Re: [Antisocial] rules blocking access to Yahoo Mail contacts

Post by Hubird »

Not much to report unfortunately...

I am unable to get the Yahoo mail contacts to load in the latest nightly, Firefox 5 or Firefox 6 Beta (with or with out ABP active, tested on 2 different PC's).

Not working with Opera either (tested on 2 PC's).

Could you please create an issue report and paste the link here...

Thanks.
g63marty
Posts: 5
Joined: Tue Jul 19, 2011 12:08 am

Re: [Antisocial] rules blocking access to Yahoo Mail contacts

Post by g63marty »

Thanks Hubird.

I had an issue with the contacts not working at all last week, but I filed a report with yahoo and it seemed to be fixed the next day. Yahoo never responded to my report however....

This is the issue report link: https://reports.adblockplus.org/e09a075 ... cefe95247b

I further identified the single horribly long bad URI of yahoo code that is causing the problem. I think it was in the issue report, but I will repeat it here:

Code: Select all

http://l.yimg.com/zz/combo?qa/2.17.74/templates/js/minty/module/contacts/service/add-new.js&qa/2.17.74/templates/js/minty/module/contacts/service/import.js&qa/2.17.74/templates/js/minty/module/contacts/my-contacts/empty.js&qa/2.17.74/templates/js/minty/module/actions/deleted-contacts.js&qa/2.17.74/templates/js/minty/module/actions/contacts.js&qa/2.17.74/templates/js/_shared/module/contact/fragments/name.js&qa/2.17.74/templates/js/_shared/module/contact/deleted-card-lg.js&qa/2.17.74/templates/js/_shared/module/contact/fragments/activity.js&qa/2.17.74/templates/js/_shared/module/contact/fragments/follow.js&qa/2.17.74/templates/js/_shared/module/contact/fragments/photo.js&qa/2.17.74/templates/js/_shared/module/contact/fragments/dl/email.js&qa/2.17.74/templates/js/_shared/module/contact/fragments/info.js&qa/2.17.74/templates/js/_shared/module/contact/card-lg.js&qa/2.17.74/templates/js/_shared/module/contact/fragments/email.js&qa/2.17.74/templates/js/_shared/module/contact/card-empty.js&qa/2.17.74/templates/js/_shared/module/contact/fragments/dl/generic.js&qa/2.17.74/templates/js/_shared/module/contact/fragments/dl/yim.js&qa/2.17.74/templates/js/_shared/module/contact/fragments/dl/mobile.js&qa/2.17.74/templates/js/_shared/module/contact/fragments/dl/lists.js&qa/2.17.74/templates/js/_shared/module/contact/fragments/dl/address.js&qa/2.17.74/templates/js/_shared/module/contact/fragments/dl/url.js&qa/2.17.74/templates/js/_shared/module/contact/fragments/dl/birthday.js&qa/2.17.74/templates/js/_shared/module/contact/fragments/dl/anniversary.js&qa/2.17.74/templates/js/_shared/module/contact/fragments/date/last-update.js&qa/2.17.74/templates/js/minty/module/contacts/details/basic.js&qa/2.17.74/templates/js/minty/module/contacts/details/other/facebook.js&qa/2.17.74/templates/js/minty/module/contacts/details/other/linkedin.js&qa/2.17.74/templates/js/minty/module/contacts/details/other/twitter.js&qa/2.17.74/templates/js/minty/module/contacts/details/other.js&qa/2.17.74/templates/js/minty/module/contacts/recent/emails.js&qa/2.17.74/templates/js/minty/module/contacts/service/clean.js&qa/2.17.74/templates/js/minty/module/contacts/my-contacts/default.js&qa/2.17.74/templates/js/minty/module/contacts/service/compose.js&qa/2.17.74/templates/js/minty/module/contacts/service/create-list.js&qa/2.17.74/templates/js/minty/module/contacts/service/delete.js&qa/2.17.74/templates/js/minty/module/contacts/my-contacts/content.js&qa/2.17.74/templates/js/minty/module/contacts/my-contacts.js
Note that it is a short URL followed by multiple parameters, each of which is a bit of javascript. One of the parameters is twitter,

Code: Select all

&qa/2.17.74/templates/js/minty/module/contacts/details/other/twitter.js
Another is linkedin

Code: Select all

&qa/2.17.74/templates/js/minty/module/contacts/details/other/linkedin.js
Which I think is why the filters are triggered, the whole line is ignored, and clicking on a contact doesn't work.
So how does one write a filter with a regular expression that removes the offending parameters and leaves the rest of the line in tact?

Thanks for your help!

MartyG
User avatar
Hubird
Posts: 2850
Joined: Thu Oct 26, 2006 2:59 pm
Location: Australia
Contact:

Re: [Antisocial] rules blocking access to Yahoo Mail contacts

Post by Hubird »

If you add

Code: Select all

@@||yimg.com^*/contact/card-$script,domain=mail.yahoo.com
Does that fix the problem (I'm working blind here so open to suggestions).

I want to whitelist the offending scripts (and only the offending scripts).
Zlip792
Posts: 78
Joined: Fri Jul 15, 2011 10:03 am
Location: Pakistan

Re: [Antisocial] rules blocking access to Yahoo Mail contacts

Post by Zlip792 »

Thanks Hubird.
It fixed issue for me. Previously I was unable to add contacts because clicking on Add Contacts does not show anything. Now it is working after adding your filter. Thanks a lot.
User avatar
Hubird
Posts: 2850
Joined: Thu Oct 26, 2006 2:59 pm
Location: Australia
Contact:

Re: [Antisocial] rules blocking access to Yahoo Mail contacts

Post by Hubird »

Glad it works...

Can you please provide another issue report with the filter active (I want to check to make sure nothing is whitelisted that does not need to be before I add it to the list).
g63marty
Posts: 5
Joined: Tue Jul 19, 2011 12:08 am

Re: [Antisocial] rules blocking access to Yahoo Mail contacts

Post by g63marty »

Hubird wrote:If you add

Code: Select all

@@||yimg.com^*/contact/card-$script,domain=mail.yahoo.com
Does that fix the problem (I'm working blind here so open to suggestions).
Hello again!

Yes it does seem to fix the problem. Thank you!

The Blockable Items list shows the same line but now it is white-listed with the code you provided. I browsed to other Yahoo features (notepad, calendar) to see if it was blocking too much or too little and it seemed to be OK.

I'm a bit slow on the international side. I don't know if you were creating an Australian yahoo account or a US account. I'm on the US servers. For testing you may be able to create US email going to mail.yahoo.com, registering and using a bogus US address?. Dunno for sure. Just a guess. Not sure why Yahoo wouldn't notice that contacts are not working in AUS.

Cheers!
MartyG
User avatar
Hubird
Posts: 2850
Joined: Thu Oct 26, 2006 2:59 pm
Location: Australia
Contact:

Re: [Antisocial] rules blocking access to Yahoo Mail contacts

Post by Hubird »

Managed to get it working for a quick test by using a proxy.

The filter seem to fix the problem and without whitelisting any unnecessary items.

It has been added to the Antisocial subscription, you can force an update and remove it from your personal filters.
Locked