Hacker News new | ask | show | jobs
by zufallsheld 2912 days ago
That's what Firefox' awesome searchbar does. There I just input "jira $projectname" and I get the correct URL. If this does not work, I simply bookmark the page and give it tags. Then entering the tags in the search bar gives the same result.
5 comments

Firefox also has the little-known keyword functionality. Bookmark https://bugs.example.com/issue/%s, in the bookmark manager give it the keyword `bug`, and then typing “bug PROJ-123456” will take you to https://bugs.example.com/issue/PROJ-123456. (On some search fields there may be an “Add a Keyword for this Search…” item which helps with creating the bookmark with keyword, too.)

A quick look around https://developer.mozilla.org/en-US/Add-ons/WebExtensions/AP... suggests that it’s not possible to control the keywords and tags from an extension in Firefox; this is a sad omission: I’d really like an extension which imported all of DuckDuckGo’s !bangs as bookmarks with keywords, so that you could type in exactly the same stuff and have it bypass duckduckgo.com.

https://bugzilla.mozilla.org/show_bug.cgi?id=1276817 is about adding that, but weird stuff is happening there. I’m going to follow it up, because I’d hate to see this functionality lost. I use it for a number of things.

Adding a keyword used to be more prominent and easy to do - you could right click any search bar and "Add as Keyword" - or you could edit the Bookmark link manually when bookmarking a page. They "simplified" bookmarking to where I need to navigate through several layers of menus to access the Bookmark Manager where I can finally edit the bookmark to add a Keyword and update the link to what it needs to be.

I have no idea why they made bookmarks so much more difficult to work with and I'm not sure when it happened - as I updated from FF39 to FF60. Using Quantum for the last few weeks - I'm pretty sure I'll be going back to FF39 as it's simply more usable. Especially since add-ons that were a large part of my workflow actually work (or even exist at all...)

“Add a Keyword for this Search…” is still there in the context menu.
Checked on my work computer and you're right! Something must be going on with my userChrome.css back at home that's inadvertently hiding it from me, since I hide useless context menu options like "Set as Desktop Background...", "Email Image", etc. Something I'm hiding must be hiding "Add as a Keyword for this Search..." on accident.
And debugging those things can be nasty!

I wish :contains() had stayed in CSS Selectors Level 3, or that you could use XPath in stylesheets.

Hmm… #contentAreaContextMenu actually looks pretty sane. They all have IDs, which I really should have expected anyway. I’m going to add some rules to my own userChrome.css. Thanks for the idea!

Search engines can also have keywords (see about:preferences#search), but since extensions can’t programmatically create search engines this is not a great deal of help.
I'd like to import DDG bangs into Firefox too, as the 3 redirects DDG does every time are painfully slow. I already have a scripts that imports them directly into the FF bookmark database, but I haven't had the time to figure out how to get a list of DDG bangs. If/when I do, expect a Show HN.
I found a list of bangs with URLs: see https://www.reddit.com/r/duckduckgo/comments/8w8vk5/a_list_o...

Please do go ahead and make this. It’ll save me the trouble of doing it! I was figuring on just generating a NETSCAPE-Bookmark-file from the JSON and importing it manually.

I second this workflow. Firefox has much better tools for bookmark management but are not too discoverable.

I'm writing an extension that autosuggests tags based on page content.

One thing I'd like to see is autopromoting folders into the tag search. I have some folders for the most common types of links I save, so entering the folder name into the awesome bar should treat it like a tag.

One feature I can see myself using is grouping related tags and autofilling them. Like if I have the tags python, programming, and language grouped together it should autofill the programming and language tags when I enter python as a tag.

But yeah, FF tags work great.

Hey, I'm one of the engineer's on gurn. This is true and it works really well, the main focus of gurn is that it allows you to collaborate and share these keywords / bookmarks with others. We're also on Firefox and Chrome, and soon Edge making it easy to hop browsers (great for front-end developers).
What makes this different from Pocket?
Gurn was born in an organisational context, lots of different systems and tools, and everything moving to the web. It can be really hard to stay on top of where the latest policy document is or if someone moves the dev environment to a different server being able to get back to it quickly.

The original idea was to...

1. Make it very easy to remember links - use words that are meaningful to you, not long URLs. 2. Allow storing of deep web links - a large amount of internal content is not indexed by the corporate search engine and the stuff that is out of date. 3. Allow others to update the keywords - the people in the business are an untapped network of knowledge, all it takes is one person to update a keyword and everyone benefits.

As we've developed the product we realised that it was beneficial to individuals too as a really interesting way of navigating their web.

Pocket is more about stashing things to read later and maybe sharing some resources. Gurn is about helping you navigate the web quickly and intuitively - and harnessing the collective knowledge in your group, team, company.

Yeah, this has completely replaced most of my use of bookmarks. Now they mostly exist to improve search results, which is awesome.

And to go a step further: pinboard will crawl and index bookmarked pages if you pay a bit more, so you can search within page contents. I've almost stopped tagging things because I can get close enough just by searching for a keyword or two. Only real downside I encounter is that I can't search pages that are behind a login.

exactly this.

i guess other browsers don't support tags in bookmarks.

qutebrowser does, and has for at least 2 years if not more.