Inspecting the Vivaldi UI with DevTools
-
@dude99 They do… under certain circumstances (see the 1st post )
-
@potmeklecbohdan You mean this ONE?
Open vivaldi://settings/ in a tab and load devtools with a keyboard shortcut
OK. it works, BUT that's not a direct shortcut key, I think it's even more troublesome than webpanel > Inspect method... LOL
-
@dude99 Nobody ever said that it’s 1 shortcut. But with optimum setup it’s 2 keyboard keys pressed separately. First open settings or any other relevant page, then trigger devtools. That’s faster than opening a webpanel, looking for exact entry and clicking. But yeah, it’s of course a matter of preference, you are free to do what you like.
-
@luetage said in Inspecting the Vivaldi UI with DevTools:
First open settings or any other relevant page
with keyboard shortcut? can't find any default shortcut for that, are you talking about nickname with bookmark?
-
@dude99 You can search keyboard shortcuts by opening settings and inputting the shortcut name. When you input “Settings”, the shortcut for it shows up and can be set or edited. It’s listed under Window. It’s the 8th shortcut overall.
-
@luetage You mean the default Settings Ctrl+12 shortcut? It open the settings in new window, but when I hit Shift+Ctrl+i nothing happen...
-
@dude99 You have to open settings in a tab, as explained in OP ^^
-
@luetage
so the shortcut you suggested doesn't work, how u did it exactly?nevermind, there's another setting that force open settings page in tab.Now, it works. Thanks a lot.
-
With the new chained commands feature introduced in snapshot today, it’s possible to open DevTools for the UI with a simple keyboard shortcut. This is probably the most straightforward way right now.
Recipe
Name: Inspect UI- Open Link in New Tab
Parameter: vivaldi://experiments/ - Delay
Paramenter: 50 - Developer Tools
- Close Tab
After creating the command chain in
vivaldi://settings/qc/
, the new chain should be available in keyboard and mouse settings and from quick commands directly. - Open Link in New Tab
-
Step-by-step visual guide from other post, insert here for everyone easy access:
I strongly recommend u learn to use the devtool to inspect the browser GUI, cuz u can do a lot of things with it.
-
Create this command chains.
-
Open a new window, then use above CC to summon the devtool, then select the element container inside the addressbar & made all the changes you wanted. (Ctrl+Z to UNDO if you mess up, all changes are temporary & will be reset after closing window)
-
Copy all the changes to your .css file when u r satisfied with the final result.
-
-
fyi, got this notice from
localhost:9222
today:Inspectable pages
WARNING: This page is deprecated and will be removed by m96. Please use
chrome://inspect
instead. Use crbug.com/1232509 for comments, questions and feedback.might be worth an update to the OP.
-
An accidentally-discovered side-benefit from using
--debug-packed-apps
: -
@luetage Thanks for trying to explain... can not activate anything in vivaldi://inspect/#apps
-
@Mike5 said in Inspecting the Vivaldi UI with DevTools:
vivaldi://inspect/#apps
Hmm, still appears to work for me. But you don’t have to do it like that. Open
vivaldi://settings/
in a tab (not extra window) and then open devtools with quick commands, shortcut, or through menu. This will open internal devtools. -
@luetage Wow, thanks for quick reply! Yes, DevTools open, vivaldi://inspect/#apps the same, can not activate browser.html. In DevTools where can i check if it is the internal Devtools?
-
@Mike5 Click on the mouse cursor on left top to select an element on page, then hover something in the UI, for example a tab or the panel.
-
@luetage No, neither if Devtools is in seperate window or docked, i can not point to an ui element, just switch to it. The culprit might be i can not activate browser.html in vivaldi://inspect/#apps. Why could that be, any flags i should add?
-
@Mike5 If you can dock the devtools, you haven’t opened the internal devtools. Internal devtools can’t be docked, they always open in a window. How did you open devtools after visiting the settings page?
-
@luetage I can not open Devtools when in Settings page. Have to switch to some web page.
My flags:
Vivaldi.exe" --disk-cache-dir="C:\ALL_OS\VIVALDI" --disk-cache-size=2000000000 --num-raster-threads=4 --enable-accelerated-2d-canvas --disable-crash-reporter --cipher-suite-blacklist="0x002f,0x009c,0xc013,0xc014,0x0035" --enable-features="BlockInsecurePrivateNetworkRequestsForNavigations,EncryptedClientHello" --disable-features="AdInterestGroupAPI,CrashReporting,EnableStructuredMetrics,InterestGroupStorage,MediaDrmPreprovisioning,Reporting,SafeBrowsingBetterTelemetryAcrossReports,RecordMediaEngagementScores,RecordWebAudioEngagement,WebUSB,WebXR,MediaEngagementBypassAutoplayPolicies" -
@Mike5 You can’t open devtools for the UI from some webpage, it doesn’t work like that. This is not dependent on flags. Let’s try again: Open
vivaldi://experiments
, hit yourF2
key to open quick commands, then typetoggle developer tools
and then hitenter
.