comment-answers.lor.user.js
changeset 2 8fdf72a91e6b
parent 1 0e20cd7b95c5
equal deleted inserted replaced
1:0e20cd7b95c5 2:8fdf72a91e6b
     1 // ==UserScript==
     1 // ==UserScript==
     2 // @name LOR comment-answers
     2 // @name LOR comment-answers
     3 // @description Ответы на комментарии для linux.org.ru. Отображаются только те ответы, которые есть на текущей странице.
     3 // @description Ответы на комментарии для linux.org.ru. Отображаются только те ответы, которые есть на текущей странице.
     4 // @author indvd00m <gotoindvdum [at] gmail [dot] com>
     4 // @author indvd00m <gotoindvdum [at] gmail [dot] com>
     5 // @license Creative Commons Attribution 3.0 Unported
     5 // @license Creative Commons Attribution 3.0 Unported
     6 // @version 0.2
     6 // @version 0.3
     7 // @namespace http://www.linux.org.ru/*
     7 // @namespace http://www.linux.org.ru/*
     8 // @namespace https://www.linux.org.ru/*
     8 // @namespace https://www.linux.org.ru/*
     9 // @include http://www.linux.org.ru/*
     9 // @include http://www.linux.org.ru/*
    10 // @include https://www.linux.org.ru/*
    10 // @include https://www.linux.org.ru/*
    11 // ==/UserScript==
    11 // ==/UserScript==
    19 	return el;
    19 	return el;
    20 };
    20 };
    21 
    21 
    22 (function (window, undefined) {
    22 (function (window, undefined) {
    23     var w;
    23     var w;
    24     if (typeof unsafeWindow != undefined) {
    24     if (typeof unsafeWindow != "undefined") {
    25         w = unsafeWindow
    25         w = unsafeWindow;
    26     } else {
    26     } else {
    27         w = window;
    27         w = window;
    28     }
    28     }
    29 
    29 
    30     if (w.self != w.top) {
    30     if (w.self != w.top) {