Add buttons (past 1/2/3 days, weeks, PDF search etc.) for Yandex search page
For Yandex search engine script adds buttons of search by last dates, in types of documents, in sites (description in russian).
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).
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
}
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: