Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yandex direct #14

Closed
Hawkrus opened this issue Sep 14, 2016 · 8 comments
Closed

Yandex direct #14

Hawkrus opened this issue Sep 14, 2016 · 8 comments
Labels

Comments

@Hawkrus
Copy link

Hawkrus commented Sep 14, 2016

Начали здесь разбирать проблему яндекс директа - выяснилось, что правило работает корректно, но скрытое псевдо-классом оно появляется снова или меняет состояние спустя какое-то время.

@ameshkov
Copy link
Member

А я чот не могу повторить, @Alex-302 в чем там проблема?

Это случаем не то же самое что здесь #13 ?

@Alex-302
Copy link
Member

Alex-302 commented Sep 14, 2016

@ameshkov сперва реклама скрывается, потом мигает, и пропадает. Через несколько секунд может отобразиться снова. Если покрутить страницу или изменить масштаб она снова появляется; при этих же действиях она может пропасть, если была видимой.
Хром, Адгард для Win, .1302
Правила

yandex.ru,yandex.com,yandex.ua,yandex.kz,yandex.by#$#.info__map[-ext-has='div[class]:contains(Яндекс.Директ)'] { position: absolute!important; left: -2000px!important; }
yandex.ru,yandex.com,yandex.ua,yandex.kz,yandex.by#$#.navigation-city_js_inited[-ext-has='a[onmousedown*="clck.yandex."]'] { position: absolute!important; left: -2000px!important; }

У меня такого явления нет.

@ameshkov
Copy link
Member

@Alex-302 повторить все еще не могу, но предполагаю, что причина такая же как и в #13
Посмотрим как изменится когда мы этот фикс реализуем.

@Hawkrus
Copy link
Author

Hawkrus commented Sep 14, 2016

Кажется, что на странице яндекса спустя какое-то время отрабатывает скриптик, который не находит рекламку и меняет структуру, чтобы эта рекламка снова появилась. Может надо такие скриптики ловить и вырезать?

@Alex-302
Copy link
Member

@Hawkrus
можно ещё раз глянуть?

@Hawkrus
Copy link
Author

Hawkrus commented Sep 14, 2016

@Alex-302

@Alex-302
Copy link
Member

@ameshkov да, как и #13 - стиль пропадает, а если изменить размер окна снова появляется и баннер пропадает.

@Alex-302
Copy link
Member

Здесь закрываю, сошлюсь в #13

theseanl pushed a commit that referenced this issue Apr 5, 2018
…issuecomment-378521488 to master

* commit '392e427d53b708322c31e984c0c981aac71862f5':
  Fix
  Fix #13 (comment) 1. Fixed style protection, removed wasted attribute writes. 2. Completely removed all the ad hoc check whether selector is being debugged, changed it to follow proper interface method call.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants