Home > Mobile >  How to inspect an element when right click opens up menu on the site
How to inspect an element when right click opens up menu on the site

Time:07-01

I want to inspect an element in a website, but when I perform a right click the menu opens up. I dont see an option to Inspect. How can I inspect an element here. Thank you for the help.

right click opens menu options

CodePudding user response:

One solution would be to disable Javascript using one of many available plugins.

Another is to simply open developer tools and navigate to that element. There are few ways to do it:

  • press F12 (Works for Windows, Mac, Linux)
  • Menu → Tools → Developer tools
  • press Ctrl Shift I (works same way F12)
  • If on MacOS, press I

I used this answer for reference, but improved.

CodePudding user response:

  1. Open Chrome DevTools Command Option C (Mac) or Control Shift C (Windows, Linux, ChromeOS).
  2. Open the Command Menu Press Control Shift P or Command Shift P (Mac).
  3. Start typing javascript, select Disable JavaScript. JavaScript is now disabled. Now when I right click on the element, I no longer see the Menu option. I can now inspect the element.

To re-enable JavaScript:

Open the Command Menu again and run the Enable JavaScript command. Close DevTools.

Referenced link

  • Related