Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.mobile.android > #40826

Re: Stopping browser being "helpful"

From VanguardLH <V@nguard.LH>
Newsgroups comp.mobile.android
Subject Re: Stopping browser being "helpful"
Date 2017-03-22 15:37 -0500
Organization Usenet Elder
Message-ID <ejg5kqFphvjU1@mid.individual.net> (permalink)
References <oaulp1$bsv$1@dont-email.me>

Show all headers | View raw


Another Dave <dmarsden@nospam.com> wrote:

> I've set up a Rasberry Pi-base nestbox camera. Everything's fine on 
> Windows and Linux and I can see the nestbox on web browsers at the 
> address URL "nestbox.local".
> 
> However when I try this on my wife's Android tablet, all the browsers 
> I've tried have either used "nestbox.local" to search on Google or have 
> come back saying "www.nestbox.local" not found.
> 
> How can I stop the browsers adding the unwanted "www."?
> Is there a browser that doesn't try to be helpful?

Specify the protocol instead of hoping the client prepends a correct
protocol and hostname string.  Because users are notoriously lazy is why
web browsers are sloppy in accepting incomplete URIs.  If there is no
protocol specified, they have to guess.  If there is no hostname, they
guess.  Without a complete URI, and for a string that doesn't match on a
typical template for URLs, they guess they are supposed to do a search.
Don't make the web browser guess what you meant to specify.  Enter a
full URL to specify the target.

Don't use nestbox.local.  Use http[s]://nestbox.local/.

I include the trailing backslash to the parser doesn't have to guess on
where the domain portion of the URL ends - the third backslash
delineates the start of the path portion of the URL and ends the domain
portion.  Again, don't make the parser guess what you meant to specify.

Back to comp.mobile.android | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Stopping browser being "helpful" Another Dave <dmarsden@nospam.com> - 2017-03-22 20:14 +0000
  Re: Stopping browser being "helpful" VanguardLH <V@nguard.LH> - 2017-03-22 15:37 -0500
    Re: Stopping browser being "helpful" nospam <nospam@nospam.invalid> - 2017-03-22 16:59 -0400
      Re: Stopping browser being "helpful" VanguardLH <V@nguard.LH> - 2017-03-22 18:46 -0500
        Re: Stopping browser being "helpful" "Carlos E. R." <robin_listas@es.invalid> - 2017-03-23 04:07 +0100
          Re: Stopping browser being "helpful" VanguardLH <V@nguard.LH> - 2017-03-23 18:13 -0500
        Re: Stopping browser being "helpful" nospam <nospam@nospam.invalid> - 2017-03-22 23:16 -0400
    Re: Stopping browser being "helpful" Another Dave <dmarsden@nospam.com> - 2017-03-22 21:03 +0000
      Re: Stopping browser being "helpful" VanguardLH <V@nguard.LH> - 2017-03-22 18:50 -0500
        Re: Stopping browser being "helpful" "Carlos E. R." <robin_listas@es.invalid> - 2017-03-23 04:12 +0100
    Re: Stopping browser being "helpful" tlvp <mPiOsUcB.EtLlLvEp@att.net> - 2017-03-22 19:34 -0400
    Re: Stopping browser being "helpful" Another Dave <dmarsden@nospam.com> - 2017-03-23 09:17 +0000
      Re: Stopping browser being "helpful" "Carlos E. R." <robin_listas@es.invalid> - 2017-03-23 14:17 +0100
        Re: Stopping browser being "helpful" nospam <nospam@nospam.invalid> - 2017-03-23 12:41 -0400
      Re: Stopping browser being "helpful" nospam <nospam@nospam.invalid> - 2017-03-23 12:41 -0400

csiph-web