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:, , , , , , , , , , , , , , ,

10 Jun 08 Firefox Chrome Tips – Chromifox is a Chrome Theme for Firefox!

Apparently, Google Chrome browser has picked up in popularity very quickly, there’s even a Firefox extension called Chromifox, which lets you make Firefox “look” like Chrome browser.

Get the Chromifox firefox extension, called a  “coat of Chrome for Firefox”. Its is a bright and soft blue theme for Firefox 3 on Windows, Linux, and Mac OS X, and is inspired by the appearance of the Google Chrome web browser.

via quickonlinetips 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:, , , , , , , , , , , , , , , , , , , ,