Tag Archives | javascript

Firefox 3 is Faster Finally?

Firefox 3 has a lot of nice new features, the design is slick and it promises to be yet another Mozilla home run! Now a lot of people could really care less about those three facts because much of the Web is much more considered with how fast Firefox 3 is going to be. Well thanks to Ryan over at CybernetNews.com we have some numbers for you.

Using the SunSpider JavaScript Benchmark test for each of the browsers, here are the results from best to worst on who was the fastest around:

  1. Firefox 3 Nightly (PGO Optimized): 7263.8ms
  2. Firefox 3 Nightly (02/25/2008 build): 8219.4ms
  3. Opera 9.5.9807 Beta: 10824.0ms
  4. Firefox 3 Beta 3: 16080.6ms
  5. Safari 3.0.4 Beta: 18012.6ms
  6. Firefox 2.0.0.12: 29376.4ms
  7. Internet Explorer 7: 72375.0ms

Now before I get somebody mad because this is only a test of JavaScript, let me explain that this test is very relevant because there are tons of sites (thanks to Web 2.0) that heavily reply on it. To get more information on the research and information you can get from this study be sure to check it out over at CybernetNews.com.

Fixing Firefox Popup Annoyances

Two popup window annoyances that come up are when you yourself can not resize a window because the designer has locked it down to that one shape and size and when a web site resizes your windows or moves them around without asking. We will start with that one first.

Stop Resizing and Moving My Firefox Browser

Want to stop the ability for web sites to resize your browser window or move it around? In Firefox go to Tools, then Options the the Content tab. Where you see the check mark box for “Enable JavaScript” hit the Advanced button next to it. Here you can enable or disable the ability for web sites to resize or move your existing window.

Turn Back on My Ability to Resize Any Popup Myself

Now the second situation you might find yourself in is when you want to resize the window but the designer locked it down so that you can’t. Thanks to gHacks.net though for finding this next tweak, you can override the “cannot resize popup” setting when you run into popups that can not be resized.

There is however a way in Firefox to override the “cannot resize popup” setting which in turn makes it possible to resize any popup that you might come across. To do so you need to type about:config in the address bar of Firefox and filter for the term dom.disable_window_open_feature.resizable. Set the value of this setting to true to be able to resize all windows in Firefox.

Restart Firefox and you should be able to resize those popup windows on any web site.

Can Firefox Fix JavaScript Issues?

Most Wanted

I really hate it when JavaScript goes bad. Here is an E-mail I got from Sal last week. Seems he is having some JavaScript woes of his own.

Hi Mitch, love the Web site. I want to switch to Firefox, but is there any way it can keep all these resizing windows and JavaScript tricks people do cut down to a minimum at least. I really hate them and wish I could browse without them. Thanks!

Sure Sal, the first thing I would have you do is go into Options menu and then click on the content tab. There you can see there is a check mark to enable or disable JavaScript. I would leave it enabled for now, but if you click on the “Advanced” button right next to it you should be able to customize what exactly you allow JavaScript to do (or not do) via the browser.

As far as extensions saving the day, there is always the NoScript extension for Firefox. It allows you to turn on JavaScript permissions on a per-page basis. This might be the best way to go if you want to make sure you don’t have unwanted JavaScript woes from specific Web sites out there.

View Javascript Via Firefox

Need a quick and painless way to view javascript in Firefox? Check out JSView!

Well now there’s a much easier way. You can use the JSView extension to solve the problem. You can access it from the context menu, from the toolbar, from the view menu, or from the status bar. If the website you are viewing contains any external js/css files, an icon will appear that says “CSS”, “JS”, or both. Each individual file can then be viewed by clicking on the filename. The file will be opened in a new window. You can also choose to open all external files by clicking on “View All”.

+ Download and Install the JSView Extension for Firefox!

Wikiseek Firefox Search Extension

Have you heard about Wikiseek? If you read any of the big popular A-list blogs you might think it is the second coming, but I wouldn’t say that just yet. It is nice though. They have also released a Firefox extension that allows you to slip their search into Wikipedia.

If you use Firefox you can install the Wikiseek Search Extension to add Wikiseek to the search form inside all Wikipedia pages. Just click the install link below and follow the instructions. Once you restart Firefox you will see a Wikiseek button in the Wikipedia search form.

Pick it up and let me know what you think.

+ Download and Install the Wikiseek Firefox Extension!

NoScript Makes You a Little Safer

For those folks out there who are extra suspicious about the browsing they do Online, and want to really be safe – picking up NoScript might be a good idea. Once you install this, no JavaScript or Java will be able to run via a Web site without getting your permission first.

Extra protection for your Firefox: NoScript allows JavaScript, Java and other executable content only for trusted domains of your choice, e.g. your home-banking web site.

Of course it will take a while to train, as far as allowing the good Web sites you visit to run the code they need to run, but if you want to be extra safe I would recommend at least trying this option out.

+ Download and Install the NoScript extension for Firefox!

Unhide Your Menu Bar

Some Web sites out there have the bad habit of hiding your menubar when you click on a link. It might be because it is an image popping up or maybe they are trying to disable your ability to copy what is there. Well, to get around this little problem all you need is one extension. The Unhide Menubar extension adds a right-click menu entry for un-hiding the menu and toolbars in windows where they have been hidden by javascript.

+ Download and Install the Unhide Menubar Extension!

JavaScript Interpreter in Firefox 2

It would seem that Firefox 2 is going to get a leg up when it comes to JavaScript as well.

One of the new browser’s key elements, and perhaps the beneficiary of the greatest amount of change, is its new JavaScript interpreter. As more Web sites take advantage of the new benefits of Asynchronous JavaScript — especially as they embed objects or functionality from Google and Microsoft Windows Live — the JavaScript interpreter may play a much more active role, not only in the operation of the browser but in the implementation of Web-based applications.

+ Read More About Firefox 2.0 Featuring New JavaScript 1.7!

FireBug

The FireBug Firefox extension would be a handy one for any Web developer to pick up and use.

FireBug lets you explore the far corners of the DOM by keyboard or mouse. All of the tools you need to poke, prod, and monitor your JavaScript, CSS, HTML and Ajax are brought together into one seamless experience, including a debugger, an error console, command line, and a variety of fun inspectors.

[Learn More About FireBug!]