TradeMe shipping prices

Show shipping price and seller on search results in detail mode

< Feedback on TradeMe shipping prices

Question/comment

§
Posted: 2014-09-12

can we add delay for thumbnail loading?

Hi DRSR,

Thanks heaps for writing this script!

My firefox freezes when I look at long lists with many thumbnails to load. Adding a bit of delay (even 50ms) helped. For me 250ms works well...

@@ -139,11 +139,12 @@
addStyle(".tmsp_shipping {font-size:11px; font-style: italic;}");

$("#ListViewList .listingCard").each(function(index, card){
+ setTimeout(function(){
var auctionUrl = $(".listingTitle > a", card).attr('href');
$.get(auctionUrl, function(listing) {
addShipping(card, listing);
addSeller(card, listing);
addThumbnail(card, listing);
addCarStuff(card, listing);
- });
+ })},index*250);
});


Cheers!

drsrAuthor
§
Posted: 2014-09-17

Hi Nadinan, sorry I am going to look at this soon, been a bit busy. Which version of Firefox and Greasemonkey are you using?

Post reply

Sign in to post a reply.