VivaldiHooks - more useful mods!
-
@potmeklecbohdan said in VivaldiHooks - more useful mods!:
@Zalex108 I have trouble understanding you…
Sorry,
Since latest 3.7, the Profiles were not launching, just gave the Grey Screen, renaming Hooks folder fixed it, but didn't tested anymore nor asked.
After change the code for Spacing.js, worked.--
But,
Just tested a bit more and seems something in one of the Profiles since the others works fine with the Hooks.Will need to check it deeper.
Thank you.
-
@Zalex108 As far as I’m aware,
speeddial-spacing.js
only didn’t work as expected, but kept the UI running well. -
@potmeklecbohdan good, but you'd better report it in den_po's github, I've done it here https://github.com/justdanpo/VivaldiHooks/issues/59
-
@potmeklecbohdan said in VivaldiHooks - more useful mods!:
@Zalex108 As far as I’m aware,
speeddial-spacing.js
only didn’t work as expected, but kept the UI running well.Found the reason:
unicode-url.js
@iAN-CooG mentioned the same post above, ( on 2017 maybe ).--
Is there any editable file to remove the ️ for an affected Profile not running instead of remove a Hook (CSS/Js) file?
Like reset the VHooks selector file.
I've read that VH are read and Stored each time in a variable, but nothing else.
Thank you
-
-
-
@potmeklecbohdan said in VivaldiHooks - more useful mods!:
For the Snapshotters &
speeddial-spacing.js
-ers, I’ve pushed a V3.7 fix to my fork, on the v37 branch. Btw., can you pls check that the new version still works with the Stable as well?Seems to work in current stable which is good since they are likely going to revert the speed dial changes for the next stable and try and and iron out the issues in the next snapshot cycle
-
Hi,
Just renamed adding a Prefix to Group and Title with an empty .js.
Titles are moved a bit to the right for an easy read, despite that, on some groups, descriptions are still too near and looks crammed.
Used Capitals as first letters and works but sure, can be changed to lowercase to avoid compatibility problems.Opened as suggestion on DanPo's Git.
Any suggestions?
PS: Graveaccent it's already on Settings :face_with_stuck-out_tongue_closed_eyes:
-
Breakage qc-closeTab.js too.
-
@potmeklecbohdan said in VivaldiHooks - more useful mods!:
For the Snapshotters &
speeddial-spacing.js
-ers, I’ve pushed a V3.7 fix to my fork, on the v37 branch. Btw., can you pls check that the new version still works with the Stable as well?I don’t expect them to make any changes wrt functionality, but just in case I’ve decided not to PR it until 3.7 Stable ( @den_po if you want it on
master
earlier, feel free to PR/merge/commit it yourself).I don't know if this was the case with the previous snapshot as I didn't test this aspect, but if you select
show titles on hover
they will always show and jump up on hover instead. -
@kissanviikset just checked, works fine for me. should note im on stable.
-
@sjudenim Yes, I’ve noticed it while checking if it still works. It’s new with 2238.3. Will have a look at it later (hopefully – since I’d already forgotten it until you mentioned it).
-
@sjudenim Done.
-
@guigirl Oh, damn. Don’t do this to me. It must be working.
vivaldi.prefs.get("vivaldi.startpage.speed_dial.titles_and_favicon_visible", p => console.log(p === "always"))
printstrue
. What the…? (But I see the issue here as well.)lazy
🦥 (as usual, this forum as well as Unicode misunderstands it – it should be a sloth shrugging)
-
Aha, they reverted how the setting is called.
-
I'm unable to make this work, regular CSS mods work, but nothing I add to browser.html works:
<!DOCTYPE html> <html> <head> <!-- Keep the styling in sync with ./window.html --> <meta charset="UTF-8" /> <title>Vivaldi</title> <link rel="stylesheet" href="style/common.css" /> <link rel="stylesheet" href="chrome://vivaldi-data/css-mods/css" /> <style> body { background-color: #d2d2d2; background-image: url('resources/vivaldi-splash-icon.svg'); background-size: 16%; background-position: center; background-repeat: no-repeat; } @media (prefers-color-scheme: dark) { body { background-color: #2d2d2d; } } </style> </head> <body> <div id="app" /> <script src="background-common-bundle.js"></script> <script src="vendor-bundle.js"></script> <script src="settings-bundle.js"></script> <script src="urlbar-bundle.js"></script> <script src="components-bundle.js"></script> <script src="bundle.js"></script> <script src="jdhooks.js"></script> <script src="custom.js"></script> </body> </html>
The .bat doesn't work so I'm installing manually to C:\Program Files\Vivaldi\Application\3.7.2218.49\resources\vivaldi\browser.html.
-
@tordenflesk Luckily, it seems like there is only a small issue.
The
jdhooks.js
line needs to be above thebundle.js
line.From the instructions:
Or if you want to keep mods you've installed into browser.html, copy vivaldi\hooks folder and vivaldi\jdhooks.js into {instdir}\vivaldi, open {instdir}\vivaldi\browser.html in a text editor, add line
<script src="jdhooks.js"></script>
right before a line with bundle.js. -
snapshot 3.8.2254.3 (Official Build) (64-bit) breaks tab-size.js for me - locks up with grey screen - it was said to work in an earlier post but not sure it was this snapshot
any ideas or fixes appreciated
-
@adacom I'm using 3.8.2254.3 and tab-size.js works for me.
-
@iAN-CooG - thanks thats good to know - thats the only hook i use but i do have lots of css and some other js mods so will work through
it works with the same mods in earlier versions but that proves little i guess