Skip to content

Instantly share code, notes, and snippets.

@notpushkin
Created October 14, 2012 07:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notpushkin/3887818 to your computer and use it in GitHub Desktop.
Save notpushkin/3887818 to your computer and use it in GitHub Desktop.
Yandex custom hints
// ==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