I needed to answer the question "Which browsers should I test in?", but was frustrated by how difficult this was to answer in Google Analytics. After months of frustration and not being able to easily give solid figures from our websites, I knocked up a one-page site that aggregates the Analytics data of the logged in user and allows them to play around with various scenarios to decide which browsers to test in. Most importantly, this uses data from the target market, not from a generic or randomised sites.
Please note that this site uses the Google GData JavaScript API, so none of your Analytics data is sent to my servers.
The site is here:
browsertest.info
Showing posts with label Web Development. Show all posts
Showing posts with label Web Development. Show all posts
Tuesday, August 9, 2011
Wednesday, May 4, 2011
Overriding Internet Explorer Compatibility Mode for intranet sites
Many corporate environments (including my own) have the "Display intranet sites in Compatibility View" setting enabled. This means that, even if you use the new
I found a fantastic summary of the decision tree that Internet Explorer uses when deciding how to render a page. Using this information, I tried adding the following tag to each page:
This tag will override the Compatibility Mode settings and the browser will render in the most standards compliant way.
The downside of this tag is that it is not standard HTML, and will fail HTML validation.
<doctype html> tag, your intranet site will render in Compatibility Mode. This means that Internet Explorer 8 will render your site in Internet Explorer 7 mode.I found a fantastic summary of the decision tree that Internet Explorer uses when deciding how to render a page. Using this information, I tried adding the following tag to each page:
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
This tag will override the Compatibility Mode settings and the browser will render in the most standards compliant way.
The downside of this tag is that it is not standard HTML, and will fail HTML validation.
Monday, May 2, 2011
Setting up a Google App Engine development environment on Ubuntu 11.04
- Install Ubuntu 11.04.
- sudo add-apt-repository ppa:fkrull/deadsnakes
- sudo apt-get update
- sudo apt-get dist-upgrade
- sudo apt-get install eclipse python2.5
- Launch Eclipse and install PyDev from http://pydev.org/updates
- Download Google App Engine from http://code.google.com/appengine/downloads.html
- Expand app engine code into source code folder
- Create a new PyDev Google App Engine Project (Ctrl+N)
- Set up run configuration
- Name your run configuration.
- Under "Project", add your Google App Engine Python project.
- Under "Main Module", enter the location of the "dev_appserver.py" script.
- Change to the "Arguments" tab and enter "${project_loc}/src" as first argument. After this argument, you may add all available additional arguments listed on the Dev Webserver documentation page. (Here, for example we changed the port where GAE is listening to 9999.)
- Run the project.
- Optionally use lib/django_1_2/django/bin/django-admin.py to create a new Django project. You will need to install Django first by running
sudo python2.5 setup.py install
Monday, April 25, 2011
Setting the current culture of a website
Rather than relying on the settings of the server, it can be prudent to set the current culture of your ASP.NET application using the following setting:
...
<system.web>
...
<globalization culture="en-NZ" uiCulture="en-NZ" />
...
</system.web>
Subscribe to:
Posts (Atom)