Last active
July 1, 2016 05:58
-
-
Save lavie/a7390b54d55507419e73fb12b10c2e83 to your computer and use it in GitHub Desktop.
Adds prefix to google search result links, so they're easier to hit with Vimium
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 Google Search Result Markers | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Adds prefix to Google search result links, to make it easier to hit them with Vimium | |
// @author Assaf Lavie | |
// @match https://*.google.co.il/* | |
// @match https://*.google.com/* | |
// @require http://code.jquery.com/jquery-latest.js | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
jQuery(".r a").text(function(i, t) { return "ff" + String.fromCharCode(65 + i) + " " + t; }); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment