Skip to content

Commit 42e28e8

Browse files
committed
Adding note about window.onerror to README
1 parent 34d22de commit 42e28e8

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎README.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Just include stacktrace.js file on your page, and call it like so:
1515
... more code of yours ...
1616
</script>
1717

18-
Bookmarklet available on the [project home page](http://emwendelin.github.com/javascript-stacktrace/).
18+
Bookmarklet available on the [project home page](http://stacktracejs.org).
1919

2020
You can also pass in your own Error to get a stacktrace *not in IE or Safari, though :(*
2121

@@ -32,7 +32,7 @@ You can also pass in your own Error to get a stacktrace *not in IE or Safari, th
3232
printStackTrace({e: lastError});
3333
</script>
3434

35-
Some people recommend just assigning it to `window.onerror` *Only in IE and FF*
35+
Some people recommend just assigning it to `window.onerror`. Make sure that you have script debugging turned off for IE. *Only in IE, FF and Chrome*
3636

3737
window.onerror = function(msg, file, line) {
3838
alert(printStackTrace().join('\n\n'));
@@ -63,6 +63,7 @@ It is currently tested and working on:
6363
- Firefox (and Iceweasel) 0.9+
6464
- Google Chrome 1+
6565
- Safari 3.0+
66+
- Opera 10+
6667
- IE 5.5+
6768
- Konqueror 3.5+
6869
- Flock 1.0+
@@ -73,4 +74,4 @@ It is currently tested and working on:
7374

7475
Working (readable, valid stack trace) but not perfectly tested on:
7576

76-
- Opera 7+
77+
- Opera 9-

0 commit comments

Comments
 (0)