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

Allow javascript links in JGiven menu links #146

Closed
nikowitt opened this issue Oct 15, 2015 · 1 comment
Closed

Allow javascript links in JGiven menu links #146

nikowitt opened this issue Oct 15, 2015 · 1 comment

Comments

@nikowitt
Copy link
Contributor

Hi Jan,

I've just implemented custom links in the reporter, one containing "javascript:window.history.back()". It seems that javascript explicitely has to be whitelisted in AngularJS (https://stackoverflow.com/questions/15606751/angular-changes-urls-to-unsafe-in-extension-page), so is it OK for you to do this?

Best regards,
Niko

@janschaefer
Copy link
Contributor

I think this shouldn't be a problem, as you yourself are completely responsible for what you configure ;-)

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

No branches or pull requests

2 participants