New Google Chrome – Oh Where, Oh Where Has My www Gone?

OK, so as lovely having ones browser update automatically to the latest version (see that IE you annoying thing) the recent Chrome update (currently at 69.0.3497.81 – fine incrementing there lads) did something rather strange.  Aside from the oddly curvy address bar and tabs (hey this ain’t no MAC) the peeps at Google have decided to remove/hide the www. part of URLs in the address bar.

So www.thelazywebdev.co.uk  will be displayed in the Chrome address bar as

thelazywebdev.co.uk

Apparently this is the same for m.  subdomains but I don’t have of those to test.

Anyway…for me this is REALLY ANNOYING as I have local development copies of sites without www. but that look similar to their live counterparts. Besides, in many situations the sub domain IS important.

Fortunately this odd functionality can be reset back to normal using one of the chrome settings flags. Enter this as your URL in chrome:

chrome://flags/#omnibox-ui-hide-steady-state-url-scheme-and-subdomains

and you can change it. Yes!  Grumble over. I wonder how many updates away we are from this being reset.

 

Sublime Text 3: Remove an erroneous multi-cursor (Windows)

Another quick post.  This has often driven me crazy so I was glad to have found a solution.

The problem: you are clicking away, adding a whole load of cursors to edit multiple sections of code at once (awesome!) but then you accidentally click in the wrong place…argh.

Without knowing how to deselect or remove a multi cursor you have to start all over again, this time being very slow and precise in case you do it again.

The solution: By using alt+ middle mouse button on the offending cursor you can remove it from the “selection” – doesn’t even have to be the last one! Nice.   

I have seen elsewhere that a regular alt-click or ctrl-u )soft undo) will do it but they did now work for me.

Note: the usual approach is that ctrl-something will perform an add action and alt-something will perform a remove action.

Chrome ‘internal’ URLS

As a web developer I use Chrome a lot.  The dev tools are good and, in general, it is a good browser.  Sometimes, though, I find some odd behaviour like the browser has cached some DNS settings that I have since changed, or I want to switch the experimental features on or off for some testing.  Here is how you get to access those settings and then the page to see all the available option/settings URLs.

Continue reading Chrome ‘internal’ URLS