alfred-firefoxbookmarks
alfred-firefoxbookmarks copied to clipboard
Doesn't seem to include bookmarks from Firefox 57
On Firefox 57, running "ff TITLE" returns results that feature in my browsing history, but no results at all from my actual bookmarks. :(
Same problem for me
Here it is including history items together with Bookmarks FF. I don't know if that is intended but I am fine with that. The top 3 are actual bookmarks by me the rest is browsing history:

I am on FF57.0.3.
Mine includes history only--no bookmarks. (are your bookmarks actually history?) I'm on 57.0.4. Same problem since 57 was released, possibly earlier can't remember.
I found a solution by trying:
- open Firefox Bookmarks workflow folder of alfred.
- edit bookmarks.py
- remove string "and moz_places.foreign_count = 0" in Line 68.
then, it works. But I don't know why it works.
a link about foreign_count: https://bugzilla.mozilla.org/show_bug.cgi?id=1017502
@mpco Your fix didn't work for me unfortunately. I still got a torrent of results that I didn't want to be there.
However, I did find Brow: https://www.timschroeder.net/brow/ This tool works with both Chrome and Firefox and shows your bookmarks in Spotlight. You can then follow this little guide to make it work in Alfred: https://blog.timschroeder.net/2013/04/15/bring-brow-to-alfred/
** If you have duplicate permissions across both browsers, be aware that both sets will appear in the results unless you only give permissions for one browser. **
The good:
- You don't even need to use a keyword. Just start typing the actual name of the bookmark and it will appear.
- It works with both Chrome and Firefox!
The bad:
- It adds a directory to your home directory that contains indexable files that mirror your bookmarks. This is how the Spotlight/Alfred integration works. And you can't use "chflags hidden" on it because then Alfred stops picking up the files and your bookmarks stop showing.
- It adds ".webloc" to the end of all your results, which doesn't look very aesthetically pleasing.
Given that the Alfred developers have repeatedly turned up their nose at Firefox though (despite the great press received by Quantum), and given how flaky this plugin right here seems to be, Brow is the best option I've found so far.
If anyone else finds a better solution, let me know!
@g4r37h Watch what you say. What are you pointing your nose at?
In view of the (low) number 12 of this issue, this plugin has been working reliably for quite some time. I wrote it a couple of years ago on an evening or two to fix the ridiculous integration of Firefox into Alfred for myself, and quite a few people are using it, so a little more respect would be appropriate.
With Quantum, Mozilla has rebuilt Firefox s. t. I don't use it anymore because they have broken pretty much all of those plugins (TabMixPlus and LastPass, to name the two most prominent examples) which made Firefox the most usable browser for me. So I have (at least temporarily) abandoned Firefox until this is fixed.
Sountil further notice, I have no interest fixing this myself, but I will gladly accept (and test) a pull request if you do.
@nikipore calm your tits.
If software behaves sporadically and inconsistently, then one is perfectly within their right to say so. As the saying goes, “a spade is a spade”.
If you don’t want people to say such things, then you could spend some time fixing it instead of spending that time writing defensive hissy-fits.
I found a solution that works. It isn’t flaky, it isn’t inconsistent. So I’m happy to use that. As such, I don’t particularly care whether your bugs get fixed or not. Especially now that I know the author is a petulant child.
@g4r37h Glad you found a solution that works. And so I am glad if everyone else is happy with that, too. Hope this prevents you from trolling here, doesn‘t look like you had anything else to contribute on GitHub yet.
@nikipore
Oh and as you obviously haven’t realised this yourself, the new Firefox is infinitely better than the old one. So some plugins don’t work - who cares? The rest of the internet isn’t abandoning Chrome and heading back to Firefox for no reason. You’re going against the flow of traffic. But kids think that’s the cool thing to do, don’t they?
I‘m not a kid but someone who runs a family and a strategic IT unit in interesting times at a major enterprise, so I don‘t really have time to deal with everyday things that don‘t work as I need them; the same seems to be true for you, but I don’t have time for trolling either. And no energy for this level of conversation, or for fixing things for people who were raised in a barn and not able to fix something themselves and let others contribute from good karma for a change, in particular when they call themselves senior developers.
Glad (very; I prefer Mozilla 1000x to Google or Apple) to return to Firefox as soon as some vital (for me) things work. And to fix this plugin if my children let me (and no-one else has submitted a pull request in the meantime), then (and only then).
BTW: As of March 2018, the browser statistics don‘t confirm your statement about the internet rushing back from Chrome to Firefox; quite the opposite.
Talking of karma and samsara: I won‘t respond anymore unless you stop trolling and turn constructive.
I was constructive in my first few posts, but you took issue with that and behaved the way I would have expected a child to behave.
I’m afraid that I very much subscribe to the notion that people should be treated the way they behave. And when a so-called “adult” behaves like a child, then that is how I will talk to them.
Your most recent comment has a much better tone so it’s a shame your first one was such a disaster. I hope you consider your responses more carefully next time before launching such an immature tirade. Such posts really don’t reflect positively on you or your software.
All the best.