-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Allow blur of embedded objects (e.g. flash) and add an option to enable/disable it #1211
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
Conversation
67d8a22
to
babddda
Compare
Allow blur of embedded objects (e.g. flash) and add an option to enable/disable it Conflicts: content_scripts/vimium_frontend.coffee
Not really, I'm afraid. Options are bad. We should reserve new options for when we really, really have to have them. |
Disabled by default.
babddda
to
9d31bb7
Compare
Rebased. |
An interesting conversation you guys had, let me summarize to see if I missed something. Both options have a corner case without a workaround:
I think both issues are valid, and we shouldn't ignore them just because we don't have a nice idea on how to fix them. New options are evil? OK, let's brainstorm another approach! Here you are a couple from the top of my mind:
If I had this issue, where would I personally search for such option first of all? Whatever we chose, it should be intuitive for a person specifically looking for this option, and transparent for everyone else. Second thing, I believe vimium should blur embeds by default, just because there is no way out once you enter @smblott-github, @mrmr1993 what do you think? |
To my mind, the way to do things is:
Then the whole use case is handled by passkeys (ie. just set @z0rch I don't think the option has enough utility to warrant having it in the popup. I agree that it should be on by default, but clearly @smblott-github disagrees. |
Popup is the first place I would intuitively search for such option, that's why I thought about it. Hiding the option unless there is an embed on the page would reduce the noise. But anyway, it would be definitely the best if I could specify It is also interesting to think from the complexity perspective, how difficult it is to complete all the steps you described vs move the checkbox from the options into the popup. |
If this pull request is supposed to be merged after #1369, there is no need in having a new option anymore. |
Your analysis is about right, @z0rch. Blur on I'd consider reverting a277fa6 in |
If we do this, @mrmr1993, then I'd favour no option. I'm not sure it passes the new-option threshold. |
@smblott-github, just for my personal understanding, what is the general purpose of The name |
At the moment, I'm only putting small changes with high confidence into The name comes because it was started before the 1.46 release, which quickly became 1.49. |
Why don't we just call it |
I've opened #1372 which enables blurring embeds and allows us to work around counter-examples using passkeys. Is that any good @smblott-github? |
Closing in favour or #1377. |
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.
This is an extension of #1194, which adds the feature but toggles it with an option in the options page, and defaults it to off.
@smblott-github does this deal with your concerns?