kvasir / tota11y-chrome

Run tota11y as a Chrome extension.
MIT License
1 stars 3 forks source link

Catch errors and report them #3

Open seriema opened 9 years ago

seriema commented 9 years ago

Currently it's not possible to run tota11y on certain websites, like Github, and we aren't catching it to present a message to the user so it just looks like the extension isn't working. We don't know how to catch it though.

There is a console output:

Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src assets-cdn.github.com collector-cdn.github.com". tota11y.min.js:42