javascript bugs bug me.
-
Michael A. Cochran wrote:
The "window.external.tran" evaluates to null in a script debugger.
There's a check before it is accessed:
if( window.external && window.external.tran )
a += "&tran=" + window.external.tranSo it really shouldn't be throwing an error. FWIW, here's your code snippet pretty-printed:
if(window.google)
window.google.report=function(d,c)
{
var a="";
{
if(window.google.pt)
{
a += "&srt=" + window.google.pt;
delete window.google.pt
}
if( window.external && window.external.tran )
a += "&tran=" + window.external.tran
}{ var e= document.getElementById("csi"); if(e.value) return
And people bitch about STL code being unreadable.
¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog Just Say No to Web 2 Point Oh
-
Yeah. What set me off this evening is both CIO.com and zdnet.com throw several errors each. These two sites are often referenced in the Code Project daily news email. When I read this email, I always just click all the links I want at once, opening them in several tabs. With the script errors, you literally have to flip back and forth between the tabs, finding and clearing the error popups. It's a pain but I've been putting up with it for months. Guess I must have had a bad day today to make me say something about it. :-D
You can solve part of your problem by skipping CIO.com and zdnet.com altogether. You'll get more informed news at uncov.com and theonion.com.
¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog Just Say No to Web 2 Point Oh
-
I don't know what trans is either. But try...catch would probably catch it. Or they should find some other more reliable way of doing whatever it's doing. And this just started happening a few days ago. So this is fresh functionality. Google worked fine for me before so do I need whatever this is? Seems not. :~ So why not spend a little time and make sure the code works without irritating little popups? There's gotta be something they could do.
-
:-D Yeah. We all use that one, don't we. :laugh:
-
Michael A. Cochran wrote:
So why not spend a little time and make sure the code works without irritating little popups?
Beats me. Maybe it's working for them?
:-D Yeah. We all use that one, don't we. :laugh:
-
And people bitch about STL code being unreadable.
¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog Just Say No to Web 2 Point Oh
-
Nope. IE7. MAC
Michael A. Cochran wrote:
Nope. IE7.
Therein lies your problem. :~
Simply Elegant Designs JimmyRopes Designs
Think inside the box! ProActive Secure Systems
I'm on-line therefore I am. JimmyRopes -
I'm pretty sure "Web development" and "computer science" in the same sentence is an oxymoron[^]!
¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog Just Say No to Web 2 Point Oh
:laugh: It sure feels like it some days. Do web development for a while and you begin to long for the good old days when we did nothing but C and assembler programming. I once wrote a chess program for a 3270 using assembler. That was much more fun than trying to get web pages to layout correctly.
-
You can solve part of your problem by skipping CIO.com and zdnet.com altogether. You'll get more informed news at uncov.com and theonion.com.
¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog Just Say No to Web 2 Point Oh
:)
-
Am I the only guy who wishes some of our fellow web coders would be a little more persistent about eliminating their javascript bugs on the popular websites. You know, the ones that pop up three or four popup dialogs per page refresh when you have debugging enabled in your browser? As a developer, I always have javascript debugging enabled in my browser. Surely I'm not the only one. Those silly little scripting error popups get irritating after a while - especially when you open several tabs at once like I always do when I read the Code Project Daily News articles. Now, I know most of these errors are from the ads and because I have my popup blocker turned on but - gee whiz kids - can't we get those guys to get rid of their js bugs? Speaking of javascript bugs, am I also the only one to have had Google rendered completely unusable because of javascript errors? I can't click a single link in the search results. MAC
I really think that they should come up with something universal, like an Uniscript or something. It would really increase the happiness among us. :wtf:
-
Am I the only guy who wishes some of our fellow web coders would be a little more persistent about eliminating their javascript bugs on the popular websites. You know, the ones that pop up three or four popup dialogs per page refresh when you have debugging enabled in your browser? As a developer, I always have javascript debugging enabled in my browser. Surely I'm not the only one. Those silly little scripting error popups get irritating after a while - especially when you open several tabs at once like I always do when I read the Code Project Daily News articles. Now, I know most of these errors are from the ads and because I have my popup blocker turned on but - gee whiz kids - can't we get those guys to get rid of their js bugs? Speaking of javascript bugs, am I also the only one to have had Google rendered completely unusable because of javascript errors? I can't click a single link in the search results. MAC
That's the reason I switched to Chrome. IE7- is just stupid in this regard.
Todd Smith
-
Are you using Netscape 1.0 ?
Christian Graus Driven to the arms of OSX by Vista.
:rolleyes: He's entirely right. I have debugging enabled in my development virtual machine in various browsers and there are almost no sites I go to with it that don't give javascript errors all over the place.
"It's so simple to be wise. Just think of something stupid to say and then don't say it." -Sam Levenson
-
That's the reason I switched to Chrome. IE7- is just stupid in this regard.
Todd Smith
How is this an IE7 problem? If you're using FF with firebug and there is a js bug it's gonna pop a message and stop execution just like ie7 does. I haven't messed with chrome yet but I assume its script debugger (if it has one) will do the same thing. MAC
-
Am I the only guy who wishes some of our fellow web coders would be a little more persistent about eliminating their javascript bugs on the popular websites. You know, the ones that pop up three or four popup dialogs per page refresh when you have debugging enabled in your browser? As a developer, I always have javascript debugging enabled in my browser. Surely I'm not the only one. Those silly little scripting error popups get irritating after a while - especially when you open several tabs at once like I always do when I read the Code Project Daily News articles. Now, I know most of these errors are from the ads and because I have my popup blocker turned on but - gee whiz kids - can't we get those guys to get rid of their js bugs? Speaking of javascript bugs, am I also the only one to have had Google rendered completely unusable because of javascript errors? I can't click a single link in the search results. MAC
Michael A. Cochran wrote:
Speaking of javascript bugs, am I also the only one to have had Google rendered completely unusable because of javascript errors? I can't click a single link in the search results.
I too had a few days of google being unusable ( turns out keyboard worked but the mouseover caused most of the errors). They do have a fix in the google help. It was caused by a registry entry, rumored to have been set in a early version of a MS Windows Update relating to searching in IE. :omg: X|
-
Michael A. Cochran wrote:
The "window.external.tran" evaluates to null in a script debugger.
There's a check before it is accessed:
if( window.external && window.external.tran )
a += "&tran=" + window.external.tranSo it really shouldn't be throwing an error. FWIW, here's your code snippet pretty-printed:
if(window.google)
window.google.report=function(d,c)
{
var a="";
{
if(window.google.pt)
{
a += "&srt=" + window.google.pt;
delete window.google.pt
}
if( window.external && window.external.tran )
a += "&tran=" + window.external.tran
}{ var e= document.getElementById("csi"); if(e.value) return
-
Am I the only guy who wishes some of our fellow web coders would be a little more persistent about eliminating their javascript bugs on the popular websites. You know, the ones that pop up three or four popup dialogs per page refresh when you have debugging enabled in your browser? As a developer, I always have javascript debugging enabled in my browser. Surely I'm not the only one. Those silly little scripting error popups get irritating after a while - especially when you open several tabs at once like I always do when I read the Code Project Daily News articles. Now, I know most of these errors are from the ads and because I have my popup blocker turned on but - gee whiz kids - can't we get those guys to get rid of their js bugs? Speaking of javascript bugs, am I also the only one to have had Google rendered completely unusable because of javascript errors? I can't click a single link in the search results. MAC
Use Firefox with Firebug instead of IE. -dave-
-
Use Firefox with Firebug instead of IE. -dave-