Открытый javascript в исходном коде сайта
Открывая исходный код любой страницы LS можно увидеть несколько javascript.
Например:
Я хотел бы узнать безопасен ли вывод подобных javascript в исходном коде и для чего он предназначен?
Можно ли как-то зашифровать их?
Например:
<script type="text/javascript">
var DIR_WEB_ROOT = 'http://livestreet.ru';
var DIR_STATIC_SKIN = 'http://livestreet.ru/templates/skin/synio';
var DIR_ROOT_ENGINE_LIB = 'http://livestreet.ru/engine/lib';
var LIVESTREET_SECURITY_KEY = 'd0ecdfcc43ff3f2abfc12b6aa114de5a';
var SESSION_ID = 'q28qloh13rsbiatnu6qtvt6ma6';
var BLOG_USE_TINYMCE = '';
var TINYMCE_LANG = 'en';
TINYMCE_LANG = 'ru';
var aRouter = new Array();
aRouter['error'] = 'http://livestreet.ru/error/';
aRouter['registration'] = 'http://livestreet.ru/registration/';
aRouter['profile'] = 'http://livestreet.ru/profile/';
aRouter['my'] = 'http://livestreet.ru/my/';
aRouter['blog'] = 'http://livestreet.ru/blog/';
aRouter['personal_blog'] = 'http://livestreet.ru/log/';
aRouter['index'] = 'http://livestreet.ru/index/';
aRouter['topic'] = 'http://livestreet.ru/topic/';
aRouter['login'] = 'http://livestreet.ru/login/';
aRouter['people'] = 'http://livestreet.ru/people/';
aRouter['settings'] = 'http://livestreet.ru/settings/';
aRouter['tag'] = 'http://livestreet.ru/tag/';
aRouter['talk'] = 'http://livestreet.ru/talk/';
aRouter['comments'] = 'http://livestreet.ru/comments/';
aRouter['rss'] = 'http://livestreet.ru/rss/';
aRouter['link'] = 'http://livestreet.ru/link/';
aRouter['question'] = 'http://livestreet.ru/question/';
aRouter['blogs'] = 'http://livestreet.ru/blogs/';
aRouter['search'] = 'http://livestreet.ru/search/';
aRouter['admin'] = 'http://livestreet.ru/admin/';
aRouter['ajax'] = 'http://livestreet.ru/ajax/';
aRouter['feed'] = 'http://livestreet.ru/feed/';
aRouter['stream'] = 'http://livestreet.ru/stream/';
aRouter['photoset'] = 'http://livestreet.ru/photoset/';
aRouter['subscribe'] = 'http://livestreet.ru/subscribe/';
aRouter['article'] = 'http://livestreet.ru/article/';
aRouter['page'] = 'http://livestreet.ru/page/';
aRouter['alltopics'] = 'http://livestreet.ru/alltopics/';
aRouter['seolib'] = 'http://livestreet.ru/seolib/';
aRouter['articles'] = 'http://livestreet.ru/articles/';
aRouter['titles'] = 'http://livestreet.ru/titles/';
</script>
Я хотел бы узнать безопасен ли вывод подобных javascript в исходном коде и для чего он предназначен?
Можно ли как-то зашифровать их?