// ==UserScript==
// @name Highlight Blingo/PCH Sponsors
// @namespace http://userscripts.org/users/674;scripts
// @description Highlight sponsor links on Blingo Search Results and move them to the bottom
// @include http://www.blingo.com/search?*
// @include http://search.pch.com/search?*
// ==/UserScript==
// Add jQuery
var GM_JQ = document.createElement('script');
GM_JQ.src = 'http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js';
GM_JQ.type = 'text/javascript';
document.getElementsByTagName('head')[0].appendChild(GM_JQ);
// Check if jQuery's loaded
function GM_wait() {
if(typeof unsafeWindow.jQuery == 'undefined') { window.setTimeout(GM_wait,100); }
else { $ = unsafeWindow.jQuery; letsJQuery(); }
}
GM_wait();
// All your GM code must be inside this function
function letsJQuery() {
$('.uri:contains(Sponsored By)').parents('.result')
.css('background-color', '#ddd')
.remove()
.appendTo('.resultList:first');
}