Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9141239
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:37:09+00:00 2026-06-17T09:37:09+00:00

I am using a window.onerror=function(msg, url, linenumber) to send myself an email when a

  • 0

I am using a window.onerror=function(msg, url, linenumber) to send myself an email when a javascript error occurs. When I use my webpages (IE, FF, CHRM, ect) I do not receive any errors. However I am getting all kinds of errors emailed to me from other users that I cannot duplicate. I am probably getting an error happening on 1% of the users visiting the website so 1/100 page loads I get an error. Here are some:

  • Syntax error: http://www.google-analytics.com/ga.js
  • Error loading script: http://www.google-analytics.com/ga.js
  • Error loading script: https://seal.thawte.com/getthawteseal?host_name=XXX&size=M&lang=en
  • $(“input.datepicker”).datepicker is not a function
  • Uncaught SyntaxError: Unexpected token
  • Object doesn’t support this property or method
  • Uncaught TypeError: Object [object Object] has no method ‘dialog’
  • Syntax error: http://seal-cencal.bbb.org/logo/XXX
  • Error: Permission denied to access property ‘toString’

What I don’t understand is the website 99% of the time is running without any errors and I can’t seem to get an error to happen for me on any browser I use. I am also tracking what browsers the users are using who send these errors and it’s random, all sorts of browsers and they are all newer FF, IE versions mainly.

How do you stop syntax errors on external code (but they work most of the time)…?
How come google and thawte scripts fail to load some people so often but never happens to me, is there a way to have a fallback to this?
The datepicker one, I can only assume its error out because jquery UI failed to load because jquery loads (otherwise it wouldn’t get called inside a document ready call) but I even have a localhost jquery UI script fallback include and it still happens..

Does anyone have a suggestion for me to help me further debug/fix these problems. The thing is, the website gets a lot of hits I am getting about 1 error emailed to me every minute (and it’s not the same user causing each error). If you have any suggestions let me know (remember the code and website work fine 99% of the time so I don’t think its a syntax problem on my end anywhere).

Thanks for your time.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T09:37:10+00:00Added an answer on June 17, 2026 at 9:37 am

    How do you stop syntax errors on external code (but they work most of the time)…?

    You can’t really. Without a more detailed message investigation is quite impossible. Notice that sysntax errors might be caused by something else as well, their origin might not be in the external script. I doubt Google Analyticts serves invalid scripts.

    How come google and thawte scripts fail to load some people so often but never happens to me

    They might use adblockers or similiar against those. Not everyone wants his web usage logged by google. Also, some proxies might ignore/block them, like intranet firewalls.

    is there a way to have a fallback to this?

    You could try serving them from your own domain as a proxy. Or just ignore them, I don’t think your app really needs a fallback for those.

    The datepicker one, I can only assume its error out because jquery UI failed to load as jquery still loads

    Yes, that sounds likely. Or it just didn’t load before it was called.

    but I even have a localhost jquery UI script fallback include and it still happens..

    Localhost? I guess you mean a copy on your server. Still, it depends on the details how the script and its fallback version are loaded.

    Does anyone have a suggestion for me to help me further debug/fix these problems.

    A stack trace would help a lot to locate the user’s action that caused the error.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use window.onerror(message,url,line) to log my error messages because it gives me more debug
After removing hash from URL using window.location.hash='' page getting reloaded in firefox. EDIT Example:
I want to run a function in TruClient (Firefox) every 0.1 seconds using window.setTimeout:
I want to be able to send myself all the javascript errors on a
I'm using window.onerror, and window.onbeforeunload to pass all the errors encountered in the users
here i am using window service, using a logic as my service will work
I am using window.location.reload in a jQuery dialog on close. The issue is that
(WindowClosing) when i am using window event for closing current frame, in that it
I just designed a simple For Loop using window form application. I would like
For an iPhone app I was using window.scrollBy to scroll to the bottom of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.