Modding Vivaldi
-
@g_bartsch Yeah, it got pretty annoying to work on. I kept running into limitations that made me want to scrap my previous work and start again with a different approach.
Are you a professional programmer?
I am not a professional programmer, but I did make the awful decision to add a computer science major alongside my mechanical engineering in college. Never an easy semester and scheduling in all the classes was always a struggle, but I did get some valuable experience in programming.
Other than an all-nighter to bodge in a bit of jQuery into a project, I didn't work with JavaScript until starting to mod Vivaldi.
Do you know if Justdanpo was?
@den_po
might have been a professional. They for sure had some experience with React. I don't really understand how the old Vivaldi Hooks worked, so they were definitely more experienced than me.Could I add the line height request to that thread?
That had already been identified as one of the more used hooks, so no need to add it.
Hopefully get the chance to work on it this weekend, but it might be a little bit. I really need to stop mentioning stuff like this when I am busy
-
@g_bartsch said in Modding Vivaldi:
@barbudo2005 said in Modding Vivaldi:
You will love Stylus. Is superb.
Off the top of your head do you know if it could change the line height of bookmark items in the Web Panel? I want them closer together so I can see more bookmarks at once before having to scroll. Wayyyyy back I could achieve that but then Vivaldi changed and the hack broke. Then Vivialdi Hooks enabled that mod but it too stopped working. That's one feature I really want.
I'd like to have oval circles instead of the square bookmarks in the bookmarks tab within the windows panel; anyone know how to achieve this ?
Also for me the opposite, a bit more space between tabs.
-
@Sparrows
Said:I'd like to have oval circles instead of the square bookmarks in the bookmarks tab within the windows panel
"Please explain more and a image.
Said:
Also for me the opposite, a bit more space between tabs.
It follows the same principle that bookmarks. Require Vivaldi Hooks.
-
@nomadic said in Modding Vivaldi:
I am not a professional programmer, but I did make the awful decision to add a computer science major alongside my mechanical engineering in college. Never an easy semester and scheduling in all the classes was always a struggle, but I did get some valuable experience in programming.
Wow, engineering is very heavy already and then you added computer science.
That had already been identified as one of the more used hooks, so no need to add it.
I'm glad others wanted it too. I've requested it directly through the bug reporting form (VB-85962) but I don't know if I've made it a feature request on the forum.
Hopefully get the chance to work on it this weekend, but it might be a little bit. I really need to stop mentioning stuff like this when I am busy
Yup I hear you! LOL. But I get the idea people like you fill your hours with projects so 'un-busy' time is a rarity.
-
This post is deleted! -
@Gregor This has nothing to do with modding Vivaldi.
-
@Christoph142 said in Modding Vivaldi:
Adding Functionality (JS)
Open browser.html, inside the body element add the following line:
<script src="custom.js"></script>
Again you can name the file as you want and also add multiple ones, one line at a time.Add the custom.js file to the Vivaldi folder (alongside browser.html)
Shouldn't it be changed now?
-
@Gregor Yes, needs to be rewritten. In the meantime load it through
window.html
. Be aware some mods might still not work. -
Hello, where is "vivaldi://experiments"?
I tried to find it in settings and files but there was nothing with "experiments" name. -
@Szeniel It is an internal URL, so you need to type it into the address field.
-
@nomadic Thanks man!
-
@Christoph142 said in Modding Vivaldi:
Adding Functionality (JS)
There is only one single file in Vivaldi that you should ever need to modify. This file is called window.html and located at:<YOURVIVALDIDIRECTORY>\Application<VERSION>\resources\vivaldi
You should back it up before you fiddle with it.
You did the backup, right? OK, here's the fun part:
Open window.html, and inside the <body> element add the following line:
HI Guys
I am on Vivaldi Linux and cannot find any of these folders or files ?? -
@OsoPolar Check
vivaldi://about
for the executable path; follow it. -
@OsoPolar hi i can see Executable Path /opt/vivaldi/vivaldi but this is a script file not html !!
-
There should be other files and folders in that directory alongside the executable.
-
@luetage cheers got it
-
Is it possible to remove these annoying dropdown arrows?
-
-
Very much so yes. They came (for me) in the last update...
-
@oddvidar
Hi, this happen with the setting Text Only, change this to Text and Icon or Icon only.
No idea if this changed since an update.Cheers, mib