javascript bugs bug me.
-
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
For quite a while, slashdot would greet me with precisely three js errors every time I loaded it. They seem to have fixed it now, but I do wonder how many developers find the easiest way to fix javascript bugs is to turn off error notification. I mean, it's a site about technology, primarily computer related, and I get no love. Y'all.
-
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
As an asp.net programmer, I find the javascript bugs very, very annoying. Our payroll application made by JDE that have to use to fill out my time sheet. I have to keep clicking no to debug. I always fix my javascript bugs, but honestly I try to write as little JS as possible. I just write simple functions here and there. 99% of the javascript I use was written by someone else or is part of a framework (Telerik, AJAX, etc...). It is damn annoying how many websites do not clean up their javascript. It is just laziness.
I didn't get any requirements for the signature
-
Pretty sure it's google code. 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;e.value=1}var b=d.t,f=b.start;delete b.start;var g=[];for(var h in b)f&&g.push(h+"."+(b[h]-f));if(c)for(var i in c)a+="&"+i+"="+c[i];(new Image).src=["/csi?v=3","&s=GWS&action=",d.name,a,"&rt=",g.join(",")].join("")};google.timers.load.t.xjs=(new Date).getTime();google.timers.load.t.ol&&google.report(google.timers.load,{ei:google.kEI,e:google.kEXPI}); The "window.external.tran" evaluates to null in a script debugger. It's clearly buried in a google code snippet. It might be caused by something I've turned off for security or privacy reasons (for example) but still, a simple null check would eliminate the error, avoiding the error popup and allowing the link to work. Ooo, wait... Still getting popup errors but the search result links look to be working now. Maybe the links were broken as a side effect of the "forward slash glitch". MAC
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
-
I think a lot of the bugs are causes by different implementations of js. It is such a pain to eliminate all errors and warnings in all browsers.
Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
If you don't ask questions the answers won't stand in your way.
Most of this sig is for Google, not ego.Yeah, probably. Web development is surely one of the more mentally painful and frustrating fields of computer science. It can sometimes take days to do something in a web environment that would take 5 minutes in a WinForm environment. Try doing something like grab handles on an asp.net web page that uses webparts and making it layout correctly on even just the big three browsers (IE, FF, Safari) for example. Ouch. MAC
-
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
But it is. And it's the check that fails. Technically, (and I wasn't trying to fix their code for them) it isn't a null reference exception. The error is "Element not found". Still, no doubt something that could be trapped and properly handled. MAC
-
But it is. And it's the check that fails. Technically, (and I wasn't trying to fix their code for them) it isn't a null reference exception. The error is "Element not found". Still, no doubt something that could be trapped and properly handled. MAC
Michael A. Cochran wrote:
Still, no doubt something that could be trapped and properly handled.
Hard to say...
window.external
is (Internet Explorer's) means of exposing a hostIDispatch
[Ex
] interface outside of the DOM to scripts. I have no idea what sort of extension providestran
, but if it isn't there (or is broken... or has been replaced with something else... and that something else is broken...) then all bets are off - it could be valid for the check and invalid for the access. -
For quite a while, slashdot would greet me with precisely three js errors every time I loaded it. They seem to have fixed it now, but I do wonder how many developers find the easiest way to fix javascript bugs is to turn off error notification. I mean, it's a site about technology, primarily computer related, and I get no love. Y'all.
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
-
Yeah, probably. Web development is surely one of the more mentally painful and frustrating fields of computer science. It can sometimes take days to do something in a web environment that would take 5 minutes in a WinForm environment. Try doing something like grab handles on an asp.net web page that uses webparts and making it layout correctly on even just the big three browsers (IE, FF, Safari) for example. Ouch. MAC
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
-
Michael A. Cochran wrote:
Still, no doubt something that could be trapped and properly handled.
Hard to say...
window.external
is (Internet Explorer's) means of exposing a hostIDispatch
[Ex
] interface outside of the DOM to scripts. I have no idea what sort of extension providestran
, but if it isn't there (or is broken... or has been replaced with something else... and that something else is broken...) then all bets are off - it could be valid for the check and invalid for the access.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.
-
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