Search Enhancements for Digikey - Page 1
Forum section: electronics / general

author: tjaeger
author_rank: Regular Contributor
timestamp: February 08, 2014, 04:13:43 am
content: I've finally had enough of going through list boxes on digikey trying to select items that satisfy some simple criteria, so I spent I couple of hours automating the process. I'm posting it here in case anybody else finds it useful.https://github.com/thjaeger/filter-partsTwo examples: 1. If you're looking for MCUs that have a usb peripheral just type in "usb" into the search box and the bookmarklet will select the corresponding items. 2. If you're looking for a switching regulator that can convert down 12 V to 2 V, you can type in "12 V" and "2 V" in the corresponding search boxes.The thing could use a little polishing and might not understand everything digikey throws at it (like ±), but it works well enough for me right now.

author: Smokey
author_rank: Super Contributor
timestamp: February 08, 2014, 04:35:24 am
content: That is actually a really killer feature. I'm totally going to use that. Thanks!Not that I'm in any position to make requests, but another missing digikey feature is searching based on a subset of the parameters of some already known item. Like say you have a part number for a connector with a 0.3in pin spacing, single row, and 4 position.... and you want to find another alternate compatible part with those same parameters. That should be like 4 clicks and done instead of manually selecting all those things from the drop down window in another browser tab.

author: T3sl4co1l
author_rank: Super Contributor
timestamp: February 08, 2014, 06:33:47 am
content: Quote from: Smokey on February 08, 2014, 04:35:24 amLike Mouser's "search similar" feature?Tim

author: peter.mitchell
author_rank: Super Contributor
timestamp: February 08, 2014, 07:02:42 am
content: I usually type these types of things in the search bar, BUT, this suffers the same problem as that; if you type 50v, you get results for 50v, 150v, 250v, 1050v ect

author: codeboy2k
author_rank: Super Contributor
timestamp: February 08, 2014, 07:32:49 am
content: I hate those Digikey list boxes. I really like your text boxes you can type in and select items from the list boxes ..way cool, and definitely needed. It didn't work for me until I removed the greasemonkey script I already use on Digikey.I don't intend to hijack your thread here, but have you seen it ? it's from Ben Hest, and I think he's on the board here. It's fantastic, and I am a happy user, I just wanted to spread the joy !https://dl.dropboxusercontent.com/u/26263360/advancedsearch.user.jsHis script really enhances the Digikey site with an interactive selection, pop-outs, hover-cart, compare slider, can also hover over those same list boxes we all hate, and it pops out all the matches(!) it's like google live on Digikeyway cool.. but I think the elements are renamed because your script didn't inject anything.. so your script probably couldn't find your way around inside his page modificationsanyways.... have a look. Maybe you will like it too, and you can get your input boxes under the lists on his script.I've attached some images.. You can click the image (twice) for full screen.Cheers!This is the hover over the shopping cart..Hide columns with a click:That little area is things that match your current selection before apply.. you can hover over anything for more information.This is the hover over a list item, without clicking or selecting it. Shows the matches.

author: mrflibble
author_rank: Super Contributor
timestamp: February 08, 2014, 07:34:09 am
content: That looks interesting, thanks for sharing!I'll give that a spin during the next round of ordering. Minus the remote javascript bookmarkobviously.

author: tjaeger
author_rank: Regular Contributor
timestamp: February 08, 2014, 08:49:05 pm
content: Quote from: codeboy2k on February 08, 2014, 07:32:49 amThanks, I had no idea something like this existed, it is obviously much more sophisticated than my little bookmarklet. The project could definitely use some advertisingI'm honestly a little surprised greasemonkey is still around, I haven't seen anybody use it in years.QuoteThis is strange, the script just injects text boxes below any multiple-selection list box. So it works on mouser too, for example, it's not very useful because their database can't handle too many selected items.I had no problems using it in combination with the advancedusersearch script, but I did make a minor adjustment to help with formatting (still not perfect, though).

author: codeboy2k
author_rank: Super Contributor
timestamp: February 09, 2014, 02:37:12 am
content: Quote from: tjaeger on February 08, 2014, 08:49:05 pmhmm.. I could not get it to inject your input boxes unless I disabled greasemonkey.. so perhaps I have another interaction somewhere else with another script. I'll look more.The changes you made to help with formatting, was that in your code or the advancedusersearch script?I am greedyI still want to use both scripts

author: peter.mitchell
author_rank: Super Contributor
timestamp: February 09, 2014, 07:51:27 am
content: I only have one issue with Digi-Key. You cannot update quantities directly from the cart page, or remove items from cart.The script referenced by codeboy on behalf of Ben Hest fixes that problem.Thank you greatly.Quote from: codeboy2k on February 08, 2014, 07:32:49 am

author: codeboy2k
author_rank: Super Contributor
timestamp: February 09, 2014, 01:34:52 pm
content: Quote from: peter.mitchell on February 09, 2014, 07:51:27 amYeah, I use that all the timeThe script is quite extensive and represents many man-hours of Ben's work. He's still updating it, the last update was fairly recent. He has posted on the board in the past, I just don't remember his username here.So, thank you Ben Hest! hope you're reading

author: tjaeger
author_rank: Regular Contributor
timestamp: February 09, 2014, 06:32:17 pm
content: Quote from: codeboy2k on February 09, 2014, 02:37:12 amThe changes were in my code (and I pushed them to github right away). They shouldn't affect though whether or not the list boxes show up. Are you using the latest version of the advancedusersearch script? Are there any errors in the javascript console after you click on the bookmarklet?

author: bombledmonk
author_rank: Regular Contributor
timestamp: July 25, 2014, 03:40:46 pm
content: Quote from: peter.mitchell on February 09, 2014, 07:51:27 amDigging up the dead here, but the official Digi-Key site did add in cart editing.I missed this topic originally, but I'm the advancedsearch author and still fixing issues when people alert me. I'm also still tweaking, adding new features and always taking suggestions.

author: SirNick
author_rank: Frequent Contributor
timestamp: July 25, 2014, 07:59:34 pm
content: Wow, that's fancy stuff. Digikey should be talking to these guys to integrate some of this into the main site!I just wish the product page had a link back to the sub-category search. E.g., you're looking at an item from the ceramic cap search, want to look up some alternatives, but the breadcrumb only lets you go back to "Capacitors", not "Capacitors -> Ceramic".

author: Smokey
author_rank: Super Contributor
timestamp: July 26, 2014, 01:52:05 am
content: Quote from: SirNick on July 25, 2014, 07:59:34 pmOk. That's two requests now. I think that makes an official feature request ticket!

author: Artlav
author_rank: Frequent Contributor
timestamp: July 26, 2014, 09:16:39 am
content: The scripts sound like something really useful, but...How do you use them?Neither the "bookmark this link", nor opening the dropbox one does anything.What have i missed?

author: bombledmonk
author_rank: Regular Contributor
timestamp: July 27, 2014, 12:13:02 am
content: Have you installed Greasemonkey?