• Browser
  • Mail
  • News
  • Community
  • About
Register Login
HomeBlogsForumThemesContributeSocial

Vivaldi

  • Browser
  • Mail
  • News
  • Community
  • About

Navigation

    • Home
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    We will be doing maintenance work on Vivaldi Translate on the 11th of May starting at 03:00 (UTC) (see the time in your time zone).
    Some downtime and service disruptions may be experienced.
    Thanks in advance for your patience.

    1. Home
    2. Desktop
    3. Customizations & Extensions
    4. Modifications
    5. Advanced Panels Mod (with Sessions Panel)

    Advanced Panels Mod (with Sessions Panel)

    Modifications
    modding javascript css
    42
    191
    36.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User
      last edited by

      I had tried seperate file for different js mods, it didn't work then.
      I don't know if using seperate files works or not.

      1 Reply Last reply Reply Quote 0
      • Y
        yaha12 @LonM
        last edited by yaha12

        @lonm Thanks! I was able to look through the console and clear some (syntactical) errors with those files. Much appreciated! Looks like it is working again on Linux!

        P.S. I see that you have a lot mods in that repository. Is there a place, where it is explained what each one does? 🙂

        LonM
        L
        1 Reply Last reply
        Reply Quote 0
        • LonM
          L
          LonM Soprano Patron Moderator @yaha12
          last edited by LonM

          @yaha12 Good to know its fixed!

          That's mostly my own personal repository that I made public as its easy to link straight to code there. The best mods each have their own post here on the forum which describes what they do.

          Here's a list of all of them: https://forum.vivaldi.net/search?term=&in=titles&matchWords=all&by[]=LonM&categories[]=52&sortBy=votes&sortDirection=desc&showAs=topics

          💻 Windows 10 64-bit Sopranos Builds • en-GB • 🗳 vote for features • 🕵️‍♀️ Code of Conduct • 🐞 Report bugs

          Y
          1 Reply Last reply
          Reply Quote 2
          • Y
            yaha12 @LonM
            last edited by

            @lonm Thanks! I was able to fix the mods on macOS as well. This time I figured out how the code in your repo worked and ran it via script. It went smoothly! Thanks for that. Much appreciated.

            Could you tell me how the autoSessionSave works in the context of user profiles? Will it save sessions for each profile? Will it override sessions from another profile? What if two profiles are open at the same time?

            LonM
            L
            1 Reply Last reply
            Reply Quote 0
            • LonM
              L
              LonM Soprano Patron Moderator @yaha12
              last edited by

              @yaha12 I have just tested it now and even normal saving of sessions doesn't handle multiple open profiles properly, so the mod will not work either. I've filed a bug for this - VB-86671 - and hopefully when that is fixed, the mod will work correctly without needing any fixes.

              💻 Windows 10 64-bit Sopranos Builds • en-GB • 🗳 vote for features • 🕵️‍♀️ Code of Conduct • 🐞 Report bugs

              Y
              1 Reply Last reply
              Reply Quote 0
              • Y
                yaha12 @LonM
                last edited by yaha12

                @lonm

                I see.

                It appears to me that it currently bunches open profiles into one saved session and treats them like windows. It is somewhat safe to use it this way? Any timeframe on the bug?

                LonM
                L
                1 Reply Last reply
                Reply Quote 0
                • LonM
                  L
                  LonM Soprano Patron Moderator @yaha12
                  last edited by

                  @yaha12 I don't know the timeframe as I've just discovered this bug myself now.

                  It's "safe" in the sense that you won't lose any data. But it's not "safe" in the sense that whatever reason you were using multiple profile for (e.g. privacy) is now broken.

                  💻 Windows 10 64-bit Sopranos Builds • en-GB • 🗳 vote for features • 🕵️‍♀️ Code of Conduct • 🐞 Report bugs

                  Y
                  2 Replies Last reply
                  Reply Quote 1
                  • Y
                    yaha12 @LonM
                    last edited by

                    @lonm said in Advanced Panels Mod (with Sessions Panel):

                    It's "safe" in the sense that you won't lose any data. But it's not "safe" in the sense that whatever reason you were using multiple profile for (e.g. privacy) is now broken.

                    I see. I am using profiles to separate my work into different themes and projects, so privacy is not an issue in this case. Is there a way to stay updated on the bug? Is there a public group or a tracker?

                    LonM
                    L
                    1 Reply Last reply
                    Reply Quote 0
                    • LonM
                      L
                      LonM Soprano Patron Moderator @yaha12
                      last edited by

                      @yaha12 If you want to keep up to date with the status of previously reported bugs, I'd suggest hitting up this thread: status of vb

                      But for now the bug hasn't been confirmed by another tester yet.

                      💻 Windows 10 64-bit Sopranos Builds • en-GB • 🗳 vote for features • 🕵️‍♀️ Code of Conduct • 🐞 Report bugs

                      1 Reply Last reply Reply Quote 0
                      • sjudenim
                        S
                        sjudenim Supporters
                        last edited by

                        Don't know if this has been reported or not but I'm too lazy right now to sift through the pages,

                        Sessions do not show up on browser restart. I say not show up because while the panel is blank, creating a new session makes the previous one reappear.

                        https://github.com/sjudenim

                        guigirl
                        G
                        1 Reply Last reply
                        Reply Quote 0
                        • guigirl
                          G
                          guigirl @sjudenim
                          last edited by

                          @sjudenim Fwiw, no such problem here; tis still all behaving correctly.

                          sjudenim
                          S
                          1 Reply Last reply
                          Reply Quote 0
                          • sjudenim
                            S
                            sjudenim Supporters @guigirl
                            last edited by

                            @guigirl

                            Thanks

                            Not sure what the issue is then. I tested it on stable and snapshot both clean installs thinking there might be conflict with some other mods. This is what I get

                            GIF 2022-02-19 10-11-02 PM.gif

                            https://github.com/sjudenim

                            guigirl
                            G
                            1 Reply Last reply
                            Reply Quote 0
                            • guigirl
                              G
                              guigirl @sjudenim
                              last edited by

                              @sjudenim Just to ensure we're using the same code.

                              https://forum.vivaldi.net/post/556348

                              sjudenim
                              S
                              1 Reply Last reply
                              Reply Quote 0
                              • sjudenim
                                S
                                sjudenim Supporters @guigirl
                                last edited by

                                @guigirl

                                I'm using the files from the original post.

                                Tried yours and got an invalid url error

                                https://github.com/sjudenim

                                guigirl
                                G
                                1 Reply Last reply
                                Reply Quote 0
                                • NylaTheWolf
                                  N
                                  NylaTheWolf
                                  last edited by

                                  Excuse the dumb question but I'm confused, haha.
                                  260aa002-e9e3-499f-9838-ed48906db897-image.png

                                  So since Vivaldi has built-in support for CSS mods, does that mean that I can create a folder in any directory, add the .CSS file to it, and then select it in the settings? Then again, there's a JavaScript file to this mod as well so maybe not?

                                  Where am I supposed to put the config.json, advancedPanels.css, and advancedPanels.js anyway?

                                  Also the instructions on the GitHub page say to run python3 custom.py -i config.json. Do I need to cd into any directories before doing this?

                                  guigirl
                                  G
                                  1 Reply Last reply
                                  Reply Quote 0
                                  • guigirl
                                    G
                                    guigirl @sjudenim
                                    last edited by

                                    @sjudenim And yet...

                                    67e87b9f-c77b-4629-ab1c-d2a17a1a07bb-image.png

                                    sjudenim
                                    S
                                    1 Reply Last reply
                                    Reply Quote 0
                                    • guigirl
                                      G
                                      guigirl @NylaTheWolf
                                      last edited by

                                      @nylathewolf Have you read https://forum.vivaldi.net/topic/10549/modding-vivaldi?page=1 ?

                                      My interpretation & deployment of the wisdom in that linked thread is more or less this:

                                      43c30993-244e-4afb-9399-01676aa457cb-image.png

                                      plus

                                      this dedicated directory for my fav custom CSS mods [almost all of which are just copied from the wizards in the forum, as i'm too much a dweeb to think of this stuff myself]

                                      archlinuxTower[/SeagateSpare/Vivaldi_Custom_CSS] 11:00:59 Mon Feb 21 $> ls -m
                                      '0. Vivaldi_Custom_CSS  --README--', '1. Modding Vivaldi README', advancedPanels.css, bookmark-bar-font.css, Coloured_Scrollbars.css,
                                      'CustomiseBookmarkButtonDropdownFieldWidth&Height.css', CustomiseSearchButtonDropdownFieldWidth.css, Hide_headerbar_with_Native_Window_active.css,
                                      pinned_tab_styling.css, 'Superseded or otherwise decommissioned', Tabstack_active_tab_thumbnail_highlight.css, Window_panel_contrast.css,
                                      zoom-effect-on-hovered-icons-web-panel-extensions-bookmark-bar.css
                                      

                                      plus

                                      then i have another directory containing my preferred JS & HTML tweaks, with a script to push these to the requisite target /opt/vivaldi-snapshot/resources/vivaldi after each V update.

                                      archlinuxTower[~/VivaldiPatch/MULTI-BOOTS] 11:04:46 Mon Feb 21 $> ls -m
                                      advancedPanels.js, browser.html, custom.js, Follower-Tabs.js, Follower-Tabs.js_README, hooks, 'hooks README', jdhooks.js,
                                      'Modding Notes, & Showing extension icons on the bottom of the browser', PatchVivaldi.sh, 'Superseded stuff', Vivaldi_Custom_CSS, VivaldiHooks-master
                                      

                                      That thread i linked at the top, is essential reading IMO.

                                      1 Reply Last reply Reply Quote 3
                                      • sjudenim
                                        S
                                        sjudenim Supporters @guigirl
                                        last edited by

                                        @guigirl

                                        Strange. What url are you using?

                                        This is what I get using your code

                                        2022-02-20 23.47.02 vivaldi-webui 2a344e98826c.png

                                        https://github.com/sjudenim

                                        guigirl
                                        G
                                        1 Reply Last reply
                                        Reply Quote 0
                                        • guigirl
                                          G
                                          guigirl @sjudenim
                                          last edited by

                                          @sjudenim Here is the verbatim instruction from this mod's creator, @LonM, provided in this thread's inaugural post:

                                          @lonm said in Advanced Panels Mod (with Sessions Panel):

                                          Sessions Panel - Gives you an easy to access list of sessions. You can delete them, open them and create new ones from the panel instead of having to deal with the modal dialog. The mod requires that you first add your own web panel manually, with a URL set to vivaldi://sessions

                                          sjudenim
                                          S
                                          1 Reply Last reply
                                          Reply Quote 1
                                          • sjudenim
                                            S
                                            sjudenim Supporters @guigirl
                                            last edited by sjudenim

                                            @guigirl

                                            That's what I'm using, which is why the page loads with the original code.

                                            GIF 2022-02-21 11-28-50 AM.gif

                                            https://github.com/sjudenim

                                            LonM
                                            L
                                            1 Reply Last reply
                                            Reply Quote 0
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            • 1
                                            • 2
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 9 / 10
                                            • First post
                                              Last post

                                            Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.

                                            Copyright © Vivaldi Technologies™ — All rights reserved. Privacy Policy | Code of conduct | Terms of use | Vivaldi Status