LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-17-2009, 11:18 AM   #1
dayton32
LQ Newbie
 
Registered: May 2009
Location: Oak Island, NC USA
Posts: 4

Rep: Reputation: 0
Cool [JavaScript Application] pop-up appears everytime I go to Firefox.


Everytime I go to Firefox I get as many as three [JavaScript Application] pop-ups, stating: Error: document.body is null. I think this has to do with the last time I installed Java after a crash. One of the Java licenses would just not finish up and get off, and I deleted it after a couple of hours and reinstalled. Is there any way to get this pop-up off. I can delete each one, but sometimes there are as many as three or four.
 
Old 11-17-2009, 11:35 AM   #2
mericet
Member
 
Registered: Jul 2009
Posts: 50

Rep: Reputation: 8
You mention both Javascript popups and Java. I think it's highly unlilely the two are related, and Java and Javascript have only one similarity - their name. Other than that, they have nothing to do with each other.

What website comes up when you start Firefox?
Also, determine that they really are Javascript popups by disabling Javascript, refreshing the page, and see if they still appear.
 
Old 11-18-2009, 09:39 AM   #3
dayton32
LQ Newbie
 
Registered: May 2009
Location: Oak Island, NC USA
Posts: 4

Original Poster
Rep: Reputation: 0
The web page on which this always happens is iGoogle. Following your suggestion, I disabled JavaScript and the [JavaScript Application] --title of the pop-up, and the pop-up doesn't appear on the page. But then neither does half the page. I then closed and then returned to iGoogle page, disabled JavaScript, refreshed the page, and no [JavaScript Application], but also no half of the page. So apparently the pop-ups have something to do with JavaScript as the title of the pop-up says, but I am so inexperienced I wouldn't have known the difference if you hadn't mentioned it.

Thanke you, mericet, for locating the problem for me. Now, what to do? I would be most appreciative for any further suggestion you have.
 
Old 11-18-2009, 10:13 AM   #4
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Perhaps you could try a Mozilla Firefox specific forum, like http://forums.mozillazine.org/
It sounds like a typical JavaScript error indeed.

A quick google search turned up similar error in jquery.js JavaScript on the iGoogle page.
> Are you using jquery.js by any chance? You could perhaps have a look at the web page source code (menu View - Page Source or similar)
and do a text search on "jquery"?

Which Firefox version are you using?

Alternatively, you could start with:
1/ resetting your iGoogle settings (get back to basics). You can start by eliminating those items that don't show up
when you disable JavaScript (eg the JavaScript based iGoogle apps) one by one, until you have found the offending one (eg the errors stop).
2/ There are Firefox plugins to debug javascript code, which can help track down the offending code - if you're comfortable
debugging other people's JavaScript code, that is. At least, it can be a faster way to find the iGoogle app that runs the
offending code.

That said, the error in itself seems sensless. "document.body" normally refers to your HTML doc's <body> element if my memory
serves me well. And the <body> contains the main body of the web page and hence shouldn't be "null" (empty / non-existing).
 
Old 11-19-2009, 04:59 AM   #5
mericet
Member
 
Registered: Jul 2009
Posts: 50

Rep: Reputation: 8
Hi,
There are certainly some valid point is timmeke's response, but ultimately I don't think you'll be able to do anything about it, as this sounds like a fault in iGoogle's code.
Why it's giving you popups instead of just logging the errors like it usually does, I'm not sure. Maybe some Firefox setting somewhere.
 
Old 11-19-2009, 05:17 AM   #6
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Yes, mericet, you're right. Fixing the problem is difficult if not impossible, as it's likely to be in iGoogle code. Hence my suggestion
to track the offending iGoogle app and remove that, so the rest can keep working (without throwing all JavaScript apps out).
 
Old 11-23-2009, 09:59 AM   #7
dayton32
LQ Newbie
 
Registered: May 2009
Location: Oak Island, NC USA
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks to you both, Timmeke and Mericet. No, I'm not using JQuery.js. I think I have an idea about how to go about this now. Unfortunately, Ubuntu Geek is also one of the pop-ups on iGoogle which may have to go, but I can remedy that if "Geeks" is the offender. I appreciate your lending a helping hand. One thing though, and I haven't been able to find an answer to this one: When Ubuntu freezes, is there anyway to get it back in working order other than restarting the computer? It seems like I have to restart several times a day, something hangs up and it just won't budge. I tried ctr+Alt+del but that doesn't work.
 
Old 11-25-2009, 03:36 AM   #8
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Did you try switching runlevel to avoid the X window environment?
It could be that it's just your window manager / X that's hanging.
Usually, you can switch with Ctrl + Alt + F-keys
Ctrl-Alt-F7 usually turns to the regular X Window (graphical) one.
 
Old 11-26-2009, 07:30 AM   #9
dayton32
LQ Newbie
 
Registered: May 2009
Location: Oak Island, NC USA
Posts: 4

Original Poster
Rep: Reputation: 0
Tim, thanks for your suggestion. I think I found the cause of this pop-up which not only appeared on iGoogle (always and continued to pop up everytime I went to another tab), but also turned up at other times (I didn't note these, they were so few). I tried what I know best first, that is, whenever I have had trouble in my former Mac days, I checked the Firefox Extensions. This time I disabled all the Firefox Extensions and no pop-ups. All of them seemed OK except one: Apt-linker. I enabled it and the pop-ups resumed. The extension is too valuable a tool to eliminate, so I just disabled it. No pop-ups. I went to my lap-top which I had cloned from my PC and disabled Apt-linker and the pop-ups disappeared. Since I know so little about the computer, I didn't report this to Firefox. And it might be that the extension is not the problem, but a conflict with another extension. I don't know. Anyway, the pop-up mystery is solved until the next glitch shows up. Thanks again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LimeWire 5 on Fedora 10 reports crash everytime i close the application manuleka Linux - Newbie 2 06-03-2009 10:09 PM
firefox closes everytime Tunababa Linux - Newbie 8 11-29-2008 04:18 PM
Ubuntu Edgy/Firefox 2/Javascript - Firefox closes accessing websites with Javascript Interdictor Ubuntu 8 11-02-2006 12:58 PM
Why does Linux do a DNS lookup everytime I start an application? Bandhel Linux - Networking 2 02-23-2004 08:08 AM
Why does Mandrake do a DNS lookup everytime I start an application? Bandhel Mandriva 1 02-23-2004 06:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration