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