Categories
Uncategorized

Fixing the IE8 Double Click Bug

The Big Blue E
The Big Blue E (Photo credit: sbisson)

In Internet Explorer 9 & higher, there is a bug in handling form based javascript written for IE8. One of the side effect is that for ‘Forms’ with ‘Submit’ Buttons, it can cause a ‘Double Click Action’ on Submit.

This action can cause unexpected behavior on webpages designed primarily for IE8. There are a couple of ways to work around the issue. One simple JS fix is to replace the onclick call to something like this:

onclick="this.disabled=true; /*Do Required operation*/ return false;"
{adinserter 3}
Other options include, using a js listener to catch the click event and prevent it from double clicking.
Also changing the type of the button from “Submit” to Button apparently reduces the probability of this error recurring.

Enhanced by Zemanta
Categories
Chrome Solutions

How to Restore Previous Session in Chrome

Logo used from the start of the Chrome project...
Logo used from the start of the Chrome project until March 2011 (Photo credit: Wikipedia)

To restore the tabs from your last session do the following in Chrome:

  1. Click on the top-right corner menu button in Google Chrome.
  2. Go to “Recent Tabs”
  3. Here you will see a list of recent closed tabs. Along with them, near the bottom you will see number of tabs closed(eg. 4 tabs).
  4. Click on that and your last session will be restored.
Enhanced by Zemanta
Categories
Open Source Solutions Web

Firefox: Spell Check Single Line Fields

Mozilla Firefox word mark. Guestimated clear s...
Image via Wikipedia

Firefox by default spell checks text fields, it has the built in ability to spell check single line fields(search bars ect) but that is disabled by default.

To activate the ability of firefox to spell check single line fields, do the following:

  • Bring up your about:config page. You can do this by typing “about:config” in your address bar and clicking on “I’ll be careful, I promise” button
  • In the “Filter” field type layout.spellcheckDefault.
  • As you can see, the integer value is 1. Double-click on it, then enter 2 as its new value.
  • Click OK.
Reblog this post [with Zemanta]
Categories
Solutions Web

AdBlock for Opera 10

If you are like me and totally obsessed with Opera 10, but still a new user to the browser, then you might be wondering how to do a few things on it. One of my biggest problems was to get an Ad Block system up and running in the browser. A little web search gave me the way to do it.

Here are my notes:

  • Opera requires you to save a java script file that does the adblocking for it.  I found one here
  • Save the file into a folder of your choice.  I suggest creating a new folder as you will need to specify the folder not the file in future steps
  • Open Opera and hit “Alt – P”
  • In the corresponding dialog, click on the advanced tab
  • Click on “JavaScript Options…”
  • Hit “Choose” and navigate to the folder where you stored the file and hit “Ok”
  • You might need to refresh the pages for the adblock to take effect.
Reblog this post [with Zemanta]