Skip to content

Instantly share code, notes, and snippets.

@nestdimon
Last active December 1, 2022 13:44
Show Gist options
  • Select an option

  • Save nestdimon/44122fe2c069cf5b56b3ad15b75e9aee to your computer and use it in GitHub Desktop.

Select an option

Save nestdimon/44122fe2c069cf5b56b3ad15b75e9aee to your computer and use it in GitHub Desktop.

Revisions

  1. nestdimon revised this gist Dec 1, 2022. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion yandex.search.user.js
    Original file line number Diff line number Diff line change
    @@ -6,8 +6,9 @@
    // @author NDS
    // @match https://yandex.ru/search/*
    // @icon https://www.google.com/s2/favicons?sz=64&domain=yandex.ru
    // @grant GM_addStyle
    // @require https://yastatic.net/jquery/3.3.1/jquery.min.js
    // @run-at document-start
    // @grant GM_addStyle
    // @downloadURL https://gist.github.com/nestdimon/44122fe2c069cf5b56b3ad15b75e9aee/raw
    // @updateURL https://gist.github.com/nestdimon/44122fe2c069cf5b56b3ad15b75e9aee/raw
    // ==/UserScript==
  2. nestdimon revised this gist Dec 1, 2022. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions yandex.search.user.js
    Original file line number Diff line number Diff line change
    @@ -8,8 +8,8 @@
    // @icon https://www.google.com/s2/favicons?sz=64&domain=yandex.ru
    // @grant GM_addStyle
    // @run-at document-start
    // @downloadURL https://gist.github.com/nestdimon/44122fe2c069cf5b56b3ad15b75e9aee/raw
    // @updateURL https://gist.github.com/nestdimon/44122fe2c069cf5b56b3ad15b75e9aee/raw
    // @downloadURL https://gist.githubusercontent.com/nestdimon/44122fe2c069cf5b56b3ad15b75e9aee/raw
    // @updateURL https://gist.githubusercontent.com/nestdimon/44122fe2c069cf5b56b3ad15b75e9aee/raw
    // ==/UserScript==

    (function() {
  3. nestdimon revised this gist Dec 1, 2022. 1 changed file with 6 additions and 1 deletion.
    7 changes: 6 additions & 1 deletion yandex.search.user.js
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    // ==UserScript==
    // @name Yandex search
    // @namespace NDS.yandex.search
    // @version 0.1.1
    // @version 0.2.0
    // @description Make result page more clear like "Goo"
    // @author NDS
    // @match https://yandex.ru/search/*
    @@ -75,4 +75,9 @@ html .Related-Button {
    `;

    GM_addStyle(css);

    $(document).ready(function() {
    // Удаляем переадресацию на yandex при переходе по ссылке
    $('.Link').removeAttr('data-counter')
    });
    })();
  4. nestdimon revised this gist Nov 5, 2022. 1 changed file with 26 additions and 12 deletions.
    38 changes: 26 additions & 12 deletions yandex.search.user.js
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    // ==UserScript==
    // @name Yandex search
    // @namespace NDS.yandex.search
    // @version 0.1
    // @version 0.1.1
    // @description Make result page more clear like "Goo"
    // @author NDS
    // @match https://yandex.ru/search/*
    @@ -16,17 +16,19 @@
    'use strict';

    var css = `
    /* Clear background */
    /********************
    * Clear background
    ********************/
    html .b-page__body {
    background-color: #ffffff;
    background-color: #ffffff;
    }
    html .serp-item_card {
    box-shadow: none;
    box-shadow: none;
    }
    /* Move content more to center */
    /********************
    * Move content more to center
    ********************/
    @media (min-width: 1560px) {
    html .main__center {
    margin-left: 165px;
    @@ -36,28 +38,40 @@ html .content__left {
    }
    }
    /* Bigger text */
    /********************
    * Bigger text
    ********************/
    html .Typo_text_m {
    font-size: 14px;
    }
    html .Typo_line_m.Typo_text_m {
    line-height: 1.55em;
    }
    /* Brighter link */
    /********************
    * Brighter link
    ********************/
    html .Link_theme_normal {
    color: #1a0dab;
    }
    /* Flat article */
    /********************
    * Flat article
    ********************/
    html .ArticleList {
    border: 0;
    border-left: 1px solid #dadce0;
    border-radius: 0;
    box-shadow: none;
    }
    /********************
    * Flat realted
    ********************/
    html .Related-Button {
    background-color: #fbfbfb;
    box-shadow: 0 1px 1px 0 rgb(13 35 67 / 13%);
    }
    `;

    GM_addStyle(css);
  5. nestdimon revised this gist Nov 4, 2022. 1 changed file with 64 additions and 1 deletion.
    65 changes: 64 additions & 1 deletion yandex.search.user.js
    Original file line number Diff line number Diff line change
    @@ -1 +1,64 @@
    --
    // ==UserScript==
    // @name Yandex search
    // @namespace NDS.yandex.search
    // @version 0.1
    // @description Make result page more clear like "Goo"
    // @author NDS
    // @match https://yandex.ru/search/*
    // @icon https://www.google.com/s2/favicons?sz=64&domain=yandex.ru
    // @grant GM_addStyle
    // @run-at document-start
    // @downloadURL https://gist.github.com/nestdimon/44122fe2c069cf5b56b3ad15b75e9aee/raw
    // @updateURL https://gist.github.com/nestdimon/44122fe2c069cf5b56b3ad15b75e9aee/raw
    // ==/UserScript==

    (function() {
    'use strict';

    var css = `
    /* Clear background */
    html .b-page__body {
    background-color: #ffffff;
    }
    html .serp-item_card {
    box-shadow: none;
    }
    /* Move content more to center */
    @media (min-width: 1560px) {
    html .main__center {
    margin-left: 165px;
    }
    html .content__left {
    width: 700px;
    }
    }
    /* Bigger text */
    html .Typo_text_m {
    font-size: 14px;
    }
    html .Typo_line_m.Typo_text_m {
    line-height: 1.55em;
    }
    /* Brighter link */
    html .Link_theme_normal {
    color: #1a0dab;
    }
    /* Flat article */
    html .ArticleList {
    border: 0;
    border-left: 1px solid #dadce0;
    border-radius: 0;
    box-shadow: none;
    }
    `;

    GM_addStyle(css);
    })();
  6. nestdimon created this gist Nov 4, 2022.
    1 change: 1 addition & 0 deletions yandex.search.user.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    --