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

Is there a way to know what user has clicked in the popup #20

Closed
ibes opened this issue Jan 9, 2015 · 1 comment
Closed

Is there a way to know what user has clicked in the popup #20

ibes opened this issue Jan 9, 2015 · 1 comment

Comments

@ibes
Copy link

ibes commented Jan 9, 2015

Hi,

is there a way to know what the user has clicked in the popup.
If he has pressed "like" or "cancel".

I would like to use this information to "fake update" the counter.
If the user has liked the content, the counter could be increased by one go give him instand feedback.
If the user canceled the context - nothing should happen.

Any other ideas for this suggestion?

@pmb0
Copy link
Member

pmb0 commented Jan 16, 2015

Hi,

you cannot access the popup from within your browser window.

The easiest way to do a "fake update" would be incrementing the counter every time someone closes a popup window. The "real" count could be updated periodically in the background. You could also time how long the popup window was displayed and guess whether the user clicked "cancel" based on that information. But that is rather crazy.

@pmb0 pmb0 closed this as completed Jan 16, 2015
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

2 participants