Chrome extension: Item Search

I’ve created a small extension that allows you to search for items and qualities in the ‘Myself’ tab. This extension was whitelisted on 9 March 2017.

I sometimes find it difficult to track down items in my inventory. This is a particular problem in the ‘Curiosity’ section, which is a bit of a grab-bag, but it’s also tricky to find a particular item or quality to put on my mantelpiece, since they’re not categorised and don’t appear to be listed in any particular order. I’ve written a Chrome extension to make finding things a little easier.

The extension is on the Chrome Web Store here: https://chrome.google.com/webstore/detail/fallen-london-item-search/jmldnifgockhcidgdinhbfciiphkamkl
The source code is on Github here: https://github.com/sdob/fl-search

When you install it, you’ll find two new search fields on the ‘Myself’ tab: one just under the outfit-selection menu, and one at the top of the ‘Inventory’ section. Typing something in one of these will hide any items in its section whose names don’t match. (Clearing the field will of course reveal everything again.) Searching is case-insensitive but recognises punctuation.

You’ll also find the same functionality in the ‘Scrapbook Status’ and ‘Mantelpiece Item’ windows when you’re searching for something there, which might come in handy.

You can also toggle these search fields on and off by clicking the extension’s icon, like so:

That’s it! That’s all it does.

Here are a couple of screenshots of the extension in action (cropped just to show the main FL interface). Here I’m searching for the notes from my scientific expeditions:

Here, I’m searching through my scrapbook qualities for my acquaintances:

edited by Gallmarch on 3/9/2017

[li]I need this extension badly. [/li]
Pls FB[li][/li]
edited by surreyjack on 3/7/2017

This looks terrific. Meaningful improvement to the UX/UI.

Fabulous! Thank you.

Hmmm. How hard would it be to make a Firefox version? :)

Not hard at all — the extension code is working fine in Firefox on my machine. Actually publishing it as an add-on is a more involved process, however (Firefox extensions have to pass review by a human), so I’ll hold off on that until I hear from FBG.

Would it be possible to add an option to turn off individual search bars? I specifically want to turn off the one above the outfits.

Gallmarch more useful is also a search of your quality so you don’t open all quality tabs to look for what you wish to find.

I am happy to report that this has been whitelisted; my thanks to FBG for taking the time to review it, and I hope that it’s useful. Feedback is appreciated, and thanks to those of you who have offered it so far (some specific responses follow). If you would prefer not to clutter up this thread, I am gallmarchindustries at gmail.

Firefox users: I have submitted the extension to Mozilla, but their vetting process is a bit longer than Chrome’s. For now, if you would like to live on the bleeding edge, then you can install the extension manually by downloading its source code and following the instructions here: https://blog.mozilla.org/addons/2015/12/23/loading-temporary-add-ons/

I’ve pushed an update — version 1.1 — that should make this possible. It’s available from the Chrome Web Store now. You may have to update manually, restart your browser, sacrifice a blemmigan over your computer, etc., in order to update. (I should probably mention at this point that my extension-development experience is comparatively limited.) If you click on the extension’s icon, you should see a menu like the following, which will allow you to toggle the search bars off and on:

Facilitating this has added an extra layer of complexity to the extension, so please do report any bugs you discover (again: gallmarchindustries at gmail). Firefox users, making this work for you will take a little bit of extra work while I iron out some small incompatibilities, but I will do so.

I’m very grateful to An Individual and Alexander Cray for making the source code of their extensions available.

I agree that this would be very handy! Because of how the Fallen London interface works, achieving this would require doing some work in the extension that might run afoul of FBG’s terms and conditions, so I haven’t implemented it. I have asked FBG for clarification, and I’ll update the extension to search qualities if I can, but don’t be surprised if the answer is ‘no’. As things stand, you can already search through all of your qualities by opening the ‘Scrapbook Status’ menu.

Where do I find Scrapbook Status menu? is something from the phone application?

No, browser version. See the bottom of this image:

Ok thanks.

I have a problem. Im on Chrome Windows 10.

As you see when I click on your extension in Chrome I don’t see Outfits / Inventory / Scrapbook and Mantleplace.

edited by Tofan Bogdan on 3/9/2017
edited by Tofan Bogdan on 3/9/2017
edited by Tofan Bogdan on 3/9/2017

Thanks for pointing that out; if you update to v. 1.2 it should be fixed.

Why does this need permission to see my browsing history?

I would guess that’s so the extension can tell when the webpage open is Fallen London.

You really shouldn’t need to see all browsing history (of all tabs ever, even ones already closed) to verify what the current tab’s location is …

ETA: as far as I can see, the current version (according to sources on github) doesn’t require that permission, and doesn’t make any use of the history API.
edited by xKiv on 3/12/2017

Here is what I get when I am asked to install.


That first one seems fine. That second one seems suspect.

Apologies for that — I was under the impression that the extension needed to declare that permission in order for the checkboxes to talk to the search fields. (I was wrong; it doesn’t.) I’ve just published version 1.2.1, which doesn’t ask for the tabs permission; you should be able to update now.

Thanks for bearing with me!

You can now search through your qualities on the ‘Myself’ tab, as of v. 1.3. You can toggle the search field on/off in the popup menu along with the others. Here, I’m checking out my Renown qualities: