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
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/greasemonkey-users.
For more options, visit https://groups.google.com/d/optout.