This content originally appeared on DEV Community and was authored by Tahzib Mahmud Rifat
Even if a website tries to disable DevTools, we can still access them using the browser's menu. Here are the ways to do it:
Chrome:
Click on the three vertical dots (⋮) in the top right corner of the browser window.
Select More tools > Developer tools.
Alternatively, you can press Alt + D and then press Enter to focus on the address bar, and then press F12.
Firefox:
Click on the three horizontal lines (≡) in the top right corner of the browser window.
Select Web Developer > Toggle Tools.
Alternatively, you can press Ctrl + Shift + E (Windows/Linux) or Cmd + Opt + E (Mac).
Edge:
- Click on the three horizontal dots (…) in the top right corner of the browser window.
Select More tools > Developer tools.
Alternatively, you can press F12.
Safari:
Click on Safari in the top menu bar.
Select Preferences > Advanced.
Check the box next to Show Develop menu in menu bar.
Then, click on Develop in the top menu bar and select Show Web Inspector.
Alternatively, you can press Cmd + Opt + I.
By using these methods, you can bypass any attempts to disable DevTools and still access them.
Brave Browser :
Menu: Click on the three horizontal lines (≡) in the top right corner of the browser window.
Select More tools > Developer tools.
Keyboard shortcut: Press Ctrl + Shift + I (Windows/Linux) or Cmd + Opt + I (Mac).Address bar: Press Alt + D and then press Enter to focus on the address bar, and then press F12.
These methods should allow you to access DevTools in Brave Browser, even if a website tries to disable them.
Note: Brave Browser is based on Chromium, so the keyboard shortcuts and menu options are similar to those in Google Chrome.
This content originally appeared on DEV Community and was authored by Tahzib Mahmud Rifat
Tahzib Mahmud Rifat | Sciencx (2024-06-23T14:08:08+00:00) Ways to inspect elements on websites that Disabled inspect DevTool. Retrieved from https://www.scien.cx/2024/06/23/ways-to-inspect-elements-on-websites-that-disabled-inspect-devtool/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.