Script update needed for Comcast

Comcast mail no longer auto checks.  Click it will take you to the email.  But there's notification via x-notifier.

Tr3b's picture

If your script is dated 2014-05-16, then you have the latest and mine is currently working.  Comcast may be rolling it out...but either case, when I hear that Admin (tobwithu), I will reanble the Comcast account he uses to fix the script.

jeroen's picture

Click takes you to:

  1. Login page (not logged in)
  2. Inbox page (logged in)

And you probably mean NO notification from X-notifier... ?

kizer8's picture

Any update on getting the comcast script fixed and updated?

kizer8's picture

Any update on getting the comcast script fixed and updated?

kizer8's picture

Any update on getting the comcast script fixed and updated?

kizer8's picture

Any plans to update comcast script?

Tr3b's picture

What is the date of your script?

kizer8's picture

2014-05-16   Is this the newest? Is there a newer one I should be using instead?

Tr3b's picture

That is the date of my script and it works fine.

kizer8's picture

It works ok if I click on comcast from dropdown and it goes to website ok, but it never checks on it's own and always is red for me.

When you click your Comcast account... does it you all the way into your Inbox? (or just to login page)
Just to make sure my account hasn't been corrupted somehow, I delete the account definition in X-Notifier, restart my browser, and then redefine the account.

kizer8's picture

Yes it does take me into my inbox if I click on comcast account from dropdown, but its not able to check on it's own for new emails and is always red in the dropdown list.

jeroen's picture

Possible solutions:

1. It seems X-notifier does not know that you are logged in. The script provides a check for this, even checks if the user has enabled cookies (30 times with a delay of 2 sec = 60sec), but lets test if that fails. Make sure login gets done by the script, so go to your comcast account, logout and restart firefox.

2. Sometimes a cookie gets in the way. You can remove individual cookies from comcast.net at Firefox Tools-Options-Privacy. Restart browser.

3. You can also perform a clean test in a new Firefox (clean) profile.
This and more help here: http://xnotifier.tobwithu.com/dp/node/4

kizer8's picture

Thx for the suggestion, but I am using this in Chrome and not firefox.

jeroen's picture

Nice to know, since you never mentioned that and I now see this thread got started in the Script Request forum.

2. https://support.google.com/chrome/answer/95647?hl=en

3. https://support.google.com/chrome/answer/142059?hl=en

kizer8's picture

Thx for the suggestions.  I tried all your #s and still it is RED and doesn't check on it's own.  Only works if I click on it.

Have you tried a manual login to check to see if there are any popup prompts interfering?

Open a new tab, type comcast.com, then go to mail and login... see if anything pops up and asks for user (you) to do something.  If it does, take care of it and then see if X-Notifier can check.
Otherwise, if I see this happening, I usually delete the account definition in X-Notifier, then I shut down browser. Next, restart the browser, go to X-Notifier and redefine my account and test check.  (Click X-N's envelope icon, and click 'Check now'.)
If that doesn't help, I get fixated about it... and then I'll delete the account definition, uninstall X-Notifier, shutdown the browser. Then...  Restart browser, re-add X-Notifier, redefine my account... and test check for email.
But...  if you successfully followed Jeroen's #3 about creating a new Chrome profile... that should have been testing enough.
It's very odd for X-Notifier to sign you all the way into your Inbox if you click the account in X-N's dropdown account list... and then not be able to check for new email... especially when other users are still getting their Comcast email checked okay.

Have you added any new add-ons that might conflict with X-N?  Any new security software?

 

jeroen's picture

When you are logged in at your comcast account (inbox page - mark 1 or more of your messages as unread) and open the html source (Ctrl+U), you should find a line (Ctrl+F) that reads:

"name":"Inbox".                                       furtherup followed by 
(
=xxxxx=:"u":=your inbox count=)    furtherup followed by 
,"view"
meaning:  =xxxxx=  is some text
meaning:  =your inbox count=  is the number representing your unread inbox count

When you see this line in the html, the script is still correct in terms of getting that inbox count.

Concerning part of the comcast script:
function getCount(aData){
  var fnd=aData.match(/"name":"Inbox".+?(?:"u":(\d+))?,"view"/);
  return fnd?(fnd[1]?fnd[1]:0):-1;
}

jeroen's picture

  1. Ctrl+U gives you the html
  2. Ctrl+F  gives you the search interface
  3. Copy/Paste  "name":"Inbox"  in the search field
  4. Look (visually) on the found line for  (=xxxxx=:"u":  
  5. When it is not there, search (Enter) for the next  "name":"Inbox"  
    and when you find another line with that search argument, return to #4
kizer8's picture

When I go to comcast.com and click on the mail icon I get redirected to https://connect.xfinity.com/appsuite/ which is maybe why the script is not working for me...

jeroen's picture

When everybody gets redirected there by default the script needs to get updated.
When it is configurable by personal choice in the comcast account settings then only those people have this problem. Or it might be depending on region (used webserver).

jeroen's picture

But perhaps it is perfectly normal, that you get redirected?
@Tr3b: Do you also get redirected to that address?

@kizer8: And I didn't get an answer on the html check.
I get the feeling I am shooting in the dark here...

Tr3b's picture

When I got to COMCAST.COM, I get redirected to http://my.xfinity.com/?cid=cust

When I click on the MAIL icon, I get taken to a LOGIN page:  https://login.comcast.net/login?reqId=.....................

kizer8's picture

I ended up linking my hotmail and comcast emails to gmail and now only check my gmail account via xnotifier which works great.

Tr3b's picture

Comcast is rolling out changes and has broken 4 of 5 of my Comcast accounts from being checked.  Changes are still going through so some users it may still work for a while.

I have e-mailed ADMIN  and will enable the TEST account when I hear from him

 

tobwithu's picture

Updated login page uses complicated javascript to proctect non-browser login.

Unfortunately I failed to break through it.

Tr3b's picture

I will leave the test account open for you to play with.  I feel Comcast is not done yet and is still changing code.  If I select any of my greyed accounts, it does take me to the proper site though.