Greasy Fork

Greasy Fork is available in English.

Yandex Extra Buttons

Add buttons (past 1/2/3 days, weeks, PDF search etc.) for Yandex search page

当前为 2021-01-11 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
spmbt
评分
0 0 0
版本
9.2021.1.112
创建于
2016-01-17
更新于
2021-01-11
大小
35.1 KB
许可证
暂无
适用于

Yandex Extra Buttons

For Yandex search engine script adds buttons of search by last dates, in types of documents, in sites (description in russian).

  • (Firefox, Chrome, Opera12+, Safari, Vivaldi)

Similar script for Google is Google Search Extra Buttons with same functions and structure. Works in various Yandex domains: .ru, .com, .ua, .by (belarissian), .kz (kazakh), .com.tr (turkish).

  • select inteface language (en, ru, ua, by, fr, de, es) and save in external settings (same as for Google script);
  • search for last 1,2..13 days;
  • search for last 1,2..10 weeks;
  • search for last 1,2..11 months;
  • search for last 1,2..10 years;
  • search by some types of documents (multiselect for 10 types);
  • search by site from list (saved in settings and edited);
  • more or less detailed lists (setting).

You may use another styles with with script:

Examples: "пар" (.ru), "engine" (.com), "Сяброўскія" (.by).

Installiing in Chrome as unpacked extension need file manifest.json (or install using TamperMonkey):

{
    "content_scripts": [ {
        "exclude_globs": [  ],
        "exclude_matches": [  ],
        "include_globs": [ "https://yandex.ru/search*",
"https://yandex.by/search*",
"https://yandex.ua/search*",
"https://yandex.kz/search*",
"https://yandex.com.tr/search*",
"https://yandex.com/search*",
"https://*.yandex.ru/search*",
"https://*.yandex.by/search*",
"https://*.yandex.ua/search*",
"https://*.yandex.kz/search*",
"https://*.yandex.com.tr/search*",
"https://*.yandex.com/search*",
"https://www.yandex.ru/",
"https://www.yandex.by/",
"https://www.yandex.ua/",
"https://www.yandex.kz/",
"https://www.yandex.com.tr/",
"https://www.yandex.com/",
"https://yandex.net/",
"https://yandex.ru/yandsearch*",
"https://yandex.by/yandsearch*",
"https://yandex.ua/yandsearch*",
"https://yandex.kz/yandsearch*",
"https://yandex.com.tr/yandsearch*",
"https://yandex.com/yandsearch*",
"https://spmbt.github.io/googleSearchExtraButtons/saveYourLocalStorage.html"],
        "js": [ "yandXButt.user.js" ],
        "matches": [ "http://*/*", "https://*/*" ],
        "run_at": "document_idle"
    } ],
    "converted_from_user_script": true,
    "description": "Add buttons (last 1/2/3 days, weeks, PDF search etc.) for Yandex",
    "name": "Yandex Extra Buttons",
    "version": "7.2018.11.29",
    "manifest_version": 2
}
  • Feature of Yandex Main page for Firefox when non-authorization

Use setting on the page about:config of key security.csp.enable is false for show userscript settings from the page spmbt.github.io in iframe (it will disable the protection "Content Security Policy" on all sites). But if you was signed in Yandex site, disabling of protection is not need (by experience).

Github - https://github.com/spmbt/haPages/tree/gh-pages/userscript/yandex

Screenshots: