Skip to main content
Home
X-notifier

Main navigation

  • Home
  • Forums
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. Old forums
  4. Script Request

Yandex.com and Yandex.ru

By Simnet , 23 May 2017

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.

Forums
Script Request

Kalimist

9 years 1 month ago

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

9 years 1 month ago

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

9 years 1 month ago

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

9 years 1 month ago

In reply to I solved it myself by Kalimist

Send it....

You might send it to xndevel@gmail.com and maybe the admin will post it to Scripts here.

Kalimist

9 years 1 month ago

In reply to Send it.... by RpD

Done, thanks for the advice.

Done, thanks for the advice.

Simnet

9 years 1 month ago

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

9 years 1 month ago

In reply to Kalimist, awesome. It works by Simnet

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

9 years 1 month ago

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

9 years 1 month ago

In reply to 2 scripts? by makedse

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

9 years 1 month ago

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

9 years 1 month ago

In reply to I see by makedse

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

9 years 1 month ago

Kalimist, both scripts work

Kalimist, both scripts work like a charm now! Thanks!

makedse

9 years 1 month ago

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

8 years 11 months ago

Kalimist, thank you. Script

Kalimist, thank you. Script for .ru works perfectly.

Simnet

8 years 5 months ago

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

8 years 5 months ago

please help update this

please help update this script

makedse

8 years 5 months ago

.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

8 years 5 months ago

Kalimist

Where are you? Anybody?

makedse

8 years 4 months ago

Is this being looked into

Is this being looked into please?

pangasiys

8 years 4 months ago

Новый рабочий скрипт 

Новый рабочий скрипт 

https://pastebin.com/rZ5jH6tu

Simnet

8 years 4 months ago

pangasiys

Спасибо! Thanks!

Simnet

7 years 11 months ago

yandex script

yandex stopped working again. Can anyone check this?

Hobbix2

7 years 11 months ago

please update script for

please update script for Yandex

pangasiys

7 years 11 months ago

новый скрипт

/********************************************************** 
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

7 years 11 months ago

In reply to новый скрипт by pangasiys

Спасибо

Спасибо. А зачем в вашем скрипте function process?

pangasiys

7 years 11 months ago

In reply to Спасибо by Hobbix2

а что вы мне спрашивайте,

а что вы мне спрашивайте, спросите автора xnotifier. 
возьмите любой скрипт http://xnotifier.tobwithu.com/scripts.php везде есть init  и process . 
скорее какая то связь с самим расширением. Я нового ничего не придумывал, только одну строчку из старого скрипта поправил.

Simnet

7 years 11 months ago

pangasiys

Благодарность

Simnet

7 years 4 months ago

stopped working again

yandex.com (ru) script stopped checking email again. Can anyone fix it? Thank you!

Hobbix2

7 years 4 months ago

Please update the script for

Please update the script for Yandex!

LASPB

7 years 4 months ago

Please update the script for Yandex!

yandex.com (ru) script stopped checking email again.

Can anyone fix it?

Thank you!

pangasiys

7 years 4 months ago

Новый скрипт: https:/

Новый скрипт: https://pastebin.com/Vqy2J1Qu

Hobbix2

7 years 4 months ago

In reply to Новый скрипт: https:/ by pangasiys

pangasiys, огромное спасибо!

pangasiys, огромное спасибо! Пока всё работает. Единственное, что если установлена двухфакторная авторизация через временный пароль от яндекс.ключ, то пароль от такого ящика уже не подходит после перезапуска браузера. Но тут скорее всего дело не в скрипте, придется не закрывать браузер.

Hobbix2

7 years 4 months ago

In reply to Новый скрипт: https:/ by pangasiys

.

pangasiys, сейчас потестировал повнимательнее ящик  яндекса с двухфакторной авторизацией. Всё-таки пароль от яндекс.ключа сбрасывается сейчас не после перезапуска браузера, а сразу после повторной проверки почты (в зависимости от того, какой интервал проверки почты задан). Это нереально поправить как-то в скрипте, чтобы хотя бы до закрытия браузера пароль яндекс.ключа подходил? На одном из моих ящиков всё-таки не хотелось бы отключать двухфакторную авторизацию.

pangasiys

7 years 4 months ago

не знаю, что там можно

не знаю, что там можно сделать, мне нет телефона на yandex, не могу посмотреть даже.

и сегодняшний способ, скорее, долго не проживёт, при малейших изменениях, уже цифру не найдёт

jeroen

7 years 3 months ago

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

6 years 2 months ago

In reply to Yandex.com by jeroen

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

6 years 2 months ago

In reply to Merging the Yandex.com and Yandex.ru Scripts by jeroen

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

6 years 2 months ago

In reply to Merged Yandex Script by jeroen

workable

Thanks Bro!

booktrade

7 years 3 months ago

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

7 years 3 months ago

In reply to I have my private domain on yandex by booktrade

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

7 years 3 months ago

In reply to chrome yes. by booktrade

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

  • Log in or register to post comments
  • Default check interval not work
  • Delete X-notifier account
  • Yahoo Mail not working with X-Notifier Neo
  • So X-notifier is dead now?
  • Yahoo broken :(
More
  • Create new account
  • Reset your password
Powered by Drupal