Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Add pageUrl, jsUrl, swfUrl to the ZeroClipboard.state() items #675

Open
JamesMGreene opened this issue Dec 9, 2016 · 1 comment
Open

Comments

@JamesMGreene
Copy link
Member

I would like to add "pageUrl", "jsUrl", and "swfUrl" to the ZeroClipboard.state() items to help quickly analyze issues stemming from URL or domain-based security restrictions.

The "pageUrl" and "jsUrl" values should be captured at the time the script initially loads. The "swfUrl" value must be captured at runtime when ZeroClipboard.state() is invoked since that is user configurable. It can be extrapolated from ZeroClipboard.config().swfPath.

@JamesMGreene
Copy link
Member Author

P.S. When providing the ZeroClipboard.state() information for issue reporting, users can choose to alter the URL domains and/or paths as long as they do so consistently and accurately across all 3 values.

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

No branches or pull requests

1 participant