Timestamp: 07/09/2012 08:57:12 PM
Error: gBrowser is not defined
Source File: chrome://noscript/content/noscriptBM.js
Line: 96
Open: Tools -> Web Developer -> Error Console
Press 4-5 times Ctrl-B in main Firefox window. Everytime the bookmarks window is visible the above message is written to console.
[FIXED] BUG: Error: gBrowser is not defined
[FIXED] BUG: Error: gBrowser is not defined
Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1
Re: BUG: Error: gBrowser is not defined
I tried this out yesterday, and could reproduce it on NoScript 2.5.5. Just toggle the bookmarks bar and the error appears in the console.
Maybe caused by changes in recent Firefox versions? I'm guessing gBrowser is some kind of reference to a browser component...
Will try a clean profile today, which apparently fixed this bug for another user before, but I don't think that's the trouble.
Maybe caused by changes in recent Firefox versions? I'm guessing gBrowser is some kind of reference to a browser component...
Will try a clean profile today, which apparently fixed this bug for another user before, but I don't think that's the trouble.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.
True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.
True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (Linux; U; Android 2.2.1; en-gb; GT-S5570 Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
Re: BUG: Error: gBrowser is not defined
Confirmed with a different profile. Doesn't seem to interfere with anything, just gives the error message.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.
True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.
True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0.1
Re: BUG: Error: gBrowser is not defined
The line in question, 96:
Code: Select all
noscriptBM.handleURLBarCommandOriginal = gBrowser.loadURIWithFlags;
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/17.0 Firefox/17.0 SeaMonkey/2.14a2
- Giorgio Maone
- Site Admin
- Posts: 9527
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: BUG: Error: gBrowser is not defined
You mean the sidebar, correct? If so, it's just a nuisance (no effect but the error console noise) and will be gone in next build, thanks.Thrawn wrote:I tried this out yesterday, and could reproduce it on NoScript 2.5.5. Just toggle the bookmarks bar and the error appears in the console.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 Firefox/15.0.1
Re: BUG: Error: gBrowser is not defined
Opening the sidebar & clicking on Bookmarks, or opening Bookmarks Manager directly will generate the Error.
(I only looked from the SeaMonkey side.)
(I only looked from the SeaMonkey side.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/17.0 Firefox/17.0 SeaMonkey/2.14a2
Re: BUG: Error: gBrowser is not defined
Oh since I happened upon this today:
<RattyAway> Callek: the firefox gBrowser is a lazy getter. Ours [SeaMonkey] is not. So for SM cesar should use getBrowser() instead. [in firefox getBrowser() is a legacy compat wrapper for gBrowser]
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:19.0) Gecko/20121129 Firefox/19.0 SeaMonkey/2.16a2
Re: BUG: Error: gBrowser is not defined
While we're bumping the thread, I can confirm that this was fixed
. @Giorgio: Yes, it was the bookmarks sidebar.

======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.
True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.
True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Linux i686; rv:15.2) Gecko/20121127 PaleMoon/15.2.1