Javascript Create A Hyperlink Element
Posted by tech on
September 22, 2008
Creating a hyperlink element using Javascript is pretty simple. Do the following. Notice, that the hyperlink element contains two text ‘click me’ that’s been set twice. This is because IE only accepts its proprietary innerText property to set a hyperlink’s text while other browsers use textContent. To set a CSS class name, you need to use the className attribute because the class property is a reserved word in Javascript. You can either use it as element.classname = ‘class_name’ or element.setAttribute(’className’, ‘class_name’);
tags: firefox, hyperlink, ie
2 Comments
Javascript Copy Text To Clipboard
Posted by tech on
August 28, 2008
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… Continue reading
tags: clipboard, firefox, ie, javascript, mozilla, opera
12 Comments
Firefox 3 Download Day 2008
Posted by tech on
June 17, 2008
I saw some posts in the blog regarding Firefox download day, us helping the browser set a Guinness World
Record for most downloads within a 24 hour span. I’m wondering why they need that gimmick.
Firefox is already way better than IE. I used to be a huge fan of IE but when version 7 surfaced, I was terribly
discouraged with it and have been using Firefox since. I will of course download this, but not as much as anticipating it like there’s going to be some sale going to happen. I am expecting that they will have solved that memory usage issue when using Firefox. It was understandable when version 3 beta was released since it was… Continue reading
tags: browser, firefox
2 Comments
Optimize Firefox browser memory usage
Posted by tech on
April 13, 2008
Browsers tend to eat up lots of resources in your PC. Internet Explorer and Firefox do just that. Even Safari in Windows seems to be a heavyweight. I found a post by someone about a Firefox optimizer software. It’s a 3rd party application that you run and let it idle in your Windows tray. To verify if it does indeed work, I checked my Windows Task Manager and saw my Firefox browser was currently eating up 153,944K of memory usage. (see image below)
Right after I installed the optimizer, the memory usage went down to a whopping 516K!!!










