Since the jailbreaking of iTouch’s version 2 firmware, AppStore applications had also been hacked. I did install a lot of useful applications and good games and later found out today that iTouch has a page limit when organizing your icons to be placed in certain pages. It only has a maximum if 9 pages total. I found out about this as I was transferring a game icon to another page and found out it got placed in page 2. Maybe if you will install more applications, more pages will be added that’s for sure.

Issues arise when you want to copy text to the clipboard using javascript. Firefox provides a security measure which prevents you from doing it so a workaround has to be made for it to happen. I am using IE7 for my IE testing and in this version, it also has a security feature although less strict than Firefox. Whenever you browse to a new page that has a copy to clipboard function, a popup window prompts you asking if you want to allow the webpage to access your clipboard. Normally, you would choose no. But instances may require you to like if the site you are accessing is yours or related to your needs and you have the utmost trust that the script won’t harm your PC or something. Anyway, to provide copy to clipboard functionality using Javascript, I found this function in this site does the job by using a little .SWF file. You can download the file there or if you want to use Google App Engine, the code function below will do. It also works in Safari, IE, and Opera.

I had thought that using the property innerHTML on an HTML tag via Javascript works the same way in Internet Explorer and Mozilla browsers. As I don’t use IE now because it sucks ever since vesion 7 was released, I wasn’t aware the results vary in IE and Firefox. If my boss is not using IE, then I would never have known about this. If we want to get the contents of, say

<span id="content">This is a content</span>

we do it in Javascript via document.getElementById('content').innerHTML. If the content of span is just ordinary text, then you wouldn’t have problems in both browsers. The issue arises if your tag would contain HTML tags within them like

<span id="content"><font size="3">This is a content</font></span>

When you do document.getElementById('content').innerHTML, the results vary in

IE: <FONT size=3>This is a content</FONT>
Firefox: <span style="font-size: small;">This is a content</span>

Notice that in IE, apostrophe characters are taken out in the output string and the tag name is converted to uppercase. Firefox though, retains the same case and characters as how it was written in the HTML file. You would have to do cross browser checks in your Javascript if you want to do string manipulations in your code. Sigh, why can’t they just get along in the same page.

Related Posts Plugin for WordPress, Blogger...