SitePoint Sponsor |
|
User Tag List
Results 1 to 6 of 6
Thread: what does this do?
-
Aug 31, 2003, 08:11 #1
- Join Date
- Aug 2003
- Location
- Taupo NZ
- Posts
- 24
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
what does this do?
What does this do?
And how come it so popular among websites?
Code:<script language="JavaScript"> <!-- function SymError() { return true; } window.onerror = SymError; //--> </script>
t94xr
http://www.t94xr.net.nz/
-
Aug 31, 2003, 09:40 #2
- Join Date
- May 2002
- Posts
- 85
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
It's actually the basis of an error-trapping function for Javascript errors, but as all the function does is return true, it effectively suppresses the browser's standard error warnings. So its use is to cover up sloppy Javascript coding.
-
Aug 31, 2003, 10:03 #3
- Join Date
- Feb 2000
- Location
- where the World once stood
- Posts
- 700
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hi t94,
The only times I saw "Sym..." was in this post and the one (presumably you) posted on another forum; to wit: "window.open = Sym....". So, I'm not aware of any 'popularity', but if you have seen it in a number of places, it's probably the result of some over-featured web editor.
VinnyWhere the World Once Stood
the blades of grass
cut me still
-
Aug 31, 2003, 11:18 #4
- Join Date
- Aug 2003
- Location
- Taupo NZ
- Posts
- 24
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
ahhh ok
This is the only forum I've posted it this question up as.
Can you find out what this other persons username is? If its like mine get them to contact me cuz I'm the ONLY one in the world with my username. And Im the only one in the world who has a website with my name.
Like im t94xr & i have www.t94xr.net.nz - i made sure there was no one with this name when i chose it. :St94xr
http://www.t94xr.net.nz/
-
Aug 31, 2003, 11:29 #5
- Join Date
- Feb 2000
- Location
- where the World once stood
- Posts
- 700
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Calm down, t94
I doubt the user has your name; it was the question & 'sym' that caught my eye
VinnyWhere the World Once Stood
the blades of grass
cut me still
-
Aug 31, 2003, 11:32 #6
- Join Date
- Aug 2003
- Location
- Taupo NZ
- Posts
- 24
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
oh phew!
thanks - lol i really am the only one in the world ya knowt94xr
http://www.t94xr.net.nz/
Bookmarks