8

I have a Chrome extension, that runs (and displays) inside the Chrome dev-tools. (known as Extending DevTools)

I upgraded to version 97.0 of Chrome and since then, whenever I try to right click the mouse from inside the extension, nothing happens.

I need the right click in order to inspect my extension.

Any help will be much appreciated.

Edit: This question is not a duplicate of other suggested questions. Although the accepted solution to this problem is the same as other suggested question, the cause of this problem is different. The problem of my question is that since version 97 of chrome, right click is disabled in some devtools-extensions. As pointed out by @wOxxOm, this problem is caused by this bug, whereas in other questions the poster directly wanted to know "how to inspect the devtools".

Gilad Gur
  • 477
  • 3
  • 10

1 Answers1

1

Thanks to @idoco for helping.

A nice workaround is to:

  1. Open dev tools

  2. Undock into separate window

  3. Press option+cmd+i on the mac keyboard.

An explanation to why this issue happens can be found here: https://microsoftedge.github.io/edgevr/posts/attacking-the-devtools/

Gilad Gur
  • 477
  • 3
  • 10
  • 3
    That old article is about a different problem, which was fixed in 2020. The right-click bug was introduced in [October 2021](https://crrev.com/c/3223130). – wOxxOm Jan 10 '22 at 11:17
  • ++ It doesnt seem working for me, what this does is just "open the DevTools on the DevTools", not really same as right click (though you do can right click on the new window...). ++ As a current workaround, you may just **click the `...` on the left of the element**... Or **`F2` if you want to just edit html** of the element. – Nor.Z Jul 17 '22 at 20:56