How to remove focus from Yahoo search box

10 views
Skip to first unread message

Jim Byrnes

unread,
Jul 20, 2015, 10:31:16 PM7/20/15
to greasemon...@googlegroups.com
When Yahoo loads, the search box at the top of the page has focus, I
would like to remove that focus. I tried the following:

// ==UserScript==
// @name blur yahoo search
// @namespace localhost
// @description Remove focus from Yahoo search box
// @include https://www.yahoo.com/*
// @include https://yahoo.com/*
// @require https://ajax.googleapis.com/libs/
jquery2.1.3/jquery.min.js
// ==/UserScript==

$(document).ready( function() {
// id of Yahoo search box
$('#p_13838465-p').blur();
});

but it did not work. Could someone tell me hwy?

Thanks, Jim
Reply all
Reply to author
Forward
0 new messages