Shortcut to Chrome DevTools via Extension - google-chrome

Is there an extension to open the chrome dev tools? I know there is a shortcut (clr+shift+c) but I would prefer to click on the extension icon to open the dev tools element inspector. I have searched a lot on the chrome web store and on stack but couldn't find any references to such an extension. Any help regarding this would be great.

Related

Using a Chrome extension to resize undocked dev tools window

There's a bug on Vivaldi browser which will probably remain unfixed for the upcoming months: undocked dev tools windows do not remember their previous size across tabs, so each time you open dev tools they are small. There's also another dev tools bug which I'd like to workaround which includes focusing the dev tools window. Those bugs are driving me nuts!
So, I tried to create a Chrome extension and see if that could catch the dev tools opening event and resize the dev tools undocked window.
The first part, I've done it by using a content script which catches f12 and ctrl+shift+i and other ways of opening dev tools. Then, the content script sends a message to a background script and it should resize the opened dev tools window.
Here's the problem: there doesn't seem to be any way to get opened dev tools window in Chrome Extension API.
I can get all the opened normal windows, but from that same API (chrome.windows) I can't find opened dev tools windows.
Is there any way one can access opened dev tools windows?
I tried using chrome.devtools API but that's only accessible inside dev tools panels.
Being this a private extension which will never get published, I can also try to use chrome.developerPrivate and other private APIs, but I don't know how to make them work.
Do you have any idea on how to proceed to get all opened dev tools windows? Could it be there isn't a way?
If there isn't a way, could you maybe point me in the right direction into using private Chrome APIs in any way?

Chrome extensions (chrome://extensions) redirect

I found some malicious extensions that block your Google Chrome access to chrome extensions so you cannot remove it through Chrome. When you manually type chrome://extensions it redirects you to chrome://apps or chrome://settings.
My questions is does anybody knows how do they do it?
In the right top of chrome are extension symbols and you can just rightclick them to remove

How to open Chrome Developer Tools in a Chrome App

Is it possible to open Chrome Developer Tools to inspect a Chrome App ?
All debuggable targets are listed under chrome://inspect/. See the 'Apps' tab.
I managed to do it by following instructions to debug postman chrome app:
Go to chrome://flags/
Search for Debugging for packed apps
Enable this flag
Restart chrome
Then go to your app, right-click anywhere inside of it, and click on the option menu inspect.
To open it by context menu, enable at chrome://flags/#debug-packed-apps
If the app blocks the context menu, find it at chrome://extensions (developer mode) or the Apps and Extensions Developer Tool.

Disabling inspect element, right click and F12 in google chrome

Is there a way to disable inspect element, right click and F12 in google chrome?
This is definitely not possible to do from a web page.
Even if you disable right click and disable the default behaviors for F12, Ctrl+Shift+I, and Ctrl+Shift+J, there is no way to stop a user from opening Dev Tools on a different page and navigating to your page with Dev Tools already open.
Also, you can access Dev Tools by going to Menu > Tools > Developer tools, which cannot be prevented by any website.
You can run chromium in a java environment. This I have seen, then its impossible to open developer tools, and settings etc are not accessable. But of course it would involve a lot more work and development time.

How do I enable Chrome DevTools Experiments?

I've just installed Google Canary on my Mac. I want to have a play with the Experiments in the google developer tools. But I can't for the life of me find where/how to enable them.
I specifically want to look at using/editing SASS in the browser.
Thanks
dave
Found it
In chrome go to chrome://flags and enable it there.
Go to chrome://flags.
Find Developer Tools Experiments.
Enable it.
Click Relaunch Now to relaunch Chrome.
In the DevTools settings, there's now a new Experiments tab.
Cheers