Jump to content
Дизайн и модификация IPS Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Testweb

JS ошибки в консоле

Recommended Posts

Мужики, все никак не могу исправить ошибки.

 

На всех страницах в консоле

index.php?ipbv=6ed5ba829ad6bf2c4d6f4fc7dd7b8531&charset=UTF-8&f=public/js/ipb.js,cache/lang_cache/1…:844 'webkitMovementX' is deprecated. Please use 'movementX' instead.
index.php?ipbv=6ed5ba829ad6bf2c4d6f4fc7dd7b8531&charset=UTF-8&f=public/js/ipb.js,cache/lang_cache/1…:844 'webkitMovementY' is deprecated. Please use 'movementY' instead.

 

Блин, как исправить?

Share this post


Link to post
Share on other sites
'webkitMovementX' is deprecated. Please use 'movementX' instead.

По русски написано - webkitMovementX депрекатед. плиз юзе movementX

Share this post


Link to post
Share on other sites

Не подскажешь, что необходимо сделать для исправления. Я плохо понимаю...

Share this post


Link to post
Share on other sites

Это не ошибка, это предупреждение, встроенного в браузер интерпретатора js, о том, что какой-то скрипт использует устаревшую функцию. Можно оставить все как есть, скрипт будет работать. Можно поиском по файлам пробежаться и заменить, но нужно уточнить синтаксис.

Share this post


Link to post
Share on other sites

Блин не однократно пробежался поиском, пусто...

Share this post


Link to post
Share on other sites

Мужики, хелп!

Share this post


Link to post
Share on other sites

Если в дистрибутиве IP.Board искали, то зря. Искать нужно либо на сервере, либо в дистрибутивах установленных приложений и хуков. И не только в файлах .js, но и в .php и .xml. А если руками правили темы, вставляли туда срипты каких нибудь счетчиков, например, то и в базе или в кеше скинов.

Share this post


Link to post
Share on other sites

Блин, ничего не понял...

 

Я во всех файлах сайта искал, в независимости типа. Проблема не в счетчиках...

Edited by Testweb

Share this post


Link to post
Share on other sites

Блин тут почитал в нете, офигел. У одного аналогичная ошибка, у него сшел в скрипте был. Удалив, все ок стало..

 

Мне та что делать? Все переискал.

Share this post


Link to post
Share on other sites

Искать. Открыть в браузере указанный адрес скрипта не пробовали? Почему адрес форума не указан в профиле?

Share this post


Link to post
Share on other sites

Значит ищите код с деобфускацией.

base64_decode

И смотрите что там скрыли, можно здесь - http://base64.ru/

Share this post


Link to post
Share on other sites

@Testweb, Вам же по-русски написали, что предупреждение ни на что не влияет.

Открыть в браузере указанный адрес скрипта не пробовали?
Там же "сшел", вдруг еще все рухнет.

 

/public/js/ips.hovercard.js

for( var i in e ) { _newEvent[i] = e[i]; }

  • Upvote 2

Share this post


Link to post
Share on other sites

Знать как что тут исправить, ни webkitMovementX ни movementX. Как и что тут заменить?

Share this post


Link to post
Share on other sites

Как и что тут заменить?

		for( var i in e ) {
		if(i != 'webkitMovementY' && i != 'webkitMovementX') {
			_newEvent[i] = e[i];
		}
	}

  • Upvote 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...