NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name smotriBcastList // @description Show broadcast list with details. Script runs on smotri.com (and mirrors). // @version 3.4 // @author Max Max // @license MIT // @include http://smotri.com/broadcast/list/ // @include http://smotri.com/broadcast/list/* // @include http://smotri.com/user/* // @include http://*/broadcast/list/ // @include http://*/broadcast/list/* // @include http://*/user/* // @match http://smotri.com/broadcast/list/ // @match http://smotri.com/broadcast/list/* // @match http://smotri.com/user/* // @match http://*/broadcast/list/ // @match http://*/broadcast/list/* // @match http://*/user/* // @icon http://i58.tinypic.com/1tpu1l.png // @run-at document-end // @grant none // ==/UserScript== // [1] не запускаем скрипт во фреймах if (window.self!=window.top) {return} // [2] дополнительно подсказка хромиуму var sFlag=false; if (window.location.href.match(/\/broadcast\/list\//)) {sFlag=true} if (window.location.href.match(/\/user\//)) {sFlag=true} if (!sFlag) {return} // [3] для уникальности проверяем тег if (!document.getElementById('UserInbox')) {return}