Cleared cache and cookies, not working in new FF profile either and the log file stays empty.
@RpD: When clicking the LinkedIn account from the XN popup, it opens in new tab, but I have to fill in username/password. What was causing that again? Same when I go to new tab from facebook f.i.
@Tr3b: I downloaded it fresh from the scripts page. Size is 2.15 kB (4kB on disk). Same as yours? And still working when you delete your script and reinstall the latest one from the scripts page?
My Thunderbird auto logs in... I have 'Enable auto login' and 'Auto login default account' checked there. In Firefox, I was having the same not-logging in, in tab, as you... looked at Options and Auto login default account was -not- checked... checkmarking it fixed auto login.
Tr3b might not want to fuss with it... if it ain't broke, don't (fuss with) it ;)
Haha, I glanced at 'Enable auto login' and thought no, but yes: that works again. Thanks RpD!
About the fuss: point taken. Although Tr2b can save his working script. Or he could copy/paste it here, so we can compare it with ours. Then again it's a shot in the dark. Like I said: Just covering all the bases...
My script has just quit working while I was testing. What I did is log out of my LinkedIn session and then click on the LinkedIn account in my sidebar and I was asked to login. Apparently my user/pass is filled in, I just need to hit "enter"
Once XN finished and was logged into LinkedIn, I clicked on LinkedIn in my sidebar and it logged in. I then logged out, did another manual "Check Now" and then clicked on LinkedIn in my sidebar again and I was prompted for user/pass (but it was filled in).
Well, I can only conclude once and again the login process fails. Session between server and client may not be established. And that will result in failing to extract the necessary data to be extracted from the failing server response. With me and RpD it is permanent. I am only puzzled why your script can establish session with the server.
And that part of the script is still far from straight forward to me and requires documentation and clarification from tobwithu. Guess it is not straight forward, because it depends on the specific webserver behavior.
So lets wait and give tobwithu time to investigate.
Since I was nt able to automatically login to LinkedIn after logging out, I shut down Cyberfo (Portable), waited till all the files cleared and fire it back up...LinkedIn was working again.
@tobwithu: Did a debug. Following match is not found. <code> var fnd=aData.match(/(https:\/\/www.google.com\/recaptcha\/api\/challenge\S+?)"/); </code>
I get process ST_LOGIN_RES stage: 201 not fnd from below code:
<code> case ST_LOGIN_RES: Components.utils.reportError("process ST_LOGIN_RES stage: "+this.stage); var fnd=aData.match(/(https:\/\/www.google.com\/recaptcha\/api\/challenge\S+?)"/); if(fnd){ var fnd2=aData.match(/<input.+?type="hidden".+?name="csrfToken".+?value="(.+?)"/); if(fnd2){ this.post=this.getForm(aData,"captcha"); this.getHtml(fnd[1]); return false; } Components.utils.reportError("process ST_LOGIN_RES stage: "+this.stage+" not fnd2"); } Components.utils.reportError("process ST_LOGIN_RES stage: "+this.stage+" not fnd"); break; </code>
The new Scripts update checker doesn't see an update for me... (for LinkedIn script). In Thunderbird, if I click the 'account' in pop-up list, it goes to the Scripts page, where new LinkIn is at top of list. In Firefox/Sea Monkey, if I click the 'account', it goes to the Updated Scripts page, and there's nothing listed.
Also, if I put an incorrect password for the username that I use for Scripts (and Forums), X-Notifier doesn't say 'Not checked'. The account will go black in the pop-up list, but no results.
If I leave the password blank, then Scripts in the account list remains gray, and will prompt me for password if I click on the account... but it will take anything (except blank, which does nothing, account remains gray)... after inputting anything for password, account again goes black, with no results. If the password is blank, and I restart browser... Scripts will come up red and 'Not checked', in the tooltip.
....to cript update checker. On one Cyberfox v210 last night, the script detected an update. This AM on the same version of Cyberfox, no update to scripts has been detected and there is a new script available when I select XN-Scripts from my sdebar.
A LinkedIn developer is fiddling with the design... and changed the form class from "login-form" to "ajax-form". Just what admin was using to find the login form name:
var fnd=aData.match(/<form class="login-form"([\s\S]+?)<\/form>/);
The login form html tag at the top of the https://www.linkedin.com page misses the name attribute (form name="login"). Therefore this script statement fails in process ST_LOGIN: var post=this.getForm(aData,"login"); after getting this page in process ST_PRE: this.getHtml("https://www.linkedin.com"); It should get the form from this page: this.getHtml("https://www.linkedin.com/uas/login"); where the form html tag does offer the name attribute. (Works for me)
Both get checked but if I click on one account and then try to switch to the other, the login does not change. I need to close that tab and then click on the other account for the login to work.
It showed as 'not checked' before I adapted the script, yes. This happened more often last week, but it used to recover until today. Which surprised me because I already saw the missing name="login" attribute from the form tag at https:www.linkedin.com a week ago. And this should cause script login failure.
Perhaps there is some code in XN that gets it from cache or XN cookiemanager... Or perhaps I am making some stupid mistake here? I can retest without my fix...
Hey... I logged into my LinkedIn and logged out, deleted my linkedin cookies, closed browser. Restarted browser and LinkedIn was -not- checked. I clicked 'Check Now' and it -was- checked. Closed browser again, restarted browser, and... LinkedIn -was- checked. Seems... normal? ...clear cookies, restart... can't initially check. I expect next interval would check.
Just verified my LinkedIn
Just verified my LinkedIn using script dated 10.08.12 and works
Me Too
Strangely enough... I just added my linkedin account with 2012-10-08 script and it can't check for mail although it will log in, in a new tab.
Login in new tab
@RpD: Same here.
New profile/Log
Cleared cache and cookies, not working in new FF profile either and the log file stays empty.
@RpD: When clicking the LinkedIn account from the XN popup, it opens in new tab, but I have to fill in username/password. What was causing that again? Same when I go to new tab from facebook f.i.
Keep session for links
Checking 'Keep session for links' solves it for facebook, but not for LinkedIn.
Script
But Tr3b's script with same date is working.
@Tr3b: I downloaded it fresh from the scripts page. Size is 2.15 kB (4kB on disk). Same as yours? And still working when you delete your script and reinstall the latest one from the scripts page?
@tobwithu: Just covering all the bases ;-)
Auto login default account?
My Thunderbird auto logs in... I have 'Enable auto login' and 'Auto login default account' checked there.
In Firefox, I was having the same not-logging in, in tab, as you... looked at Options and Auto login default account was -not- checked... checkmarking it fixed auto login.
Tr3b might not want to fuss with it... if it ain't broke, don't (fuss with) it ;)
Enable auto login
Haha, I glanced at 'Enable auto login' and thought no, but yes: that works again. Thanks RpD!
About the fuss: point taken. Although Tr2b can save his working script. Or he could copy/paste it here, so we can compare it with ours. Then again it's a shot in the dark. Like I said: Just covering all the bases...
Not Working
My script has just quit working while I was testing. What I did is log out of my LinkedIn session and then click on the LinkedIn account in my sidebar and I was asked to login. Apparently my user/pass is filled in, I just need to hit "enter"
Normal behavior
That's normal behavior. You clicked the account before XN reached its next checking cycle.
XN did finish
Once XN finished and was logged into LinkedIn, I clicked on LinkedIn in my sidebar and it logged in. I then logged out, did another manual "Check Now" and then clicked on LinkedIn in my sidebar again and I was prompted for user/pass (but it was filled in).
Login process fails
Well, I can only conclude once and again the login process fails. Session between server and client may not be established. And that will result in failing to extract the necessary data to be extracted from the failing server response. With me and RpD it is permanent. I am only puzzled why your script can establish session with the server.
And that part of the script is still far from straight forward to me and requires documentation and clarification from tobwithu. Guess it is not straight forward, because it depends on the specific webserver behavior.
So lets wait and give tobwithu time to investigate.
Interesting
Since I was nt able to automatically login to LinkedIn after logging out, I shut down Cyberfo (Portable), waited till all the files cleared and fire it back up...LinkedIn was working again.
Debug
@tobwithu: Did a debug. Following match is not found.
<code>
var fnd=aData.match(/(https:\/\/www.google.com\/recaptcha\/api\/challenge\S+?)"/);
</code>
I get process ST_LOGIN_RES stage: 201 not fnd from below code:
<code>
case ST_LOGIN_RES:
Components.utils.reportError("process ST_LOGIN_RES stage: "+this.stage);
var fnd=aData.match(/(https:\/\/www.google.com\/recaptcha\/api\/challenge\S+?)"/);
if(fnd){
var fnd2=aData.match(/<input.+?type="hidden".+?name="csrfToken".+?value="(.+?)"/);
if(fnd2){
this.post=this.getForm(aData,"captcha");
this.getHtml(fnd[1]);
return false;
}
Components.utils.reportError("process ST_LOGIN_RES stage: "+this.stage+" not fnd2");
}
Components.utils.reportError("process ST_LOGIN_RES stage: "+this.stage+" not fnd");
break;
</code>
html formatting
Should I disable rich text to get the html formatting?
var fnd=aData.match(/(https:\/\/www.google.com\/recaptcha\/api\/challenge\S+?)"/);Yep ;-)
I updated the linkedin script
I updated the linkedin script.Now you can get notification for invitation too.
Uncheck 'Notify inbox only' if you want notification for invitaion.
Ditto!
Works like a charm. I like seeing the invitation notification.
:thumbs:
Ditto!
All is well :-)
Hmm
The new Scripts update checker doesn't see an update for me... (for LinkedIn script).
In Thunderbird, if I click the 'account' in pop-up list, it goes to the Scripts page, where new LinkIn is at top of list.
In Firefox/Sea Monkey, if I click the 'account', it goes to the Updated Scripts page, and there's nothing listed.
Also, if I put an incorrect password for the username that I use for Scripts (and Forums), X-Notifier doesn't say 'Not checked'. The account will go black in the pop-up list, but no results.
If I leave the password blank, then Scripts in the account list remains gray, and will prompt me for password if I click on the account... but it will take anything (except blank, which does nothing, account remains gray)... after inputting anything for password, account again goes black, with no results.
If the password is blank, and I restart browser... Scripts will come up red and 'Not checked', in the tooltip.
???
I concur
....to cript update checker. On one Cyberfox v210 last night, the script detected an update. This AM on the same version of Cyberfox, no update to scripts has been detected and there is a new script available when I select XN-Scripts from my sdebar.
REQUEST on New Script
Can we have the 'Invitatons" label hidden when there are no new invitations as the Facebook script works?
My mistake. Done.
My mistake.
Done.
ChaChing!!
Works beautful. Will check out on my other systems later today
2 Down
I have a few more systems to check it on but this new script seems to work fine
Seems LinkedIn is failing
Seems LinkedIn is failing again. It is grey'd out
Yep, same here
I'm looking at the grey'd out account for several days already. Was wondering if it's just me ;-)
It does log you in if you
It does log you in if you click on it but just stays grey
Now Working
Script update and LinkedIn working again.
Thanks again :-)
Thanks again :-)
LinkedIn is failing again.
LinkedIn is failing again. It is grey'd out, will not log you in
Working... or not
Well...
My linkedin account in Chrome appeared to be working fine...
...but it was gray in Firefox and Thunderbird.
So I cleared linkedin cookies in FF and TB, and it seems to be working again in both (after restarting them)... for the moment.
Same remedy
I had the same remedy for Firefox.
Was working but failing again
After clearing cache and cooking, it was working but still had problems loging in using different account. now accounts are greayd out again.
Same here
Clearing linkedin cookies doesn't fix it anymore in my setup either.
And just checked Opera Next (=Chrome): not working either, same result after clearing cookies.
Login process is failing.
Login form was changed.
Login form was changed.
Updated the script.
Working now
Works for me ;)
Ditto!
Works for me :thumbs:
Broken again
New script (07.07.15) and now cannot login again
Also...
Again not checking... (nor logging in).
class of login form changed
A LinkedIn developer is fiddling with the design... and changed the form class from "login-form" to "ajax-form".
Just what admin was using to find the login form name:
var fnd=aData.match(/<form class="login-form"([\s\S]+?)<\/form>/);
Oh well... https://www.youtube.com/watch?v=O8RhZDGLEXM ;-)
New Script, 7/13/2015... works
As you may have seen from the Script Update checker... there is a new LinkedIn script.
I've added it, and it's working now for me.
I know ;-)
I have it working fine for some days already.
Script update and LinkedIn
Script update and LinkedIn working again.
Login failing again
The login form html tag at the top of the https://www.linkedin.com page misses the name attribute (form name="login").
Therefore this script statement fails in process ST_LOGIN:
var post=this.getForm(aData,"login");
after getting this page in process ST_PRE:
this.getHtml("https://www.linkedin.com");
It should get the form from this page:
this.getHtml("https://www.linkedin.com/uas/login");
where the form html tag does offer the name attribute.
(Works for me)
I will mail the solution to admin.
'not checked'?
Does your acct show as 'not checked'?
Mine is not yet failing, that I can tell.
Thanks for staying up with their games.
I have 2 Accounts
Both get checked but if I click on one account and then try to switch to the other, the login does not change. I need to close that tab and then click on the other account for the login to work.
Yep
It showed as 'not checked' before I adapted the script, yes. This happened more often last week, but it used to recover until today. Which surprised me because I already saw the missing name="login" attribute from the form tag at https:www.linkedin.com a week ago. And this should cause script login failure.
Perhaps there is some code in XN that gets it from cache or XN cookiemanager... Or perhaps I am making some stupid mistake here? I can retest without my fix...
Retested
Ok, I logged out, removed cookies and reverted my change:
Failing (red). But after manual login it recovered.
Retested same procedure plus Firefox restart.
Same result (having to login manually).
Retested with equal conditions after adding my fix:
The script logs in by itself as it should.
Perhaps one of you should test after logout, cookie removal (FF Tools - Options - Privacy - remove individual cookies- linkedin.com) and FF restart?
Check Now
Hey...
I logged into my LinkedIn and logged out, deleted my linkedin cookies, closed browser. Restarted browser and LinkedIn was -not- checked. I clicked 'Check Now' and it -was- checked. Closed browser again, restarted browser, and... LinkedIn -was- checked.
Seems... normal? ...clear cookies, restart... can't initially check. I expect next interval would check.
New script
I have installed the new LinkedIn script... and logged in/out, deleted cookies, restarted browser... and it checked LinkedIn fine.