Are you sure you want to go to an external site to donate a monetary value?
WARNING: Some countries laws may supersede the payment processors policy such as the GDPR and PayPal. While it is highly appreciated to donate, please check with your countries privacy and identity laws regarding privacy of information first. Use at your utmost discretion.
Actually the code may be fine. I tested it on a different browser. It just doesn't work with Greasemokey for some reason.
Hi Cuzi,
Can you please look at the code again?
Something changed on eBay and it's broke now.
Hi Cuzi,
The script broke a few weeks ago.
Can you please check eBay and see what happened?
Thanks a lot Cuzi - your script worked perfect!
Cuzi - the eBay script is not highlighting again.
Can you please take a look for me?
Thanks a lot Cuzi!
That worked perfect.
Re: @Computerexpert:
Cuzi - I found one more problem that I can't figure out.
When I got to the front page of eBay it disables some photos for some reason.
I have disabled all GM scripts including this one. I then just added my script back in, but it still happens.
See photo below:
Re: @cuzi:
Thanks a lot Cuzi! - the new code seems to have fixed the 2nd page problem.
Actually it works when I click the link.
So the page navigation numbers at the bottom will not run the GM Script again. It seems that it will only run it once.
Re: @cuzi:
If you go to just eBay.com and search for say dell laptop when I click the 2nd page at the bottom it doesn't highlight anything.
Example:
http://www.ebay.com/sch/i.html?_from=R40&_sacat=0&_sop=1&_nkw=dell+laptop&_pgn=2&_skc=200&rt=nc&ajxpg=1
Hey Cuzi - any idea on how to make it work once I click the 2nd page on eBay?
It seems as though it will work on the first run, but if I click page 2 for more results it doesn't work for some reason.
Re: @cuzi:
Thanks a lot Cuzi - that worked perfect!
Re: @jscher2000:
Thanks jscher2000, but it's still not highlighting for some reason.
Re: @cuzi:
Hi Cuzi - I tried your suggestion and it didn't work.
Do you have any other thoughts?
$('document').ready(function() { $(".bids").each(function() { var text = $(this).text(); var regExp = /[0-9]+.(b|B)ids?/; if (regExp.test(text)) { var match = regExp.exec(text); var sNumBids = match[0].split(" ",1); var numBids = parseInt(sNumBids, 10); if(numBids > 0) { // $(this).closest('li.li').css("border","3px solid red, background-color":"yellow"}); $(this).closest('li.li').css("border","3px solid red"); $(this).closest('li.li').css("background-color,"yellow"); } } }); });
Hello,
This script worked fine a few weeks ago and now no longer works.
Can someone please help get it going for me?
Thanks a lot.
// ==UserScript==
// @name eBay - Hilight Items With Bids
// @namespace http://userscripts.org/users/126140
// @include http://.ebay./*
// @grant none
// @updateURL https://userscripts.org/scripts/source/66089.meta.js
// @downloadURL https://userscripts.org/scripts/source/66089.user.js
// @version 2.2.1
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js
// @description Hilights items that have bids with a red border and yellow background.
// ==/UserScript==
$('document').ready(function() {
$(".bids").each(function() {
var text = $(this).text();
var regExp = /[0-9]+.(b|B)ids?/;
if (regExp.test(text)) { var match = regExp.exec(text); var sNumBids = match[0].split(" ",1); var numBids = parseInt(sNumBids, 10); if(numBids > 0) { $(this).closest('table').css("border","3px solid red"); $(this).closest('table').css("background-color","yellow"); } } });
});