News for hackers. Stuff that matters.
Re:Why I Actively Discourage Online Tooling like jwt.io and ... by jordache on Wednesday September 02, 2020 @08:40AM (#24352616)
i hate how when I'm copying + pasting a url to a test or internal environment, to the browser address bar - I may have a typo in there, or an extra space. Bam! The URL just became a google search
Re:Why I Actively Discourage Online Tooling like jwt.io and ... by MaxBarraclough on Wednesday September 02, 2020 @08:46AM (#24352654)
So I'm not the only one.

It's even worse than that though, enter 'myintranetsite' and hit return, and you end up on a Google search page. Instead you have to enter 'http://myintranetsite'

Re:Why I Actively Discourage Online Tooling like jwt.io and ... by mschuster91 on Wednesday September 02, 2020 @08:54AM (#24352706)
Type myintranetsite/ instead, this is faster than http:// in front.
Re:Why I Actively Discourage Online Tooling like jwt.io and ... by londons_explore on Wednesday September 02, 2020 @09:10AM (#24352830)
As you type, the name is still being sent to Google for search suggestions with every keystroke until the final "/".

If you prefix with "http://", no requests are made to Google (except "h", "ht", "htt", "http", and "http:")

Re:Why I Actively Discourage Online Tooling like jwt.io and ... by reificator on Wednesday September 02, 2020 @09:16AM (#24352885)
> If you prefix with "http://", no requests are made to Google (except "h", "ht", "htt", "http", and "http:")

This seems surprising to me. Can you back up this claim?

Re:Why I Actively Discourage Online Tooling like jwt.io and ... by andinus on Wednesday September 02, 2020 @12:25PM (#24354776)
If you have search suggestions enabled then "http:" will be sent. Firefox disables them in Private Browsing mode for this reason.

- https://support.mozilla.org/en-US/kb/search-suggestions-fire...

Re:Why I Actively Discourage Online Tooling like jwt.io and ... by reificator on Wednesday September 02, 2020 @12:52PM (#24355104)
No I get that part.

I guess I just had a different interpretation of "no requests are made to Google". It seems "no requests" was intended to be "no search suggestion requests" and not "no requests that leak this information to google".

Re:Why I Actively Discourage Online Tooling like jwt.io and ... by MaxBarraclough on Wednesday September 02, 2020 @01:10PM (#24355301)
> If you have search suggestions enabled then "http:" will be sent

What's the point of sending those characters?

Re:Why I Actively Discourage Online Tooling like jwt.io and ... by antsar on Wednesday September 02, 2020 @01:28PM (#24355553)
Search Suggestions. You typed "h", maybe you want to search for "harpoons". "ht" might suggest "htaccess". "http" might be a search for "httpie". etc.
Re:Why I Actively Discourage Online Tooling like jwt.io and ... by MaxBarraclough on Wednesday September 02, 2020 @01:34PM (#24355620)
Yes, of course :-P
Re:Why I Actively Discourage Online Tooling like jwt.io and ... by paulintrognon on Wednesday September 02, 2020 @09:02AM (#24352775)
Wow, a usefull shortcut I was not aware of. Thanks.
Re:Why I Actively Discourage Online Tooling like jwt.io and ... by heavenlyblue on Wednesday September 02, 2020 @08:55AM (#24352709)
Doesn’t browser hit suggestions API on every type stroke anyway?
Re:Why I Actively Discourage Online Tooling like jwt.io and ... by mkesper on Wednesday September 02, 2020 @09:14AM (#24352866)
This is easy to turn off, in Firefox, at least.
Re:Why I Actively Discourage Online Tooling like jwt.io and ... by Liquid_Fire on Wednesday September 02, 2020 @09:30AM (#24353009)
On Firefox you can disable this via an about:config setting (set keyword.enabled to false).
Re:Why I Actively Discourage Online Tooling like jwt.io and ... by jordache on Wednesday September 02, 2020 @09:39AM (#24353089)
ahh cool.. but a binary toggle is a bit to coarse.

it would be nice if the input string contains a whitespace, it will perform the search engine query for you automatically, or allow some custom regex expression to determine whether to query search engine.

Re:Why I Actively Discourage Online Tooling like jwt.io and ... by gruez on Wednesday September 02, 2020 @11:02AM (#24353928)
Or just have two text inputs[1]: one for url and one for search, rather than trying to overload two functions into one text input and trying to guess what the user wants.

[1] https://support.mozilla.org/en-US/kb/add-search-bar-firefox-...

Re:Why I Actively Discourage Online Tooling like jwt.io and ... by jordache on Wednesday September 02, 2020 @12:43PM (#24355009)
oooo didn't know that setting was available!
Re:Why I Actively Discourage Online Tooling like jwt.io and ... by clinta on Wednesday September 02, 2020 @11:22AM (#24354112)
In your search settings you can add keywords. So if you set ? as the keyword for google you can type '? foobar' into the address bar to google for foobar.
Re:Why I Actively Discourage Online Tooling like jwt.io and ... by prophesi on Wednesday September 02, 2020 @11:14AM (#24354026)
(firstly you should set a different default search engine)

It's been nice to use the Firefox setting to have a separate search bar. Your address bar will show more results from your history, which is often what I actually need. Then you can just hit the down arrow to select "Search with x" options.

My only minor quip is that your default search engine will be last in the list.

Re:Why I Actively Discourage Online Tooling like jwt.io and ... by bonkabonka on Wednesday September 02, 2020 @05:29PM (#24358379)
So the latest Firefox broke that for me. It seems to front-run my URLs as I type them and if the result is a 404 it sends me over to DDG with my URL as the search. :/ Really, really obnoxious but I haven't taken the time yet to paw through about:config to see if I can turn it off.
Re:Why I Actively Discourage Online Tooling like jwt.io and ... by vimslayer on Wednesday September 02, 2020 @09:17AM (#24352893)
I often have the opposite problem: I'm on Firefox and try to google "FooError: Bar happened" and instead of directing to google, Firefox prompts me to select an application to open "fooerror links".
Re:Why I Actively Discourage Online Tooling like jwt.io and ... by andinus on Wednesday September 02, 2020 @12:34PM (#24354914)
You can enable the search bar, Ctrl-k focuses on it.

- https://support.mozilla.org/en-US/kb/add-search-bar-firefox-...