News for hackers. Stuff that matters.
Re:DuckDuckGo Traffic by sdrothrock on Wednesday January 22, 2020 @12:55AM (#22114990)
This is an offshoot discussion and I have nothing against DDG or bang commands -- just presenting another side of convenient searches.

> I know Firefox had install-your-own search plugins forever, but the total lack of friction of typing “!yt badgerbadgerbadger” to get specifically YouTube results was fantastic.

I find "use your own search" to be much less friction than going through DDG since it takes me right to results from the custom search, rather than having to redirect through DDG before going to the results. (Edited to add the following) I'm not going to lie and say that it doesn't make me a little paranoid to think of EVERY search I do going through one provider regardless of their current privacy stance.

I've used them since 2002ish in Opera, continued using them in Chrome, and now I use them in Firefox.

AFAIK you don't even need "install-your-own search plugins" -- just right-click on the search box on the site you want to search, and add keyword.

For example, I have "aj" for Amazon Japan and "au" for Amazon US, so I can just hit cmd-t for a new tab and type "au pretzels" directly in the address bar.

This has the advantage of letting you define your own, too.

Re:DuckDuckGo Traffic by grimgrin on Wednesday January 22, 2020 @01:22AM (#22115093)
There's a thing I wish FF had that Chrome has had for a long, long time (an older comment of mine):

https://news.ycombinator.com/item?id=20056174

re: ease of searching within sites and building that availability (of sites) up

Re:DuckDuckGo Traffic by pottertheotter on Wednesday January 22, 2020 @01:39AM (#22115166)
I switched back to FF from Chrome a year ago and that's one of the things I miss the most. I really like FF and will continue to support them, but there were so many little conveniences Chrome got right that FF seems to completely ignore.
Re:DuckDuckGo Traffic by rekoil on Wednesday January 22, 2020 @03:04AM (#22115581)
Yep, the simplicity of Chromes keyword-based search feature is so good, I have several setup which aren't even really searches at all, such as translate from detected language to English (tren Some sentence in other language).

You can of course do this in Firefox as well, but in Chrome -besides Chrome most of the time just adding them automatically- there's a simple preference pane where I can easily configure the three important parts; keyword, pretty title, and search URL with %s as the search token.

I wish Firefox would add this, it's a big holdover for me.

Re:DuckDuckGo Traffic by paulintrognon on Wednesday January 22, 2020 @07:17AM (#22116857)
I don't understand the behavior your are talking about. I tried in Google Chrome and could not figure it out.

In Chrome's address bar, you type the name of a site (say reddit.com), then tab, then some keywords, and that does a google search for your keywords inside reddit.com?

Re:DuckDuckGo Traffic by silverwings on Wednesday January 22, 2020 @08:54AM (#22117522)
On chrome://settings/searchEngines you can see all the search engines and their search queries listed. In the keyword column, you can also see the associated keyword. This means if you wanted to search in npmjs.com, then type npmjs.com and then a space in the omnibar. Ofcourse, if you wanted to make it shorter, you can edit the keyword in the same page to say `npm`, then you can search by using npm followed by a space or tab
Re:DuckDuckGo Traffic by cja on Wednesday January 22, 2020 @09:38AM (#22117867)
I've used that in Firebird/Firefox for over ten years. If I remember correctly it's configured by adding a keyword to a bookmark and adding a placeholder within the bookmark URI.
Re:DuckDuckGo Traffic by kandeel4411 on Thursday January 23, 2020 @10:15AM (#22128140)
google had this capability for a long time, if you want to search for a result in a specific site, you need to type in the search site:www.reddit.com. i.e: " some error site:www.stackoverflow.com"
Re:DuckDuckGo Traffic by jncraton on Wednesday January 22, 2020 @10:05AM (#22118094)
Exactly. I like to do this for both speed and privacy.

You can even use DDG bangs as your keywords. I do this for the bangs that I use most frequently (e.g. !w) for both reduced latency and increased privacy. This means I keep the muscle memory for using bangs on other folks machines, but I still get improved privacy and speed on devices that have my bookmarks synced.

Re:DuckDuckGo Traffic by tripzilch on Wednesday January 22, 2020 @09:37AM (#22117857)
The advantage to me is that I sometimes use a new browser and lose these settings. Also for defining my own, I seriously haven't found a search that isn't already in DDG. Maybe back in the old days when you wanted a search box from a specific forum (though the site: operator usually works better imvho).

I was totally with you on Opera in 2002, however :) All the way until they dumped their own engine and lost many of their unique features. It was still kinda fun to use last time I installed it though. But it also feels just like Chromium with some stuff tacked on.

Re:DuckDuckGo Traffic by mlang23 on Wednesday January 22, 2020 @02:19AM (#22115358)
Wow, thanks for sharing. I didn't knew about the add your own keyword functionality. Pretty nice!
Re:DuckDuckGo Traffic by coryfklein on Wednesday January 22, 2020 @12:19PM (#22119612)
Wait if I browse Amazon Japan will I find like, different and better things?
Re:DuckDuckGo Traffic by sdrothrock on Wednesday January 22, 2020 @10:11PM (#22124482)
Different things, definitely.

Better? Depends on what you need!

I use Amazon Japan because I live here, though.

Re:DuckDuckGo Traffic by angott on Wednesday January 22, 2020 @12:33PM (#22119812)
Maybe yes. But also way more expensive shipping :-)