Skip to content

Allow blur of embedded objects (e.g. flash). #1194

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

Merged
merged 1 commit into from
Oct 26, 2014

Conversation

smblott-github
Copy link
Collaborator

Fixes #844.
Fixes #1193.

The is a refactor of #844.

@mrmr1993: There's a slight change to the logic. Does it look OK to you?

Tested on BBC iPlayer.

Edit: #1093 -> #1193.

@mrmr1993
Copy link
Contributor

This works perfectly for me, logic seems consistent with before. Merge away! :)

@smblott-github smblott-github merged commit 77e1ded into philc:master Oct 26, 2014
@smblott-github
Copy link
Collaborator Author

I've reverted this merge with: a277fa6.

On reflection, it just seems too risky. It works for your use case, @mrmr1993, but I think there are other use cases where it's undesirable.

@mrmr1993
Copy link
Contributor

@smblott-github, can you say what those use cases are?

The 'risky' thing is assuming we should handle <esc> everywhere before the page can do so. As I've said before, this change just stops us from capturing the key and then effectively performing a no-op in certain situations, which was a worst-of-all-worlds situation.

@smblott-github
Copy link
Collaborator Author

Here's the scenario I have in mind.

There's a flash game which uses keyboard shortcuts, and ? to show the game's keyboard-shortcuts help page, and esc to return to the game. If we capture the esc, then there might be no way for the player of the game to ever get out of the help page. And if we blur flash, then we've changed the users experience.

I don't have a concrete example. But the risk/benefit doesn't seem acceptable. So sticking with the status quo, even if it doesn't satisfy your use case, seems like the best option.

@smblott-github smblott-github deleted the flash-blur branch December 20, 2014 08:32
smblott-github added a commit that referenced this pull request Dec 22, 2014
Including embeds for .blur() etc. here is experimental.  It appears to
be the right thing to do for most common use cases.  However, it could
also cripple flash-based sites and games.  See discussion in #1211
and #1194.
smblott-github added a commit to smblott-github/vimium that referenced this pull request Dec 28, 2014
Including embeds for .blur() etc. here is experimental.  It appears to
be the right thing to do for most common use cases.  However, it could
also cripple flash-based sites and games.  See discussion in philc#1211
and philc#1194.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vimium gets 'stuck' on flash objects
2 participants