boi1eI
BANNED | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору // ==UserScript== // @name Redirect youtube links to https // @include http://*.* // @include https://*.* // ==/UserScript== document.body.addEventListener('click', function(e){ var targ = e.target || e.srcElement; if ( targ && targ.href && targ.href.match('https:\/\/www.youtube.com') ) { targ.href = targ.href.replace('https://www.youtube.com', 'http://www.youtube.com'); } }); if ( location.href.match('https:\/\/www.youtube.com') ) { location.href = location.href.replace('https://www.youtube.com', 'http://www.youtube.com'); } | Всего записей: 1645 | Зарегистр. 02-10-2014 | Отправлено: 16:29 06-06-2015 | Исправлено: boi1eI, 16:31 06-06-2015 |
|