Skip to content

Loading…

The "Block Element" isn't shown on all context menus #273

Closed
Mikey1993 opened this Issue · 1 comment

1 participant

@Mikey1993

Scenario:

I want to block a textbox element on a page.
For example:
https://crowdin.com/project/ublock

But when enabling the Context Menu option in the settings, I am not given the "Block Element" in the menu when right clicking it.

Pic:
No Block element entry

I have then tried to pack the extension with a small change that did it for me.
It's line 82 in /js/contextmenu.js which made it work:
contexts: ['all'],
(instead of the contexts that were there before)

I haven't tested it through, so I don't know if it introduces some other bugs or unintentional places where the "Block element" would appear on right clicking, but I think you get what I am trying to point here.

@Mikey1993

Addition: it's not only textboxes, I'm not able to select textareas as well..

@gorhill gorhill added a commit that closed this issue
@gorhill gorhill this fixes #273 4227123
@gorhill gorhill closed this in 4227123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.