VivaldiHooks - more useful mods!
-
@brook said in VivaldiHooks - more useful mods!:
It's much easier for the eyes to look for the image then for the text
I beg to differ, I'm still able to read, while some small icons don't say much to me. YMMV
-
-
Is there a way to get the bookmark icon after the search bar, but before the extension icons?
-
@Recnamoruen make a copy of bookmarks-button.js (for example as bookmarks-button-after-searchfield.js) and change last 2 lines:
var addressField = document.querySelector('div.addressfield'); addressField.parentNode.insertBefore(button, addressField);
to
var addressField = document.querySelector('div.searchfield'); if (!addressField) addressField = document.querySelector('div.addressfield'); addressField.parentNode.insertBefore(button, addressField.nextSibling);
with searchfield disabled, it will be after the addressbar, else after the searchfield.
if you disable/enable the searchfield, you'll have to restart Vivaldi to have it repositioned. -
speeddial-items-geometry.js (requires 1.5.676.6+ !)
-
Excellent, thank you.
-
And thanks for the SD geometry quick fix for 1.6.682.3, looks like they're making all the needed changes to have it implemented.
-
newtab-middleclick-pasteandgo.js got again broken in 1.6.682.3
-
@iAN-CooG said in VivaldiHooks - more useful mods!:
newtab-middleclick-pasteandgo.js got again broken in 1.6.682.3
Yeah, new-notes-at-the-top.js too
-
Both scripts fixed and confirmed working
-
From snapshot 1.7.704.3
[Extensions] Context menus for extension's buttons (VB-9681)extensions-buttons-menu-settings.js is now not needed
Scrolling should zoom the page when mouse is over the zoom slider (VB-2119)
zoom-control-wheel.js is now not needed
-
A weird regression in 1.7.715.3: with speeddial-shortcuts.js active, I can't select anymore the search engine in the searchfield, either cursor down or pushing the engine icon (or lens icon if searchfield-current-engine-icon.js is not active) nothing happens. Just by deactivating speeddial-shortcuts.js and restart Vivaldi engines selection works again.
-
@iAN-CooG said in VivaldiHooks - more useful mods!:
A weird regression in 1.7.715.3: with speeddial-shortcuts.js active, I can't select anymore the search engine in the searchfield, either cursor down or pushing the engine icon (or lens icon if searchfield-current-engine-icon.js is not active) nothing happens. Just by deactivating speeddial-shortcuts.js and restart Vivaldi engines selection works again.
Cannot reproduce. Could you open devenv for UI and check what happens in a console?
-
@den_po said in VivaldiHooks - more useful mods!:
Cannot reproduce. Could you open devenv for UI and check what happens in a console?
I don't know how to setup Vivaldi to do so, I must be guided or a link to instructions would be appreciated, but even without the devenv I noticed this:
it happens because I have setup my Speed dial shortcuts to Alt+1... Alt+9After removing them in setting/keyboards/hooks, the engines in searchfield are selectable, the list appears just by clicking on it.
Readded all them and removing only Alt+4 and Alt+6 (or even just one of them) in Open speeddial item 4 & 6, it works. It's just for these 2 or a combination of the 2.
If i leave all as Alt+number, and in position 4 I set it as Alt+shift+4, it works ^_^;
I've also tried restoring the "Switch to tab 1..9" to Alt+1/9 and "Open Speed dial item 1..9" to Ctrl+1/9. Same result: if Switch to tab 4 or 6 are set to Alt+4&6, the searchfiled also becomes unresponsive on click or cursor down
It's really a bug on Vivaldi, even by removing Vivaldi Hooks now happens if i Set Switch to tab 4&6 to Alt+4&6.
Please anyone confirm so I can add a bugreport, I have the keys set like this since the 1st appereance of Vivaldi Hooks and always worked, so it's a change in this last Vivaldi snapshot.
-
right, found the old thread about it
https://forum.vivaldi.net/topic/10629/vivaldi-ui-customisations
I'll try now -
if both alt+4 and alt+6 are used in keyboard shortcuts, clicling or cursordown on the searchfield I get:
Uncaught TypeError: Cannot read property 'length' of undefined
at Object.componentWillMount (bundle.js:18)
at f.performInitialMount (vendor-bundle.js:48)
at f.mountComponent (vendor-bundle.js:48)
at Object.mountComponent (vendor-bundle.js:12)
at d.mountChildren (vendor-bundle.js:49)
at d._createInitialChildren (vendor-bundle.js:48)
at d.mountComponent (vendor-bundle.js:48)
at Object.mountComponent (vendor-bundle.js:12)
at d.mountChildren (vendor-bundle.js:49)
at d._createInitialChildren (vendor-bundle.js:48)EDIT:
It's not an error in the altered vendor-bundle.js, I've disabled jdhooks in browser.html and restored vendor-bundle.js from the 1.7.715.3\Installer\vivaldi.7z, same error. I can safely assume it's a Vivaldi error and I can bugreport it. -
Just an update, I've added another report for it, seems more related to the number of search engines defined. I had 20, after deleting last 2, engines list works again. The keys are irrelevant, it's a side effect of another overflow.
-
There're any script I've to remove from hooks folder before inject in Vivaldi snap? As the browser won't start after jdhook-ing (on stable works perfectly). Removing jdhook from browser.html, start normally (without the goodies ^^)
-
@pxelscythe said in VivaldiHooks - more useful mods!:
Thank you so much for these! I do have a question though. Is there a way to move the page reload button to be after the url bar? Please and thank you!
.toolbar > .reload { order: 1 }
A more precise way is in my todo list.
@Hadden89 said in VivaldiHooks - more useful mods!:
There're any script I've to remove from hooks folder before inject in Vivaldi snap? As the browser won't start after jdhook-ing (on stable works perfectly). Removing jdhook from browser.html, start normally (without the goodies ^^)
Are you sure you're trying the latest VivaldiHooks revision?
-
Yup, sorry. I (re)used the older version from the stable, which had potentially imcompatible .css
Reinstalled by github (auto mode) - and only with need tweaks - and it is full working in dev too