/    Sign up×
Community /Pin to ProfileBookmark

Program to detect Javascript errors.

First, I would like to express my sincere appreciation for those responsible for creating this website. You have definitely made a positive impact to web developers all over the world. Thank you.?

Now comes my question. I have a list of about 100 URL. I need to check these URL if they generate a Javascript error when somebody tries to access them. Does anyone have any idea or have wrote a program to do just this. It will definitely save a lot of time for those doing QA like me. Is this even possbile? If so, do you have any suggestion on the approach to the problem?

Basically, what the program will do is take in a text file with a list of URL:

[url]www.webdeveloper.com[/url]
[url]www.yahoo.com[/url]
[url]www.google.com[/url]

After running the program, it will flag the URL that generated a Javascript (scripting) error. It will produce a file with the flag on the URL that had errors.

Thank you in advance.

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@Willy_DuittAug 17.2004 — Using javascript, I do not think this will be possible if the URL you are trying to check is in/on another domain...

Cross-Site scripting security and all....

.....Willy
Copy linkTweet thisAlerts:
@aliceauthorAug 20.2004 — Thank you.
×

Success!

Help @alice spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.1,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...