There is a web page which disabled mouse right click. When I right click on an element on that page with mouse nothing happens. I wanted to open the "inspect element" panel to have a look at the HTML code of some part of the page; but I couldn't since right click was disabled.
Is there any other way of opening this panel?
(Google Chrome version: 24.0.1312.57 m)
4 Answers
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
- press Ctrl+Shift+I
- Menu → Tools → Developer tools
You can disable JavaScript in the browser, or only on that site using an extension like NotScripts. You can also use extensions such as Allow Right-Click, Allow RightClick, Enable Right Click and so on.
Any such browser/JavaScript-based mouse button blocking or context menu hijacking is never a great idea in any case, since it can be easily circumvented and ultimately, users are in charge of their browsers on their systems, and any misguided attempts to restrict functionality will only turn them off.
There wouldn't be many ways to do it if the administrator had blocked access to inspect element. One method i'm familiar with is removing Java-script or copying the source code then modifying it to run inspect element only if there is valid info on that site.
1there is now way to do it if the administrator blocked it. I work as a superintendent at google. Its virtually impossible
0