Created
October 14, 2012 07:51
-
-
Save notpushkin/3887818 to your computer and use it in GitHub Desktop.
Yandex custom hints
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Yandex custom hints | |
// @description This replaces default yandex search hints with something more fun. (by Ale110) | |
// @namespace https://github.com/pooh110andco | |
// @include http://*yandex.*/ | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
(function($){ | |
hints = [ | |
"десу десу десу десу", | |
"превед медвед", | |
"британские ученые доказали", | |
"дисциплины Специальной Олимпиады", | |
"гопоопасность районов Перми", | |
]; | |
var str = hints[Math.floor(Math.random() * hints.length)]; | |
$(".b-search__sample > .b-link > .b-link__inner").text(str); | |
})(window.jQuery); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment