Digikey Sort By Price - Greasemonkey Script

Go To Last Post
15 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Greasemonkey is a Firefox add-on that allows you to run your own javascript on pages. I wrote a script that adds sorting by price to Digikey.

http://students.washington.edu/acleone/codes/greasemonkey/digikey_sort_by_price/

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

This is awesome. Thanks a ton!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks! This will help me a ton (I hate searching through 11 pages just to find the cheapest price). Now I'll have to see if I can install this at work...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Very cool! Thanks. Never heard of Greasemonkey before. I'll be using this script frequently.

Don

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

acleone, I have been getting a lot of use out of your script. It's great!

Thank you,
Don

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I wanted to thank you for this script. I just discovered it today.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Awesome.

George.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Maybe I am missing something ... but doesn't Digikey have their own up arrow/down arrow sort by price option at the top of the price column?

Cheers,

Ross

Ross McKenzie, Melbourne Australia

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Not on my view. BTW, I love this script!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Whoops ... you are absolutely correct. Must have been remembering RS or Farnell. Now I need to get this script also.

Cheers,

Ross

Ross McKenzie, Melbourne Australia

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You might also want to have a look at Table Tools - an add-on script for Firefox that lets you sort and filter ANY HTML table just like in an Excel spreadsheet:

https://addons.mozilla.org/en-US/firefox/addon/2637

Cheers,

Tom

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks! This is awesome indeed, especially when sorting through the thousands of resistors, diodes, ... 8)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The latest version of the script also works in Google Chrome.
http://students.washington.edu/a...

Quote:
Changelog:

Older versions are available at userscripts.org.

  • 2010-05-11: Updated to work with Google Chrome (added GM_set/getValue functions via localStorage), and added a confirmation dialog when loading more than 100 pages.
  • 2009-08-25: Updated to work with new Digikey header
  • 2009-06-23: Persistant filter options; max price, etc, won't always reset to 100.
  • 2009-05-30: Initial release.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Seems to work well in SeaMonkey also, thanks!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

They have released a new version of the script since the last post in this thread.
http://students.washington.edu/a...

Quote:
2010-08-22: Complete re-write. Added:
  1. Pagination – displaying large numbers of parts doesn't freeze the script.
  2. Hide Columns
  3. Advanced Filtering
  4. Sorting by multiple columns

Digi-Key has since also introduced their own Sort by Price Feature.

However it doesn't have as many features as the 3rd-party script above.

http://www.digikey.com/us/en/mkt/Sort-By-Price.html

New for Digi-Key Customers - Sort by Price Search feature

Your job just got easier. A new search option allows our customers to sort components by price.

When viewing your search results screen, up/down sort arrows will appear at the top of the Unit Price column. Click on either arrow to view your options on the Sort by Price display. Choose either Simple Sort or Advanced Sort. Simple Sort will sort your parts by unit price. Advanced Sort will allow you to enter a quantity and return parts with price tiers that are available at that quantity. Filters include in stock, lead-free, and RoHS compliant. Select an arrow to sort by price in either ascending or descending order. It’s that easy.