error-console

Capture contents of Firefox/IE error console through code?

时间秒杀一切 提交于 2019-12-10 15:48:31
问题 Is it possible to capture the contents of either the Firefox or IE javascript error console? I'm thinking adding a feature where when a user clicks the 'Report A Bug' link on my site, it also sends along the contents of the console, incase there are any useful errors in it. That way I don't have to tell them to manually open it and copy & paste the contents to me. 回答1: you can hook into the window.onerror event and send a request to your server with the details. Just be aware that it won't

Should FF Error Console “Warnings” be taken seriously if page is not “broken”?

雨燕双飞 提交于 2019-12-08 13:23:19
问题 I'm got a list of errors that was generated from the Error Console in FF. I've done some reading here on exactly what this tool is and how important/priority these errors are as far as "bug fixes". The css is rendering fine in FF on these particular pages as well as in Safari, Chrome, IE 7/8/9. I've gone to several websites (even stackoverflow.com) and it appears that ALL websites have a Long list of 'warnings' resulting in the Error Console. I've quoted someone who shared my reaction: "Great

Getting data from the browser's console using javascript

时光总嘲笑我的痴心妄想 提交于 2019-11-29 07:37:00
I don't know if this has been asked before, but what i'd like to be able to do is get data from the error console within the browser itself(if it supports it) this would be for when a user sends off a bug report it'd pull up any errors related to pages at my website for things such as typos in code and other things that somehow managed to slip by. Also, in that regard is there a way to pass the errors from the console to a useable format? If this isn't possible, then i could just tell them to copy and paste what came up from the site itself. I thought of this right now as i was thinking about

Getting data from the browser's console using javascript

試著忘記壹切 提交于 2019-11-28 00:47:01
问题 I don't know if this has been asked before, but what i'd like to be able to do is get data from the error console within the browser itself(if it supports it) this would be for when a user sends off a bug report it'd pull up any errors related to pages at my website for things such as typos in code and other things that somehow managed to slip by. Also, in that regard is there a way to pass the errors from the console to a useable format? If this isn't possible, then i could just tell them to