Dear Chrome: What the Hell is This?
I love that you finally added previews for each of your tabs, that amazing Windows 7 feature that all of your competitors adopted before you…
But what the light is this? Why on earth are there this mini-windows, and why are the preview windows themselves so faded out? Not to mention it doesn’t even WORK when you have Chrome minimized…
I love you Chrome, but you need to fix these in the next dev release. NEED.
Webkit JavaScript Notifications API
Something I learned about recently by following the updates being issued to Chrome, is that with today’s release they also pushed out the Webkit Notifications API to Chrome Stable (v4). Surprisingly, this is actually the first I’ve heard of it’s existence. I took a look and played around with it a bit, and it is qué cool.
Visit my Sandbox to see the code in action, or continue reading for some code excerpts.
Hunting Down the Bugs – TwCLI on Chrome for Linux Beta
This is the first post of a new series, looking at some of the odder bugs encountered while developing for the expanding Web, no matter how basic a bug it may be.
Thanks to twitter user @paperfairy, a bug was discovered on my Command Line Twitter Client, TwCLI.
For some reason, when submitting a command in Chrome for Linux, the page would simply refresh, and the command would never be sent. At first, I had no possible way to track down this bug. I didn’t have a linux box (with a GUI, anyway) so I simply told him that it was unfortunate, but it’d have to stay a bug. Until a recent post on lifehacker brought my attention to Portable Ubuntu. I immediately installed it, opened up the Chrome website in Firiefox, installed Chrome Beta, and headed over to TwCLI to see what was amiss.
Of course, it was a single line in a detection script to send Geo-Data to Twitter (as long as the user approved it, of course):
else if(google.gears) {
This single line was throwing an exception I hadn’t encountered in other browsers – Google wasn’t defined. Oddly, I thought it would handle that properly, since google wasn’t defined, it would just skip over it, but instead it threw an error and halted all further javascript code.
The fix was simpler than tracking down the bug, I simply had to add this to the start of the javascript code:
try{ if(!google) { google = 0; } } catch(err) { google = 0; }
And voila, I had both a check for google, and a catch if it decided to throw errors while checking for it.
Whether this is a Chrome bug or not, I don’t know – I simply don’t know enough about JavaScript in order to say so either way. But, are undefined variables supposed to throw errors, or are they simply supposed to return false?
Chrome 3.0.197.11 Introduces “Jumplist”
The newest Developer version of Chrome has introduced support for the fantastic Windows 7 Jumplist. So, to see what you’ll be able to get soon enough:
As you can see, it supports Tasks, Shows you what you recently closed, and gives you a list of your most visited websites for easy two-click access! And don’t worry about something bad showing up. If you want to get rid of something, just right click and “Remove from this list.”
You can also PIN any item you wish to the list!
Good going Chrome!
Java for Chrome
So, most of my readers should know about the laptop story now. I’ve been using Google Chrome on this old Windows 7 computer (since it doesn’t take a lot of processor or RAM) and telling Chrome to Yes, install the missing plugin, I was brought to a Java Download page.
I clicked to install it, and Java gave me this interesting “Java for Chrome” page, quoted below:
Google Chrome requires Java 6 Update 10 or greater (Java 6u10+), as indicated in the Google Chrome Help Center. The Chrome browser is new and not officially supported by Sun for Java 6. However, you may be able to use Chrome with Java 6u10 at your own risk. Sun will continue monitoring the acceptance of Chrome in the marketplace.
Sun will continue monitoring the acceptance of Chrome in the marketplace? That sounds funny to me,m and not funny ha-ha, funny “Wow, okay big brother.”
I think if there are enough chrome users that you needed to make that page, there are enough that you should officially support it.
Was it Google or Facebook?
Personally, I’m not sure, but either way there is a bunch of wonderful news to share with everyone.
Around the release of Google Chrome v0.4.154.22 (Dev Channel) something magical began to happen; I stopped having JavaScript problems on Facebook.
All of MouseHunt started to work again, the bookmarks worked on every page, the chat worked on every page. It was pure, unadulterated magic.
What I can’t yet figure out though, is if it was Facebook’s doing, or if it was Google’s. Does anyone else know?
Fixing Chrome’s “Network Error 2”
If you are encountering missing images and YouTube not working and other things related to Google Chrome’s NET::ERR::2; then just follow these few simple steps to get everything working again:
- Close Google Chrome
- Navigate to your Application Data folder
- XP Users:
- C:\documents and settins\%user%\Application Data\
- Vista Users:
- C:\users\%user%\appdata\
- In the Application Data folder, navigate to:
- local\google\chrome\user data\default\cache
- Delete all the files (in that caché)
Fixed! Open up Chrome and continue on and have fun ^_^
