Two important scripts yandex.com and yandex.ru both stopped working today. Manual login works well. Can anyone check what's wrong. Many thanks in advance.
There are no visual changes on the login page, so, probably, the page link itself or some minor details should be changed in the code to get the script up and runnning. Please help who can.
I don't understand the inference to there being two scripts, I see only one. Not only that, the script file has .ru all in those places but has worked fine for a .com email address. Up until yesterday that is.
I never saw the older one. I have been using 3/6/2015 (.ru) for a .com address, working perfectly (until yesterday). This suggests it should be able to be edited to work for both. Will we get properly posted script(s) with the revisions?
I wanted to emphasize that as suggested above, I believe only the ru script is needed for both address types (not sure what happens if you have both). I have one .com address and has always worked with the ru script (until about 3 days ago, as has already been indicated here). Just trying to make this easier please...
/********************************************************** Yandex **********************************************************/ var name="Yandex.ru"; var ver="2018-07-25"; var hostString="yandex.ru";
а что вы мне спрашивайте, спросите автора xnotifier. возьмите любой скрипт http://xnotifier.tobwithu.com/scripts.php везде есть init и process . скорее какая то связь с самим расширением. Я нового ничего не придумывал, только одну строчку из старого скрипта поправил.
pangasiys, огромное спасибо! Пока всё работает. Единственное, что если установлена двухфакторная авторизация через временный пароль от яндекс.ключ, то пароль от такого ящика уже не подходит после перезапуска браузера. Но тут скорее всего дело не в скрипте, придется не закрывать браузер.
pangasiys, сейчас потестировал повнимательнее ящик яндекса с двухфакторной авторизацией. Всё-таки пароль от яндекс.ключа сбрасывается сейчас не после перезапуска браузера, а сразу после повторной проверки почты (в зависимости от того, какой интервал проверки почты задан). Это нереально поправить как-то в скрипте, чтобы хотя бы до закрытия браузера пароль яндекс.ключа подходил? На одном из моих ящиков всё-таки не хотелось бы отключать двухфакторную авторизацию.
Hi pangasiys (and tobwithu), Your yandex script gets very simple translated to a working script for yandex.com:
1. Update line 4 to: var name="Yandex.com"; - (and the script name in the comment on line 2) 2. Remove line 6: var hostString="yandex.ru"; 3. Replace all yandex.ru by yandex.com
Привет пангасийс, Ваш скрипт yandex очень просто переводится в рабочий скрипт для yandex.com:
1. Обновите строку 4: var name = "Yandex.com"; - (и название скрипта в комментарии в строке 2) 2. Удалить строку 6: var hostString = "yandex.ru"; 3. Заменить все yandex.ru на yandex.com
Я понял, что эти два сценария можно легко объединить в одно (и мое простое решение для yandex.com никогда не распространялось).
Кто-нибудь может проверить, работает ли эта комбинированная версия на yandex.ru? (Это работает для моей учетной записи yandex.com)
Вы можете скачать скрипт из Dropbox: Yandex Script (2020-04-29) (Щелкните левой кнопкой мыши и загрузите через кнопку, которая появится в правом верхнем углу)
It is now also available from the Scripts page for both yandex.ru and yandex.com users. (yandex.com users need to supply the complete <user>@yandex.com username in the XN Options account configuration)
That is because you cannot import scripts for the Firefox Quantum version of X-notifier. Mozilla does not offer that possibility to the addon developer (tobwithu in this case) for security reasons (meaning this would expose the firefox user to hacking).
Kalimist
Wed, 05/24/2017 - 02:52
Permalink
Same problem here, I use
Same problem here, I use yandex.com a lot, please take a look at this problem.
Thanks in advance.
Simnet
Wed, 05/24/2017 - 04:29
Permalink
There are no visual changes
There are no visual changes on the login page, so, probably, the page link itself or some minor details should be changed in the code to get the script up and runnning. Please help who can.
Kalimist
Wed, 05/24/2017 - 04:50
Permalink
I solved it myself
I'm not an expert but I modified the script (lines 9 and 23) and now it works. Here's the modified code: https://pastebin.com/3Yvq6X9v
(copy the code, save as: yandex.com.js and import in X-Notifier)
Compare with the original: http://xnotifier.tobwithu.com/downloads/scripts/yandex.com.js
Enjoy!
RpD
Wed, 05/24/2017 - 08:20
Permalink
Send it....
You might send it to xndevel@gmail.com and maybe the admin will post it to Scripts here.
Kalimist
Wed, 05/24/2017 - 08:27
Permalink
Done, thanks for the advice.
Done, thanks for the advice.
Simnet
Wed, 05/24/2017 - 06:44
Permalink
Kalimist, awesome. It works
Kalimist, awesome. It works now. Thank you!
Could you please advise where did you find the correct "this.dataURL" and "this.getHtml" parameters? I'd like to modify the yandex.ru script too.
Kalimist
Wed, 05/24/2017 - 07:59
Permalink
Try this one for yandex.ru,
Try this one for yandex.ru, both scripts are similar and this should work well for .ru domain:
https://pastebin.com/Kqk1Cjys
Save as: yandex.js
makedse
Wed, 05/24/2017 - 07:58
Permalink
2 scripts?
I don't understand the inference to there being two scripts, I see only one. Not only that, the script file has .ru all in those places but has worked fine for a .com email address. Up until yesterday that is.
Kalimist
Wed, 05/24/2017 - 08:05
Permalink
There are two separate
There are two scripts, one for .com and one for .ru: http://xnotifier.tobwithu.com/scripts.php?key=name&dir=-1
makedse
Wed, 05/24/2017 - 08:16
Permalink
I see
I never saw the older one. I have been using 3/6/2015 (.ru) for a .com address, working perfectly (until yesterday). This suggests it should be able to be edited to work for both. Will we get properly posted script(s) with the revisions?
Kalimist
Wed, 05/24/2017 - 08:29
Permalink
Try this one: http:/
Try this one: http://xnotifier.tobwithu.com/dp/comment/12169#comment-12169
It should work for you if you were using the .ru version of the script.
Simnet
Wed, 05/24/2017 - 15:02
Permalink
Kalimist, both scripts work
Kalimist, both scripts work like a charm now! Thanks!
makedse
Wed, 05/24/2017 - 17:17
Permalink
it works!!!
I made 3 edits manually to .ru (which is the most recent posted), as indicated above. It works fine for .com address.
JohnSmith1
Sat, 07/29/2017 - 23:33
Permalink
Kalimist, thank you. Script
Kalimist, thank you. Script for .ru works perfectly.
Simnet
Wed, 02/07/2018 - 15:09
Permalink
Both updated scripts stopped working again
Since today both scripts stopped checking.
jeroen, you as a guru, would you please check :) I can provide the testing account if needed. It seems a minor fix is required. Thanks in advance!
Hobbix2
Fri, 02/09/2018 - 23:42
Permalink
please help update this
please help update this script
makedse
Sat, 02/10/2018 - 20:18
Permalink
.ru
I wanted to emphasize that as suggested above, I believe only the ru script is needed for both address types (not sure what happens if you have both). I have one .com address and has always worked with the ru script (until about 3 days ago, as has already been indicated here). Just trying to make this easier please...
This is on 3.5.23
Simnet
Tue, 02/13/2018 - 04:16
Permalink
Kalimist
Where are you? Anybody?
makedse
Mon, 02/19/2018 - 20:44
Permalink
Is this being looked into
Is this being looked into please?
pangasiys
Wed, 02/21/2018 - 18:44
Permalink
Новый рабочий скрипт
Новый рабочий скрипт
https://pastebin.com/rZ5jH6tu
Simnet
Thu, 02/22/2018 - 15:04
Permalink
pangasiys
Спасибо! Thanks!
Simnet
Thu, 07/26/2018 - 02:58
Permalink
yandex script
yandex stopped working again. Can anyone check this?
Hobbix2
Thu, 07/26/2018 - 04:14
Permalink
please update script for
please update script for Yandex
pangasiys
Thu, 07/26/2018 - 08:57
Permalink
новый скрипт
/**********************************************************
Yandex
**********************************************************/
var name="Yandex.ru";
var ver="2018-07-25";
var hostString="yandex.ru";
function init() {
this.loginData=["https://passport.yandex.ru/passport?mode=auth", "login", "passwd", "retpath="+encodeURIComponent("https://mail.yandex.ru")];
this.dataURL="https://mail.yandex.ru";
this.viewURL="https://mail.yandex.ru";
this.cookieDomain="yandex.ru";
}
function getCount(aData) {
// 2018-02-21
// var fnd = aData.match(/"status":"ok","data":{"new":(\d+)/);\
// 2018-07-25
var fnd = aData.match(/"data":{"data":{"new":(\d+)/);
return fnd?fnd[1]:-1;
}
function process(aData,aHttp){
switch(this.stage){
case ST_LOGIN_RES:
this.stage=ST_DATA;
case ST_DATA:
this.getHtml(this.dataURL);
return false;
}
return this.baseProcess(aData,aHttp);
}
Hobbix2
Fri, 07/27/2018 - 04:12
Permalink
Спасибо
Спасибо. А зачем в вашем скрипте function process?
pangasiys
Fri, 07/27/2018 - 05:29
Permalink
а что вы мне спрашивайте,
а что вы мне спрашивайте, спросите автора xnotifier.
возьмите любой скрипт http://xnotifier.tobwithu.com/scripts.php везде есть init и process .
скорее какая то связь с самим расширением. Я нового ничего не придумывал, только одну строчку из старого скрипта поправил.
Simnet
Thu, 07/26/2018 - 16:39
Permalink
pangasiys
Благодарность
Simnet
Fri, 02/22/2019 - 00:25
Permalink
stopped working again
yandex.com (ru) script stopped checking email again. Can anyone fix it? Thank you!
Hobbix2
Fri, 02/22/2019 - 23:07
Permalink
Please update the script for
Please update the script for Yandex!
LASPB
Wed, 02/27/2019 - 18:29
Permalink
Please update the script for Yandex!
yandex.com (ru) script stopped checking email again.
Can anyone fix it?
Thank you!
pangasiys
Thu, 02/28/2019 - 18:14
Permalink
Новый скрипт: https:/
Новый скрипт: https://pastebin.com/Vqy2J1Qu
Hobbix2
Fri, 03/01/2019 - 01:36
Permalink
pangasiys, огромное спасибо!
pangasiys, огромное спасибо! Пока всё работает. Единственное, что если установлена двухфакторная авторизация через временный пароль от яндекс.ключ, то пароль от такого ящика уже не подходит после перезапуска браузера. Но тут скорее всего дело не в скрипте, придется не закрывать браузер.
Hobbix2
Fri, 03/01/2019 - 01:52
Permalink
.
pangasiys, сейчас потестировал повнимательнее ящик яндекса с двухфакторной авторизацией. Всё-таки пароль от яндекс.ключа сбрасывается сейчас не после перезапуска браузера, а сразу после повторной проверки почты (в зависимости от того, какой интервал проверки почты задан). Это нереально поправить как-то в скрипте, чтобы хотя бы до закрытия браузера пароль яндекс.ключа подходил? На одном из моих ящиков всё-таки не хотелось бы отключать двухфакторную авторизацию.
pangasiys
Fri, 03/01/2019 - 03:38
Permalink
не знаю, что там можно
не знаю, что там можно сделать, мне нет телефона на yandex, не могу посмотреть даже.
и сегодняшний способ, скорее, долго не проживёт, при малейших изменениях, уже цифру не найдёт
jeroen
Fri, 03/29/2019 - 21:44
Permalink
Yandex.com
Hi pangasiys (and tobwithu),
Your yandex script gets very simple translated to a working script for yandex.com:
1. Update line 4 to: var name="Yandex.com";
- (and the script name in the comment on line 2)
2. Remove line 6: var hostString="yandex.ru";
3. Replace all yandex.ru by yandex.com
..........................................................................
Привет пангасийс,
Ваш скрипт yandex очень просто переводится в рабочий скрипт для yandex.com:
1. Обновите строку 4: var name = "Yandex.com";
- (и название скрипта в комментарии в строке 2)
2. Удалить строку 6: var hostString = "yandex.ru";
3. Заменить все yandex.ru на yandex.com
jeroen
Thu, 04/30/2020 - 03:23
Permalink
Merging the Yandex.com and Yandex.ru Scripts
I realised the two scripts can easily get merged into one (and my easy fix for Yandex.com was never distributed).
Can someone verify that this merged version also works for yandex.ru? (It works for my yandex.com account)
You can download the script from Dropbox: Yandex Script (2020-04-29)
(Left click and download thru the button that will appear at top-right)
.................................................................................................................................
Я понял, что эти два сценария можно легко объединить в одно (и мое простое решение для yandex.com никогда не распространялось).
Кто-нибудь может проверить, работает ли эта комбинированная версия на yandex.ru? (Это работает для моей учетной записи yandex.com)
Вы можете скачать скрипт из Dropbox: Yandex Script (2020-04-29)
(Щелкните левой кнопкой мыши и загрузите через кнопку, которая появится в правом верхнем углу)
jeroen
Thu, 04/30/2020 - 09:45
Permalink
Merged Yandex Script
It is now also available from the Scripts page for both yandex.ru and yandex.com users.
(yandex.com users need to supply the complete <user>@yandex.com username in the XN Options account configuration)
Simnet
Tue, 05/12/2020 - 18:13
Permalink
workable
Thanks Bro!
booktrade
Mon, 04/01/2019 - 00:53
Permalink
I have my private domain on yandex
I have tried to add the yandex script using my domain name. But does not work. Did I do this corectly?
1. selected scripts in x-notifier
2. entered email address and password.
3. imported script
4. save.
booktrade
Mon, 04/01/2019 - 01:18
Permalink
chrome yes.
I was able to succesfully import the script into chrome and set up is working.
I can not find how to import into firefox.
Does anyone know how to make it work in firefox?
thank you.
jeroen
Mon, 04/01/2019 - 05:37
Permalink
Firefox no
That is because you cannot import scripts for the Firefox Quantum version of X-notifier. Mozilla does not offer that possibility to the addon developer (tobwithu in this case) for security reasons (meaning this would expose the firefox user to hacking).