Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maintain console click through #3

Open
devinrhode2 opened this issue Apr 15, 2013 · 0 comments
Open

maintain console click through #3

devinrhode2 opened this issue Apr 15, 2013 · 0 comments

Comments

@devinrhode2
Copy link
Owner

If I display a string "file://localhost/Users/drhode/Desktop/fiddle.html:7" in the console, you'll be able to click through and see line 7 of fiddle.html highlighted.

So we want to hijack onerror to get the file url and line number in chrome, and store the arguments in a window.lastArgs
onerror = function(){console.log(arguments)};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant