16 Jun 08 Chrome Hack – How to change User Agent String in Chrome!

Changing User Agent String with any browser is a useful hack that can be used to get free WiFi at Starbucks hotspots .

Here’s a real ghetto hack that involves changing the hex values of chrome.dll using a free hex editor.

Simply open the file and look for something like this:

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.13 (KHTML, like Gecko) Chrome/0.X.Y.Z Safari/525.13.

Then change to something like this or any other user agent string:

Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543 Safari/419.3

The result is shown below where the browser will act like an iPhone Browser.

This might actually be useful for testing applications for the iPhone browser.  Of course, you can do it in Firefox too but Google Chrome browser is probably closer to the iPhone’s Safari browser since it’s based on the WebKit.

via labnol Tags:, , , , , , , , , , , , , , ,

14 Jun 08 Chrome Hack – How to Run Java and Java Applets in Chrome!

How to Run Java and Java Applets in Chrome!

How to Run Java and Java Applets in Chrome!

A lot of game sites such as Yahoo Games and others may use Java and Java applets to run their games/applications.

Although the Google Chrome comes with a super-fast Javascript engine, Javascript is an entirely different platform than Java .  Therefore, you need to install a beta version of Java Runtime Engine (JRE).

FYI, this is also great new for Java developers like myself, knowing that there IS support for Java on the Chrome.

Now, you can play your Texas Hold’em in Yahoo Games all day long with Chrome.

Download beta JRE for Windows

Download beta JRE Page

By default the Java runtime only supports Internet Explorer and Firefox, in order to support Google Chrome (Google Chrome is based on Webkit which powers the Safari Browser) you will need to download the beta version of Java Runtime, which is compatible with Webkit and should support Java applets in Google Chrome.

via internetbrowserchrome, techie-buzz Tags:, , , , , , , , , , , , ,

06 Jun 08 Essential Chrome CSS Hacks?

For those of you who are web site designers/programmers, you need to realize first-hand that the Google Chrome is based on WebKit and therefore, it’s very similar to Safari, which is also built on the WebKit.

To get started, here’s a CSS hack I found for the Google Chrome that might help you get started.

Non-compliant selectors can be used and a valid way to target individual browsers. Chrome supports every selector, just like Safari 3.1. My recommendation is to use the body:first-of-type hack, the CSS hack/filter for Safari as a filter for Safari 3+ and Chrome. There should be no reason to target Chrome with the exclusion of Safari 3.1, but if you want to target both, filtering out Safari 3.0, I would try using:

via evotech Tags:, , , , , , , , ,

05 Jun 08 Getting Started with Chrome Development!

Getting Started with Chrome Development!

Getting Started with Chrome Development!

After pondering about where the Google Chrome download is and finding a version of it, I have finally found the Chrome Developer page, where you can get started with Chrome application development. (Thanks to post by Peteris!)

Here’s also a cool breakdown of relative path and what they do by Peteris:

Library Relative Path Description
Google Breakpad /src/breakpad An open-source multi-platform crash reporting system.
Google URL /src/googleurl A small library for parsing and canonicalizing URLs.
Skia /src/skia Vector graphics engine.
Google v8 /src/v8 Google’s open source JavaScript engine. V8 implements ECMAScript as specified in ECMA-262, 3rd edition, and runs on Windows XP and Vista, Mac OS X 10.5 (Leopard), and Linux systems that use IA-32 or ARM processors. V8 can run standalone, or can be embedded into any C++ application.
Webkit /src/webki Open source web browser engine.
Netscape Portable Runtime (NSPR) /src/base/third_party/nspr Netscape Portable Runtime (NSPR) provides a platform-neutral API for system level and libc like functions.
Network Security Services (NSS) /src/base/third_party/nss Network Security Services (NSS) is a set of libraries designed to support cross-platform development of security-enabled client and server applications. Applications built with NSS can support SSL v2 and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 certificates, and other security standards.
Hunspell /src/chrome/third_
party/hunspell
Spell checker and morphological analyzer library and program designed for languages with rich morphology and complex word compounding or character encoding.
Windows Template Library /src/chrome/third_party/wtl C++ library for developing Windows applications and UI components. It extends ATL (Active Template Library) and provides a set of classes for controls, dialogs, frame windows, GDI objects, and more.
Google C++ Testing Framework /src/testing/gtest Google’s framework for writing C++ tests on a variety of platforms (Linux, Mac OS X, Windows, Windows CE, and Symbian). Based on the xUnit architecture. Supports automatic test discovery, a rich set of assertions, user-defined assertions, death tests, fatal and non-fatal failures, various options for running the tests, and XML test report generation.
bsdiff and bspatch /src/third_party/bsdiff and /src/third_party/bspatch bsdiff and bspatch are tools for building and applying patches to binary files.
bzip2 /src/third_party/bzip2 bzip2 compresses files using the Burrows-Wheeler block sorting text compression algorithm, and Huffman coding.
International Components for Unicode (ICU) /src/third_party/icu38 ICU is a mature, widely used set of C/C++ and Java libraries providing Unicode and Globalization support for software applications.
libjpeg /src/third_party/libjpeg Library for handling the JPEG (JFIF) image format.
libpng /src/third_party/libpng PNG image format library. It supports almost all PNG features, is extensible, and has been extensively tested for over 13 years.
libxml /src/third_party/libxml XML C parsing library.
libxslt /src/third_party/libxslt XSLT C library.
LZMA /src/third_party/lzma_sdk LZMA is the default and general compression method of 7z format in the 7-Zip program.
stringencoders /src/third_party/modp_b64 A collection of high performance c-string transformations (in this case, base 64 encoding/decoding), frequently 2x faster than standard implementations (if they exist at all).
Netscape Plugin Application Programming Interface (NPAPI) /src/third_party/npapi Cross-platform plugin architecture used by many web browsers.
Pthreads-w32 /src/third_party/pthread Application programming interface (API) for writing multithreaded applications
SCons – a software construction tool /src/third_party/scons Open Source software construction tool—that is, a next-generation build tool. Think of SCons as an improved, cross-platform substitute for the classic Make utility with integrated functionality similar to autoconf/automake and compiler caches such as ccache.
sqlite /src/third_party/sqlite Software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine.
TLS Lite /src/third_party/tlslite Free Python library that implements SSL 3.0, TLS 1.0, and TLS 1.1. TLS Lite supports non-traditional authentication methods such as SRP, shared keys, and cryptoIDs in addition to X.509 certificates. Note: Python is not a part of Chrome. It’s used for testing various parts of Chrome browser, such as code coverage, dependencies, measures page load times, compares generated html, etc.
zlib /src/third_party/zlib zlib is designed to be a free, general-purpose, legally unencumbered — that is, not covered by any patents — lossless data-compression library for use on virtually any computer hardware and operating system.

Resource Links:

Google Chrome Developer Page Tags:, , , , , , , , , , , , , , , , , , , ,

05 Jun 08 Number One Reason I still use Firefox over Chrome!

(Image Credit: firefox10.com)

Here’s the number one reason I still use Firefox over Chrome:

Firefox Plugins.  I have to admit, without Firefox Plugins, I cannot use my Del.icio.us (fast enough), I cannot get my Toolbars, etc…etc…

One thing I do really wish was that Chrome had been based on Gecko instead of WebKit.  That way, all my Firefox plugins would work in Chrome (and vice-versa).  Maybe someone will figure out a way to hack it though. (and we are here 24/7 to cover that so please subscribe to our blog!)

What’s your reasons for still using Firefox?

Leave in thoughts in Comments section. (For ideas, check out this post on CNET) Tags:, , , , , , , ,

04 Jun 08 Google's Sergey Brin Hints Chrome will be on Android!

In a recent interview, Sergey Brin hints that Google’s new browser Chrome will be on the Android, another open-source operating system for cellphones from Google.

Although Google says they did not expect this and that the Chrome and Android were developed separately, I think Google will definitely be able to come up with a mobile version of Chrome to be used on the Android.

Why Chrome on Android?

Well, Android is a great way for Google to take control of the whole PDA/cellphone but having their own browser makes it even more lucrative for them.

The Google Chrome is made to execute Javascript and AJAX applications FAST , meaning if implemented on Android-enabled phones, the Chrome will be able to run faster than any other mobile browser.

Part of the reason stems from the fact that Javascript and AJAX are not supported well (or not at all) by most cellphone/PDA devices.  In fact, the only cellphone really capable of processing Javascript is the iPhone.

Another thing to think about is that a lot of PDA and cellphones nowdays can run any Java application. (JAD or JAR file)

By having the Google Chrome based on Java, Google could easily adapt Google Chome on mobile phones, Linux-enabled netbooks, and yes you name it buddy.

I am still not clear on the WebKit(The open-source browser Chrome is built on) but we will be getting to that next.

Happy Chroming!

Chrome and Android were developed largely separately, Brin said in an interview at the Chrome launch event Tuesday. “We have not wanted to bind one’s hands to the other’s,” Brin said. But you can expect that to change now that both projects are public and nearing their first final releases.

“Probably a subsequent version of Android is going to pick up a lot of the Chrome stack,” Brin said, pointing to JavaScript improvements as one area.

And the brand name likely will follow. “My guess is we’ll have ‘Chrome-like’ or something similar,” he said.

via cnet Tags:, , , , , , , , , , , , , , , , , , , ,