Shopping at LEGO or Amazon?
Please use our links: LEGO.com
As an Amazon Associate we earn from qualifying purchases.
Browser Accelerators for Set Numbers
I have one helpful solution to the problem when you're reading a page/post and the content contains a set number you're not familiar with. Instead of opening another page and doing a search, I've implemented what Internet Explorer calls an "accelerator" for Bricklink and Brickset. You simply highlight the set number and you get a popup menu which provides shortcut ways of searching on Bricklink or Brickset.
With the Bricklink accelerator you also get an image preview. See the attached image for what it looks like for the Bricklink accelerator.
To make this available to others I need to host the files (an html page and a couple of xml files) on a website. I don't have one myself which is publicly available. Can anyone volunteer this (or convince Huw to host on Brickset.com?)
Shopping at LEGO.com or Amazon?
Please use our links: LEGO.com • Amazon
Recent discussions •
I'm happy to make any changes needed, let me know what they are.
I'll follow up with you in email.
And to really get this working for Brickset, I need Huw to add some redirects/passthroughs on Brickset.com to 1000steine.com for the images. I've been promising the details on this for a while. :P
The XML is at http://www.brickset.com/miscellaneous/accelerator/brickset.xml
and the button to install it is at http://www.brickset.com/miscellaneous/accelerator/
I did have the search working earlier but not the preview, but now, after spotting a mistake in the XML to do with the preview, correcting and re-installing I don't seem to have an accelerator menu any more :-)
I'll persevere. LMK if you have any success...
In order for this to work, you'll need to change your code to trim the leading # (%23).
Otherwise it will only work on roll-your-own links such as these:
# is now stripped.
I think the preview page needs to handle the case of no matches better and it'll be good to go.
What might be nice (and I don't know how your code works exactly) is modifying /detail to have a ?search parameter, where it will return the results of /detail/?set (like it does today) if there is a single result match, but fail over to /search/?query otherwise. This would allow the accelerator to work with sets like it does today, but also support highlightitng set names, minifigs, themes, etc.
And I think it is working. But is this the right way it works:
| Highlight the numbers,
| right click,
| mouse to All Accelerators,
| mouse to "Search on Brickset"
? If so, then yes it's working and it's great!
On a side note: is it actually possible to see if a person's currently online via their profile page (aside from calculating based on when they were last online)? I suppose you might be able to use the who's online now feature, but I'm not sure how.