 |

skinner
Mar 27, 2008, 3:13 PM
Post #1 of 10
(1872 views)
Shortcut
Registered: Oct 31, 2004
Posts: 1747
|
I can't be the only one getting these script error messages on every page load?
Error Message wrote: A script on this page may be busy, or it may have stopped responding. You can stop the script now or you can continue to see if the script will complete. It seems to appear while transferring data from pagead2.googlesyndication.com.. using Firefox/2.0.0.13
|
|
|
 |
 |

dan2see
Mar 30, 2008, 6:37 AM
Post #2 of 10
(1816 views)
Shortcut
Registered: Mar 28, 2006
Posts: 1491
|
Me, too. Here is a little more info: I use Firefox for Linux, version 2.0.0.12 This week it started showing me a bug report on any page. It has never done this before, and no other Internet site that I use, does this. When Firefox renders any page on your site, it displays a dialog-box:
Dialog-box wrote: A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue. [Debug script] [Continue] [Stop script] The javascript script:
script wrote: function testClasses(elClass,className) 50{ 51 52 var testClass = new RegExp("" + className + ""); 53 if(testClass.test(elClass)){ 54 55 return true; 56 } 57 return false; 58} Debug info:debug info wrote: window name is "www.rockclimbing.com" className is "roundedtopsmall" elClass is "sb-gen" testClass function()
|
|
|
 |
 |

skinner
Mar 30, 2008, 12:43 PM
Post #3 of 10
(1804 views)
Shortcut
Registered: Oct 31, 2004
Posts: 1747
|
dan2see wrote: Me, too. Here is a little more info: I use Firefox for Linux, version 2.0.0.12 This week it started showing me a bug report on any page. It has never done this before, and no other Internet site that I use, does this. When Firefox renders any page on your site, it displays a dialog-box: Dialog-box wrote: A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue. [Debug script] [Continue] [Stop script] The javascript script: script wrote: function testClasses(elClass,className) 50{ 51 52 var testClass = new RegExp("" + className + ""); 53 if(testClass.test(elClass)){ 54 55 return true; 56 } 57 return false; 58} Debug info: debug info wrote: window name is "www.rockclimbing.com" className is "roundedtopsmall" elClass is "sb-gen" testClass function() Ah Ha! Thanks Dan, now if someone could only fix it. Getting a script error on every page-load is not only a royal pain in the (_|_) ,,,but makes the site so slow (20+sec/page), it's hardly worth the bother.
|
|
|
 |
 |

reno
Mar 30, 2008, 3:37 PM
Post #4 of 10
(1795 views)
Shortcut
Registered: Oct 30, 2001
Posts: 18283
|
Hey, Skinner. I gotta tell ya, I have no earthly idea what a script is. I mean, beyond the obvious theatrical connotation, that is. I will tell ya that I haven't had the same problem you mention. I use FireFox as my browser, and have JT512s "Tweaks" installed as well as Ad Blocker Plus. Basically, I follow the suggestions outlined here: http://www.rockclimbing.com/...8;page=unread#unread The stuff about Ad Block is on page 2.... Dr. Feelgood's post. Anyway, I've got that set up, and the site is fine for me. Dunno if that's an option for you. Lastly, I've made sure DDT is aware, and will happily crack his head for ya should he not get it fixed as soon as he can. That's how I roll. Word. Sorry, guy. Wish I had more to offer ya.
(This post was edited by reno on Mar 30, 2008, 3:40 PM)
|
|
|
 |
 |

psmarais
Mar 31, 2008, 12:05 AM
Post #5 of 10
(1766 views)
Shortcut
Registered: Jan 31, 2008
Posts: 62
|
Hi skinner, Could you give some more information about your sytem, for example, which operation system you are using?
(This post was edited by psmarais on Mar 31, 2008, 12:10 AM)
|
|
|
 |
 |

skinner
Mar 31, 2008, 12:46 AM
Post #6 of 10
(1758 views)
Shortcut
Registered: Oct 31, 2004
Posts: 1747
|
I appreciate the suggestion reno, but dan2see seems to have identified the javascript that is causing the problem and as he points out, this is an rc.com script error and not a browser problem. I've talked to several people who are all getting the same error message on every page and only on rc.com. There's a pile of frikken scripts in there, glad it's not me trying to keep them all straight! I'm actually impressed how smooth the site runs 99% of the time. But for what it's worth, here's my totally uneducated guess based on my very limited javascript experience.. I'm thinking that there's an extra space in a line pertaining to creating the "roundedtop"? Javascripts seem to be rather unforgiving in that respect and just sort of stall when they run into an unexpected space (or at least mine do). Be interesting to see how wrong I actually am!
While we're at it.. not a biggy, but every time you insert a tag, the cursor position returns to '0' in the textbox?? Thanks,
|
|
|
 |
 |

skinner
Mar 31, 2008, 1:20 AM
Post #7 of 10
(1739 views)
Shortcut
Registered: Oct 31, 2004
Posts: 1747
|
psmarais wrote: Hi skinner, Could you give some more information about your sytem, for example, which operation system you are using? No problem,.. actually right now I'm no longer getting the error on preview, but still getting it when I post, on the following: Windows 2000 Advanced Server SP4 Windows 2000 Professional SP4 Windows XP Professional SP3 Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13 IE 6.0 2800.1106 SP1
|
|
|
 |
 |

psmarais
Mar 31, 2008, 2:20 AM
Post #8 of 10
(1704 views)
Shortcut
Registered: Jan 31, 2008
Posts: 62
|
Ok, I made a few changes. Please check if the error is still occurring. Let me know if something doesn't seem right...
|
|
|
 |
 |

dan2see
Mar 31, 2008, 8:40 PM
Post #9 of 10
(1682 views)
Shortcut
Registered: Mar 28, 2006
Posts: 1491
|
It's good! Will you tell us what the problem was? Thanks loads for the old snappy response time.
|
|
|
 |
 |

psmarais
Apr 1, 2008, 12:26 AM
Post #10 of 10
(1671 views)
Shortcut
Registered: Jan 31, 2008
Posts: 62
|
It was just a bit of buggy javascript...
|
|
|
 |
|
|